# HG changeset patch # User Christian Ebert # Date 1461060015 -3600 # Node ID 4a65c9c6cd3fdd8e56a366dd16a8bc138f2e0ad6 # Parent acc4c6070f3124a2e7aaf9c3f5f6db6fefbdbfec keyword: replace use of _filerev with _filenode To be independent of rev numbers. Analogous to ba8257cb53e8. diff -r acc4c6070f31 -r 4a65c9c6cd3f hgext/keyword.py --- a/hgext/keyword.py Tue May 03 10:41:17 2016 -0500 +++ b/hgext/keyword.py Tue Apr 19 11:00:15 2016 +0100 @@ -735,7 +735,7 @@ 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