Mercurial > public > mercurial-scm > hg
diff hgext/keyword.py @ 29055:4a65c9c6cd3f
keyword: replace use of _filerev with _filenode
To be independent of rev numbers.
Analogous to ba8257cb53e8.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Tue, 19 Apr 2016 11:00:15 +0100 |
parents | 9a6fa1d93bc8 |
children | a0939666b836 |
line wrap: on
line diff
--- 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