mercurial/hg.py
changeset 548 e2e963e255fd
parent 547 4fc63e22b1fe
child 553 f2442a6a5893
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -711,8 +711,8 @@ class localrepository:
                     # do a full compare of any files that might have changed
                     change = self.changelog.read(self.dirstate.parents()[0])
                     mf1 = self.manifest.read(change[0])
-                    for f in lookup:
-                        if fcmp(f, mf):
+                    for f in l:
+                        if fcmp(f, mf1):
                             c.append(f)
                 return (c, a, d, u)