Show More
@@ -3549,7 +3549,10 b' def _timeonewrite(' | |||||
3549 | timings = [] |
|
3549 | timings = [] | |
3550 | tr = _faketr() |
|
3550 | tr = _faketr() | |
3551 | with _temprevlog(ui, orig, startrev) as dest: |
|
3551 | with _temprevlog(ui, orig, startrev) as dest: | |
3552 | dest._lazydeltabase = lazydeltabase |
|
3552 | if hasattr(dest, "delta_config"): | |
|
3553 | dest.delta_config.lazy_delta_base = lazydeltabase | |||
|
3554 | else: | |||
|
3555 | dest._lazydeltabase = lazydeltabase | |||
3553 | revs = list(orig.revs(startrev, stoprev)) |
|
3556 | revs = list(orig.revs(startrev, stoprev)) | |
3554 | total = len(revs) |
|
3557 | total = len(revs) | |
3555 | topic = 'adding' |
|
3558 | topic = 'adding' |
@@ -1177,7 +1177,7 b' class deltacomputer:' | |||||
1177 | and self.revlog.length(currentbase) == 0 |
|
1177 | and self.revlog.length(currentbase) == 0 | |
1178 | ): |
|
1178 | ): | |
1179 | currentbase = self.revlog.deltaparent(currentbase) |
|
1179 | currentbase = self.revlog.deltaparent(currentbase) | |
1180 | if self.revlog._lazydelta and currentbase == base: |
|
1180 | if self.revlog.delta_config.lazy_delta and currentbase == base: | |
1181 | delta = revinfo.cachedelta[1] |
|
1181 | delta = revinfo.cachedelta[1] | |
1182 | if delta is None: |
|
1182 | if delta is None: | |
1183 | delta = self._builddeltadiff(base, revinfo) |
|
1183 | delta = self._builddeltadiff(base, revinfo) |
General Comments 0
You need to be logged in to leave comments.
Login now