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.
--- 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)