diff mercurial/filelog.py @ 2915:21631c2c09a5

filelog.cmp: return 0 for equality spotted by Alexis Carvalho
author Matt Mackall <mpm@selenic.com>
date Tue, 15 Aug 2006 16:28:00 -0500
parents 5df3e5cf16bc
children db397c38005d
line wrap: on
line diff
--- a/mercurial/filelog.py
+++ b/mercurial/filelog.py
@@ -71,7 +71,7 @@ class filelog(revlog):
         # for renames, we have to go the slow way
         if self.renamed(node):
             t2 = self.read(node)
-            return t2 == text
+            return t2 != text
 
         return revlog.cmp(self, node, text)