hgext/keyword.py
changeset 29055 4a65c9c6cd3f
parent 28694 9a6fa1d93bc8
child 29205 a0939666b836
--- 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