# HG changeset patch # User Alexis S. L. Carvalho # Date 1173575002 10800 # Node ID b36bd7534c08eba29307d13e57eceb55c7ea7afd # Parent 1df1baf2002ebae26ffb2037cb4e4948fdaf8947 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. diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- 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)