diff mercurial/dirstate.py @ 4173:b36bd7534c08

statwalk: don't put self.root in the files list That list is supposed to contain internal, normalized names ("/"-separated, relative to the repo root), not OS-native paths.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 10 Mar 2007 22:03:22 -0300
parents 31a679ae7eef
children ba51a8225a60 dd0d9bd91e0a 7e1c8a565a4f
line wrap: on
line diff
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -376,7 +376,7 @@ class dirstate(object):
 
         # walk all files by default
         if not files:
-            files = [self.root]
+            files = ['.']
             dc = self.map.copy()
         else:
             files = util.unique(files)