changeset 2895: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 f28f4c850cd8
children 834e147842d7
files mercurial/filelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)