diff -r 40554705117d -r 93ced643068d hgkw/keyword.py --- a/hgkw/keyword.py Wed Jan 18 16:46:15 2012 +0100 +++ b/hgkw/keyword.py Thu Jan 19 02:01:05 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