mercurial/localrepo.py
changeset 2961 5bb65c3945a3
parent 2887 05257fd28591
child 2965 96d034d02d61
--- a/mercurial/localrepo.py	Sun Aug 20 00:44:53 2006 -0300
+++ b/mercurial/localrepo.py	Sun Aug 20 00:44:54 2006 -0300
@@ -710,8 +710,10 @@
                     for f in lookup:
                         if fcmp(f, mf2):
                             modified.append(f)
-                        elif wlock is not None:
-                            self.dirstate.update([f], "n")
+                        else:
+                            clean.append(f)
+                            if wlock is not None:
+                                self.dirstate.update([f], "n")
             else:
                 # we are comparing working dir against non-parent
                 # generate a pseudo-manifest for the working dir