filelog.cmp: return 0 for equality
authorMatt Mackall <mpm@selenic.com>
Tue, 15 Aug 2006 16:28:00 -0500
changeset 2895 21631c2c09a5
parent 2894 f28f4c850cd8
child 2896 834e147842d7
filelog.cmp: return 0 for equality spotted by Alexis Carvalho
mercurial/filelog.py
--- a/mercurial/filelog.py	Tue Aug 15 16:27:19 2006 -0500
+++ b/mercurial/filelog.py	Tue Aug 15 16:28:00 2006 -0500
@@ -71,7 +71,7 @@
         # 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)