mercurial/context.py
changeset 12709 4147a292c508
parent 12361 2754c8273132
child 12731 95514b58709d
--- a/mercurial/context.py	Sun Oct 10 18:58:45 2010 +0200
+++ b/mercurial/context.py	Tue Jul 27 23:07:30 2010 +0900
@@ -357,6 +357,9 @@
 
         returns True if different than fctx.
         """
+        if not self._repo._encodefilterpats and self.size() != fctx.size():
+            return True
+
         return self._filelog.cmp(self._filenode, fctx.data())
 
     def renamed(self):