diff -r 8e947b0e53cc -r e8ee8fdeddb1 mercurial/localrepo.py --- a/mercurial/localrepo.py Sat Mar 10 23:00:55 2007 -0300 +++ b/mercurial/localrepo.py Sat Mar 10 23:00:57 2007 -0300 @@ -832,6 +832,9 @@ if node: fdict = dict.fromkeys(files) + # for dirstate.walk, files=['.'] means "walk the whole tree". + # follow that here, too + fdict.pop('.', None) mdict = self.manifest.read(self.changelog.read(node)[0]) mfiles = mdict.keys() mfiles.sort()