Mercurial > hg
changeset 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 | acc4c6070f31 |
children | e2178f7d17c0 |
files | hgext/keyword.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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