mercurial/dirstate.py
changeset 1541 bf4e7ef08741
parent 1529 a208e86bbc34
child 1559 59b3639df0a9
--- a/mercurial/dirstate.py	Mon Nov 14 02:30:19 2005 +0200
+++ b/mercurial/dirstate.py	Mon Nov 14 03:59:35 2005 +0200
@@ -213,7 +213,7 @@
         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 @@
     def walkhelper(self, files, statmatch, dc):
         # recursion free walker, faster than os.walk.
         def findfiles(s):
-            retfiles = []
             work = [s]
             while work:
                 top = work.pop()