mercurial/context.py
changeset 27668 369c8f9453c2
parent 27637 b502138f5faa
child 27720 89f49813526c
--- a/mercurial/context.py	Tue Jan 05 20:52:34 2016 -0800
+++ b/mercurial/context.py	Mon Jan 04 09:44:58 2016 -0800
@@ -144,6 +144,8 @@
                 # The file was not a new file in mf2, so an entry
                 # from diff is really a difference.
                 modified.append(fn)
+            elif flag1 != flag2:
+                modified.append(fn)
             elif self[fn].cmp(other[fn]):
                 # node2 was newnode, but the working file doesn't
                 # match the one in mf1.