comparison 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
comparison
equal deleted inserted replaced
2914:f28f4c850cd8 2915:21631c2c09a5
69 """compare text with a given file revision""" 69 """compare text with a given file revision"""
70 70
71 # for renames, we have to go the slow way 71 # for renames, we have to go the slow way
72 if self.renamed(node): 72 if self.renamed(node):
73 t2 = self.read(node) 73 t2 = self.read(node)
74 return t2 == text 74 return t2 != text
75 75
76 return revlog.cmp(self, node, text) 76 return revlog.cmp(self, node, text)
77 77
78 def annotate(self, node): 78 def annotate(self, node):
79 79