Show More
@@ -1427,7 +1427,12 b' class revlog(object):' | |||
|
1427 | 1427 | if cachedelta and self._generaldelta and self._lazydeltabase: |
|
1428 | 1428 | # Assume what we received from the server is a good choice |
|
1429 | 1429 | # build delta will reuse the cache |
|
1430 | delta = builddelta(cachedelta[0]) | |
|
1430 | candidatedelta = builddelta(cachedelta[0]) | |
|
1431 | if self._isgooddelta(candidatedelta, textlen): | |
|
1432 | delta = candidatedelta | |
|
1433 | elif prev != candidatedelta[3]: | |
|
1434 | # Try against prev to hopefully save us a fulltext. | |
|
1435 | delta = builddelta(prev) | |
|
1431 | 1436 | elif self._generaldelta: |
|
1432 | 1437 | if p2r != nullrev and self._aggressivemergedeltas: |
|
1433 | 1438 | delta = builddelta(p1r) |
General Comments 0
You need to be logged in to leave comments.
Login now