Show More
@@ -297,6 +297,8 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._storedeltachains = True | |||
|
301 | ||||
300 | self._io = revlogio() |
|
302 | self._io = revlogio() | |
301 | if self.version == REVLOGV0: |
|
303 | if self.version == REVLOGV0: | |
302 | self._io = revlogoldio() |
|
304 | self._io = revlogoldio() | |
@@ -1469,7 +1471,7 class revlog(object): | |||||
1469 | textlen = len(text) |
|
1471 | textlen = len(text) | |
1470 |
|
1472 | |||
1471 | # should we try to build a delta? |
|
1473 | # should we try to build a delta? | |
1472 | if prev != nullrev: |
|
1474 | if prev != nullrev and self._storedeltachains: | |
1473 | tested = set() |
|
1475 | tested = set() | |
1474 | # This condition is true most of the time when processing |
|
1476 | # This condition is true most of the time when processing | |
1475 | # 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