Show More
@@ -2514,6 +2514,11 b' class revlog(object):' | |||
|
2514 | 2514 | else: |
|
2515 | 2515 | deltachain = [] |
|
2516 | 2516 | |
|
2517 | # search for the first non-snapshot revision | |
|
2518 | for idx, r in enumerate(deltachain): | |
|
2519 | if not self.issnapshot(r): | |
|
2520 | break | |
|
2521 | deltachain = deltachain[idx:] | |
|
2517 | 2522 | chunks = _slicechunk(self, deltachain, deltainfo) |
|
2518 | 2523 | all_span = [_segmentspan(self, revs, deltainfo) for revs in chunks] |
|
2519 | 2524 | distance = max(all_span) |
General Comments 0
You need to be logged in to leave comments.
Login now