##// END OF EJS Templates
revlog: only consider the span of the delta section...
Paul Morelle -
r39193:a98e926b default
parent child Browse files
Show More
@@ -2514,6 +2514,11 b' class revlog(object):'
2514 else:
2514 else:
2515 deltachain = []
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 chunks = _slicechunk(self, deltachain, deltainfo)
2522 chunks = _slicechunk(self, deltachain, deltainfo)
2518 all_span = [_segmentspan(self, revs, deltainfo) for revs in chunks]
2523 all_span = [_segmentspan(self, revs, deltainfo) for revs in chunks]
2519 distance = max(all_span)
2524 distance = max(all_span)
General Comments 0
You need to be logged in to leave comments. Login now