##// END OF EJS Templates
filelog: text is stored modified when it starts with '\1\n'
Benoit Boissinot -
r10704:cfc89fec stable
parent child Browse files
Show More
@@ -61,7 +61,7 b' class filelog(revlog.revlog):'
61 """compare text with a given file revision"""
61 """compare text with a given file revision"""
62
62
63 # for renames, we have to go the slow way
63 # for renames, we have to go the slow way
64 if self.renamed(node):
64 if text.startswith('\1\n') or self.renamed(node):
65 t2 = self.read(node)
65 t2 = self.read(node)
66 return t2 != text
66 return t2 != text
67
67
General Comments 0
You need to be logged in to leave comments. Login now