##// END OF EJS Templates
snapshot: try to refine new snapshot base down the chain...
Boris Feld -
r39538:e4d4361d default
parent child Browse files
Show More
@@ -647,6 +647,17 b' def _refinedgroups(revlog, p1, p2, cache'
647 good = yield candidates
647 good = yield candidates
648 if good is not None:
648 if good is not None:
649 break
649 break
650
651 # if we have a refinable value, try to refine it
652 if good is not None and good not in (p1, p2) and revlog.issnapshot(good):
653 # refine snapshot down
654 previous = None
655 while previous != good:
656 previous = good
657 base = revlog.deltaparent(good)
658 if base == nullrev:
659 break
660 good = yield (base,)
650 # we have found nothing
661 # we have found nothing
651 yield None
662 yield None
652
663
General Comments 0
You need to be logged in to leave comments. Login now