branch | stable |
changeset 27941 | 75fa75d31495 |
parent 27906 | c183f7b79541 |
child 27983 | b7af616ca675 |
--- a/mercurial/context.py Thu Jul 23 23:41:29 2015 +0900 +++ b/mercurial/context.py Mon Jan 25 15:48:35 2016 -0800 @@ -142,7 +142,7 @@ removed.append(fn) elif flag1 != flag2: modified.append(fn) - elif self.rev() is not None: + elif node2 != _newnode: # When comparing files between two commits, we save time by # not comparing the file contents when the nodeids differ. # Note that this means we incorrectly report a reverted change