Show More
@@ -267,7 +267,7 b' class changelog(revlog.revlog):' | |||||
267 | # Delta chains for changelogs tend to be very small because entries |
|
267 | # Delta chains for changelogs tend to be very small because entries | |
268 | # tend to be small and don't delta well with each. So disable delta |
|
268 | # tend to be small and don't delta well with each. So disable delta | |
269 | # chains. |
|
269 | # chains. | |
270 |
self. |
|
270 | self.storedeltachains = False | |
271 |
|
271 | |||
272 | self._realopener = opener |
|
272 | self._realopener = opener | |
273 | self._delayed = False |
|
273 | self._delayed = False |
@@ -297,7 +297,7 b' class revlog(object):' | |||||
297 | raise RevlogError(_("index %s unknown format %d") |
|
297 | raise RevlogError(_("index %s unknown format %d") | |
298 | % (self.indexfile, fmt)) |
|
298 | % (self.indexfile, fmt)) | |
299 |
|
299 | |||
300 |
self. |
|
300 | self.storedeltachains = True | |
301 |
|
301 | |||
302 | self._io = revlogio() |
|
302 | self._io = revlogio() | |
303 | if self.version == REVLOGV0: |
|
303 | if self.version == REVLOGV0: | |
@@ -1471,7 +1471,7 b' class revlog(object):' | |||||
1471 | textlen = len(text) |
|
1471 | textlen = len(text) | |
1472 |
|
1472 | |||
1473 | # should we try to build a delta? |
|
1473 | # should we try to build a delta? | |
1474 |
if prev != nullrev and self. |
|
1474 | if prev != nullrev and self.storedeltachains: | |
1475 | tested = set() |
|
1475 | tested = set() | |
1476 | # This condition is true most of the time when processing |
|
1476 | # This condition is true most of the time when processing | |
1477 | # changegroup data into a generaldelta repo. The only time it |
|
1477 | # changegroup data into a generaldelta repo. The only time it |
General Comments 0
You need to be logged in to leave comments.
Login now