mercurial/revlog.py
branchstable
changeset 11539 a463e3c50212
parent 11323 d65b74106113
child 11550 14e90cc3a296
child 11754 6ccd130eab0e
--- a/mercurial/revlog.py	Fri Jul 09 11:59:48 2010 +0900
+++ b/mercurial/revlog.py	Fri Jul 09 11:02:39 2010 +0900
@@ -943,7 +943,10 @@
         raise LookupError(id, self.indexfile, _('no match found'))
 
     def cmp(self, node, text):
-        """compare text with a given file revision"""
+        """compare text with a given file revision
+
+        returns True if text is different than what is stored.
+        """
         p1, p2 = self.parents(node)
         return hash(text, p1, p2) != node