##// END OF EJS Templates
context: make workingctx.matches() filter our removed files (API)...
Martin von Zweigbergk -
r38296:aaed058a default
parent child Browse files
Show More
@@ -1227,7 +1227,8 b' class committablectx(basectx):'
1227 1227 unknown=True, ignored=False))
1228 1228
1229 1229 def matches(self, match):
1230 return sorted(self._repo.dirstate.matches(match))
1230 ds = self._repo.dirstate
1231 return sorted(f for f in ds.matches(match) if ds[f] != 'r')
1231 1232
1232 1233 def ancestors(self):
1233 1234 for p in self._parents:
@@ -4344,6 +4344,12 b' Test files function'
4344 4344
4345 4345 0
4346 4346
4347 $ hg rm a
4348 $ hg log -r "wdir()" -T "{rev}\n{join(files('*'), '\n')}\n"
4349 2147483647
4350 aa
4351 b
4352 $ hg revert a
4347 4353
4348 4354 Test relpath function
4349 4355
General Comments 0
You need to be logged in to leave comments. Login now