Submitter | Martin von Zweigbergk |
---|---|
Date | Jan. 26, 2016, 12:02 a.m. |
Message ID | <14c76a66188ab9b58223.1453766541@waste.org> |
Download | mbox | patch |
Permalink | /patch/12888/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -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