##// END OF EJS Templates
fix incorrect warning when walking on a particular rev...
Benoit Boissinot -
r3019:aebc3f64 default
parent child Browse files
Show More
@@ -641,7 +641,11 b' class localrepository(repo.repository):'
641 if node:
641 if node:
642 fdict = dict.fromkeys(files)
642 fdict = dict.fromkeys(files)
643 for fn in self.manifest.read(self.changelog.read(node)[0]):
643 for fn in self.manifest.read(self.changelog.read(node)[0]):
644 fdict.pop(fn, None)
644 for ffn in fdict:
645 # match if the file is the exact name or a directory
646 if ffn == fn or fn.startswith("%s/" % ffn):
647 del fdict[ffn]
648 break
645 if match(fn):
649 if match(fn):
646 yield 'm', fn
650 yield 'm', fn
647 for fn in fdict:
651 for fn in fdict:
@@ -85,4 +85,8 b' hg revert -rtip'
85 echo % should succeed
85 echo % should succeed
86 hg revert --all -rtip
86 hg revert --all -rtip
87
87
88 echo %% issue332
89 hg ci -A -m b -d '1000001 0'
90 echo foobar > b/b
91 hg revert b
88 true
92 true
@@ -58,3 +58,6 b' 1 files updated, 0 files merged, 0 files'
58 abort: no files or directories specified
58 abort: no files or directories specified
59 % should succeed
59 % should succeed
60 reverting a
60 reverting a
61 %% issue332
62 adding b/b
63 reverting b/b
General Comments 0
You need to be logged in to leave comments. Login now