##// END OF EJS Templates
fileset: matchctx.existing() must consider ignored files...
Patrick Mezard -
r17367:ce625185 stable
parent child Browse files
Show More
@@ -432,7 +432,7 b' class matchctx(object):'
432 def existing(self):
432 def existing(self):
433 if self._status is not None:
433 if self._status is not None:
434 removed = set(self._status[3])
434 removed = set(self._status[3])
435 unknown = set(self._status[4])
435 unknown = set(self._status[4] + self._status[5])
436 else:
436 else:
437 removed = set()
437 removed = set()
438 unknown = set()
438 unknown = set()
@@ -82,6 +82,9 b' Test files properties'
82 $ fileset 'binary()'
82 $ fileset 'binary()'
83 $ fileset 'binary() and unknown()'
83 $ fileset 'binary() and unknown()'
84 bin
84 bin
85 $ echo '^bin$' >> .hgignore
86 $ fileset 'binary() and ignored()'
87 bin
85 $ hg add bin
88 $ hg add bin
86 $ fileset 'binary()'
89 $ fileset 'binary()'
87 bin
90 bin
General Comments 0
You need to be logged in to leave comments. Login now