##// END OF EJS Templates
revlog: add instance variable controlling delta chain use...
Gregory Szorc -
r30154:5e72129d default
parent child Browse files
Show More
@@ -297,6 +297,8 b' class revlog(object):'
297 297 raise RevlogError(_("index %s unknown format %d")
298 298 % (self.indexfile, fmt))
299 299
300 self._storedeltachains = True
301
300 302 self._io = revlogio()
301 303 if self.version == REVLOGV0:
302 304 self._io = revlogoldio()
@@ -1469,7 +1471,7 b' class revlog(object):'
1469 1471 textlen = len(text)
1470 1472
1471 1473 # should we try to build a delta?
1472 if prev != nullrev:
1474 if prev != nullrev and self._storedeltachains:
1473 1475 tested = set()
1474 1476 # This condition is true most of the time when processing
1475 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