Show More
@@ -351,6 +351,7 b' class revlog(object):' | |||
|
351 | 351 | self._maxdeltachainspan = -1 |
|
352 | 352 | self._withsparseread = False |
|
353 | 353 | self._sparserevlog = False |
|
354 | self.hassidedata = False | |
|
354 | 355 | self._srdensitythreshold = 0.50 |
|
355 | 356 | self._srmingapsize = 262144 |
|
356 | 357 | |
@@ -417,7 +418,6 b' class revlog(object):' | |||
|
417 | 418 | self._maxdeltachainspan = opts[b'maxdeltachainspan'] |
|
418 | 419 | if self._mmaplargeindex and b'mmapindexthreshold' in opts: |
|
419 | 420 | mmapindexthreshold = opts[b'mmapindexthreshold'] |
|
420 | self.hassidedata = bool(opts.get(b'side-data', False)) | |
|
421 | 421 | self._sparserevlog = bool(opts.get(b'sparse-revlog', False)) |
|
422 | 422 | withsparseread = bool(opts.get(b'with-sparse-read', False)) |
|
423 | 423 | # sparse-revlog forces sparse-read |
@@ -521,6 +521,8 b' class revlog(object):' | |||
|
521 | 521 | self._inline = False |
|
522 | 522 | # generaldelta implied by version 2 revlogs. |
|
523 | 523 | self._generaldelta = True |
|
524 | # revlog-v2 has built in sidedata support | |
|
525 | self.hassidedata = True | |
|
524 | 526 | |
|
525 | 527 | else: |
|
526 | 528 | msg = _(b'unknown version (%d) in revlog %s') |
General Comments 0
You need to be logged in to leave comments.
Login now