Mercurial > public > mercurial-scm > hg
diff tests/test-fileset.t @ 17365:8a0513bf030a stable
fileset: exclude deleted files from matchctx.existing()
Running:
$ hg debugfileset 'binary()'
would traceback if there were one deleted file in the working directory.
It happened because matchctx.existing() was filtering files against the
ctx.__contains__() but deleted files are still considered part of
workingctx.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Wed, 15 Aug 2012 21:44:00 +0200 |
parents | 0c41fb2d972a |
children | 04c65cb59467 |
line wrap: on
line diff