diff -r 15aa105f81e2 -r 91e083fab1a3 hgkw/keyword.py --- a/hgkw/keyword.py Thu Jan 19 01:50:48 2012 +0100 +++ b/hgkw/keyword.py Sun Jan 15 13:37:33 2012 +0100 @@ -680,7 +680,8 @@ # not make sense if (fctx._filerev is None and (self._repo._encodefilterpats or - kwt.match(fctx.path()) and not 'l' in fctx.flags()) or + kwt.match(fctx.path()) and not 'l' in fctx.flags() or + self.size() - 4 == fctx.size()) or self.size() == fctx.size()): return self._filelog.cmp(self._filenode, fctx.data()) return True