Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/dirstate.py @ 1543:93a9298367e0
Merge with Thomas Waldmann
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 14 Nov 2005 15:09:34 +0100 |
parents | bf4e7ef08741 |
children | 59b3639df0a9 |
line wrap: on
line diff
--- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -213,7 +213,7 @@ class dirstate: unknown = [] for x in files: - if x is '.': + if x == '.': return self.map.copy() if x not in self.map: unknown.append(x) @@ -296,7 +296,6 @@ class dirstate: def walkhelper(self, files, statmatch, dc): # recursion free walker, faster than os.walk. def findfiles(s): - retfiles = [] work = [s] while work: top = work.pop()