diff -r 7ce8a13b8d77 -r 89f49813526c mercurial/context.py --- a/mercurial/context.py Sat Jan 09 22:58:10 2016 -0800 +++ b/mercurial/context.py Mon Jan 04 10:13:29 2016 -0800 @@ -140,15 +140,9 @@ added.append(fn) elif node2 is None: removed.append(fn) - elif node2 != _newnode: - # 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. modified.append(fn) else: clean.append(fn)