Show More
@@ -1471,6 +1471,10 b' class revlog(object):' | |||||
1471 | # should we try to build a delta? |
|
1471 | # should we try to build a delta? | |
1472 | if prev != nullrev: |
|
1472 | if prev != nullrev: | |
1473 | tested = set() |
|
1473 | tested = set() | |
|
1474 | # This condition is true most of the time when processing | |||
|
1475 | # changegroup data into a generaldelta repo. The only time it | |||
|
1476 | # isn't true is if this is the first revision in a delta chain | |||
|
1477 | # or if ``format.generaldelta=true`` disabled ``lazydeltabase``. | |||
1474 | if cachedelta and self._generaldelta and self._lazydeltabase: |
|
1478 | if cachedelta and self._generaldelta and self._lazydeltabase: | |
1475 | # Assume what we received from the server is a good choice |
|
1479 | # Assume what we received from the server is a good choice | |
1476 | # build delta will reuse the cache |
|
1480 | # build delta will reuse the cache |
General Comments 0
You need to be logged in to leave comments.
Login now