changeset 4172: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 1df1baf2002e
children 7307d2e98b32
files mercurial/dirstate.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Sat Mar 10 22:03:21 2007 -0300
+++ b/mercurial/dirstate.py	Sat Mar 10 22:03:22 2007 -0300
@@ -376,7 +376,7 @@
 
         # walk all files by default
         if not files:
-            files = [self.root]
+            files = ['.']
             dc = self.map.copy()
         else:
             files = util.unique(files)