keyword: replace use of _filerev with _filenode

To be independent of rev numbers.
Analogous to b558712637b8.
This commit is contained in:
Christian Ebert 2016-04-19 11:00:15 +01:00
parent 539d61b5dc
commit 81c2d303c5

View File

@ -735,7 +735,7 @@ def reposetup(ui, repo):
def kwfilectx_cmp(orig, self, fctx):
# keyword affects data size, comparing wdir and filelog size does
# not make sense
if (fctx._filerev is None and
if (fctx._filenode is None and
(self._repo._encodefilterpats or
kwt.match(fctx.path()) and 'l' not in fctx.flags() or
self.size() - 4 == fctx.size()) or