# HG changeset patch # User Matt Mackall # Date 1155677280 18000 # Node ID 21631c2c09a5f8a48a3c17091b17b327fd6db19d # Parent f28f4c850cd84cc1b0ac9a8c45451b1081001e46 filelog.cmp: return 0 for equality spotted by Alexis Carvalho diff -r f28f4c850cd8 -r 21631c2c09a5 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)