changeset 28116 | ba8257cb53e8 |
parent 28017 | d3f1b7ee5e70 |
child 28306 | 1778770e1982 |
--- a/mercurial/context.py Wed Feb 03 15:53:48 2016 -0800 +++ b/mercurial/context.py Mon Feb 08 14:17:11 2016 -0800 @@ -789,7 +789,7 @@ if fctx._customcmp: return fctx.cmp(self) - if (fctx._filerev is None + if (fctx._filenode is None and (self._repo._encodefilterpats # if file data starts with '\1\n', empty metadata block is # prepended, which adds 4 bytes to filelog.size().