mercurial/dirstate.py
changeset 4677 de8ec7e1753a
parent 4657 27a386b96557
child 4903 81078e177266
child 4952 a11921d24ec4
--- a/mercurial/dirstate.py	Thu Jun 21 18:05:14 2007 -0500
+++ b/mercurial/dirstate.py	Thu Jun 21 23:42:06 2007 -0300
@@ -472,8 +472,9 @@
             if type_ == 'n':
                 if not st:
                     st = os.lstat(self.wjoin(fn))
-                if size >= 0 and (size != st.st_size
-                                  or (mode ^ st.st_mode) & 0100):
+                if (size >= 0 and (size != st.st_size
+                                   or (mode ^ st.st_mode) & 0100)
+                    or fn in self._copymap):
                     modified.append(fn)
                 elif time != int(st.st_mtime):
                     lookup.append(fn)