Show More
@@ -633,6 +633,10 b' def _candidategroups(revlog, textlen, p1' | |||
|
633 | 633 | or deltalength(rev))): |
|
634 | 634 | tested.add(rev) |
|
635 | 635 | rev = deltaparent(rev) |
|
636 | # no need to try a delta against nullrev, this will be done as a | |
|
637 | # last resort. | |
|
638 | if rev == nullrev: | |
|
639 | continue | |
|
636 | 640 | # filter out revision we tested already |
|
637 | 641 | if rev in tested: |
|
638 | 642 | continue |
@@ -640,10 +644,6 b' def _candidategroups(revlog, textlen, p1' | |||
|
640 | 644 | # filter out delta base that will never produce good delta |
|
641 | 645 | if deltas_limit < revlog.length(rev): |
|
642 | 646 | continue |
|
643 | # no need to try a delta against nullrev, this will be done as a | |
|
644 | # last resort. | |
|
645 | if rev == nullrev: | |
|
646 | continue | |
|
647 | 647 | # no delta for rawtext-changing revs (see "candelta" for why) |
|
648 | 648 | if revlog.flags(rev) & REVIDX_RAWTEXT_CHANGING_FLAGS: |
|
649 | 649 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now