mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
Fix bug involving "hg debugwalk -Ipattern" from repository root.
This commit is contained in:
parent
de43775de3
commit
0b40afa588
@ -502,6 +502,7 @@ class dirstate:
|
||||
for dir, subdirs, fl in os.walk(f):
|
||||
d = dir[len(self.root) + 1:]
|
||||
nd = util.normpath(d)
|
||||
if nd == '.': nd = ''
|
||||
if seen(nd):
|
||||
subdirs[:] = []
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user