##// END OF EJS Templates
sparse-revlog: only refine delta candidates in the sparse case (issue6006)...
Boris Feld -
r40479:bafa1c4b stable
parent child Browse files
Show More
@@ -646,6 +646,11 b' def _refinedgroups(revlog, p1, p2, cache'
646 if good is not None:
646 if good is not None:
647 break
647 break
648
648
649 # If sparse revlog is enabled, we can try to refine the available deltas
650 if not revlog._sparserevlog:
651 yield None
652 return
653
649 # if we have a refinable value, try to refine it
654 # if we have a refinable value, try to refine it
650 if good is not None and good not in (p1, p2) and revlog.issnapshot(good):
655 if good is not None and good not in (p1, p2) and revlog.issnapshot(good):
651 # refine snapshot down
656 # refine snapshot down
General Comments 0
You need to be logged in to leave comments. Login now