Fix bug involving "hg debugwalk -Ipattern" from repository root.

This commit is contained in:
Bryan O'Sullivan 2005-08-13 15:09:37 -08:00
parent de43775de3
commit 0b40afa588

View File

@ -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