##// END OF EJS Templates
revlog: improve delta generation heuristics for generaldelta...
Sune Foldager -
r14301:f9499376 default
parent child Browse files
Show More
@@ -1033,7 +1033,12 b' class revlog(object):'
1033 1033 # should we try to build a delta?
1034 1034 if prev != nullrev:
1035 1035 if self._generaldelta:
1036 d = builddelta(p1r)
1036 if p1r >= basecache[1]:
1037 d = builddelta(p1r)
1038 elif p2r >= basecache[1]:
1039 d = builddelta(p2r)
1040 else:
1041 d = builddelta(prev)
1037 1042 else:
1038 1043 d = builddelta(prev)
1039 1044 dist, l, data, base, chainbase = d
General Comments 0
You need to be logged in to leave comments. Login now