# HG changeset patch # User Matt Mackall # Date 2006-08-15 21:28:00 # Node ID 21631c2c09a5f8a48a3c17091b17b327fd6db19d # Parent f28f4c850cd84cc1b0ac9a8c45451b1081001e46 filelog.cmp: return 0 for equality spotted by Alexis Carvalho diff --git a/mercurial/filelog.py b/mercurial/filelog.py --- 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)