mercurial/filelog.py
changeset 10706 d8d1b56d4519
parent 10705 194342b34870
parent 10704 cfc89fecfe51
child 11539 a463e3c50212
--- a/mercurial/filelog.py	Tue Mar 16 01:16:04 2010 +0100
+++ b/mercurial/filelog.py	Tue Mar 16 01:16:19 2010 +0100
@@ -59,7 +59,7 @@
         """compare text with a given file revision"""
 
         # for renames, we have to go the slow way
-        if self.renamed(node):
+        if text.startswith('\1\n') or self.renamed(node):
             t2 = self.read(node)
             return t2 != text