Show More
@@ -542,7 +542,7 b' class changectx(basectx):' | |||||
542 | return |
|
542 | return | |
543 | match.bad(fn, _('no such file in rev %s') % self) |
|
543 | match.bad(fn, _('no such file in rev %s') % self) | |
544 |
|
544 | |||
545 | m = matchmod.badmatch(match, bad) |
|
545 | m = matchmod.badmatch(self._repo.narrowmatch(match), bad) | |
546 | return self._manifest.walk(m) |
|
546 | return self._manifest.walk(m) | |
547 |
|
547 | |||
548 | def matches(self, match): |
|
548 | def matches(self, match): | |
@@ -1168,7 +1168,7 b' class committablectx(basectx):' | |||||
1168 |
|
1168 | |||
1169 | def walk(self, match): |
|
1169 | def walk(self, match): | |
1170 | '''Generates matching file names.''' |
|
1170 | '''Generates matching file names.''' | |
1171 | return sorted(self._repo.dirstate.walk(match, |
|
1171 | return sorted(self._repo.dirstate.walk(self._repo.narrowmatch(match), | |
1172 | subrepos=sorted(self.substate), |
|
1172 | subrepos=sorted(self.substate), | |
1173 | unknown=True, ignored=False)) |
|
1173 | unknown=True, ignored=False)) | |
1174 |
|
1174 |
@@ -91,8 +91,6 b' Can commit changes inside. Leaves outsid' | |||||
91 | created new head |
|
91 | created new head | |
92 | $ hg files -r . |
|
92 | $ hg files -r . | |
93 | inside/f1 |
|
93 | inside/f1 | |
94 | outside/f1 (flat !) |
|
|||
95 | outside/ (tree !) |
|
|||
96 | $ hg manifest --debug |
|
94 | $ hg manifest --debug | |
97 | 3f4197b4a11b9016e77ebc47fe566944885fd11b 644 inside/f1 |
|
95 | 3f4197b4a11b9016e77ebc47fe566944885fd11b 644 inside/f1 | |
98 | 7fb3bb6356d28d4dc352c5ba52d7350a81b6bd46 644 outside/f1 (flat !) |
|
96 | 7fb3bb6356d28d4dc352c5ba52d7350a81b6bd46 644 outside/f1 (flat !) |
General Comments 0
You need to be logged in to leave comments.
Login now