changeset 892:f481c9b6786e

Fix bug involving "hg debugwalk -Ipattern" from repository root.
author Bryan O'Sullivan <bos@serpentine.com>
date Sat, 13 Aug 2005 15:09:37 -0800
parents a9b843b114f9
children 36c991554ebb
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Sat Aug 13 14:41:51 2005 -0800
+++ b/mercurial/hg.py	Sat Aug 13 15:09:37 2005 -0800
@@ -502,6 +502,7 @@
                     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