Show More
@@ -698,6 +698,12 b' def _candidategroups(revlog, textlen, p1' | |||||
698 | # delta lower bound is larger than accepted upper bound |
|
698 | # delta lower bound is larger than accepted upper bound | |
699 | continue |
|
699 | continue | |
700 |
|
700 | |||
|
701 | # check the relative constraint on the delta size | |||
|
702 | revlength = revlog.length(rev) | |||
|
703 | if revlength < lowestrealisticdeltalen: | |||
|
704 | # delta probable lower bound is larger than target base | |||
|
705 | continue | |||
|
706 | ||||
701 | group.append(rev) |
|
707 | group.append(rev) | |
702 | if group: |
|
708 | if group: | |
703 | # XXX: in the sparse revlog case, group can become large, |
|
709 | # XXX: in the sparse revlog case, group can become large, |
General Comments 0
You need to be logged in to leave comments.
Login now