merge with stable
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 16 Mar 2010 01:16:19 +0100
changeset 10706 d8d1b56d4519
parent 10705 194342b34870 (current diff)
parent 10704 cfc89fecfe51 (diff)
child 10707 4eaf1b746499
merge with stable
mercurial/filelog.py
--- 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