##// 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 Returns the first acceptable candidate revision, as ordered by
738 Returns the first acceptable candidate revision, as ordered by
739 _getcandidaterevs
739 _getcandidaterevs
740 """
740 """
741 if not revinfo.textlen:
742 return None # empty file do not need delta
743
741 cachedelta = revinfo.cachedelta
744 cachedelta = revinfo.cachedelta
742 p1 = revinfo.p1
745 p1 = revinfo.p1
743 p2 = revinfo.p2
746 p2 = revinfo.p2
General Comments 0
You need to be logged in to leave comments. Login now