Mercurial > public > mercurial-scm > hg-stable
diff mercurial/fileset.py @ 17367:ce625185cfd9 stable
fileset: matchctx.existing() must consider ignored files
When running:
$ hg debugfileset 'binary() and ignored()'
getfileset() was correctly retrieving ignored files but
matchctx.existing() was not taking them in account. Just add them along
with unknown files.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Wed, 15 Aug 2012 22:29:32 +0200 |
parents | 04c65cb59467 |
children | 01cc267fc105 |
line wrap: on
line diff
--- a/mercurial/fileset.py Wed Aug 15 22:29:09 2012 +0200 +++ b/mercurial/fileset.py Wed Aug 15 22:29:32 2012 +0200 @@ -432,7 +432,7 @@ def existing(self): if self._status is not None: removed = set(self._status[3]) - unknown = set(self._status[4]) + unknown = set(self._status[4] + self._status[5]) else: removed = set() unknown = set()