##// END OF EJS Templates
revlog: do not search for delta for empty content...
Boris Feld -
r39120:dbb3e9e4 default
parent child Browse files
Show More
@@ -738,6 +738,9 b' class _deltacomputer(object):'
738 738 Returns the first acceptable candidate revision, as ordered by
739 739 _getcandidaterevs
740 740 """
741 if not revinfo.textlen:
742 return None # empty file do not need delta
743
741 744 cachedelta = revinfo.cachedelta
742 745 p1 = revinfo.p1
743 746 p2 = revinfo.p2
General Comments 0
You need to be logged in to leave comments. Login now