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