equal
deleted
inserted
replaced
450 self._withsparseread = self._sparserevlog or withsparseread |
450 self._withsparseread = self._sparserevlog or withsparseread |
451 if 'sparse-read-density-threshold' in opts: |
451 if 'sparse-read-density-threshold' in opts: |
452 self._srdensitythreshold = opts['sparse-read-density-threshold'] |
452 self._srdensitythreshold = opts['sparse-read-density-threshold'] |
453 if 'sparse-read-min-gap-size' in opts: |
453 if 'sparse-read-min-gap-size' in opts: |
454 self._srmingapsize = opts['sparse-read-min-gap-size'] |
454 self._srmingapsize = opts['sparse-read-min-gap-size'] |
|
455 if opts.get('enableellipsis'): |
|
456 self._flagprocessors[REVIDX_ELLIPSIS] = ellipsisprocessor |
455 |
457 |
456 if self._chunkcachesize <= 0: |
458 if self._chunkcachesize <= 0: |
457 raise RevlogError(_('revlog chunk cache size %r is not greater ' |
459 raise RevlogError(_('revlog chunk cache size %r is not greater ' |
458 'than 0') % self._chunkcachesize) |
460 'than 0') % self._chunkcachesize) |
459 elif self._chunkcachesize & (self._chunkcachesize - 1): |
461 elif self._chunkcachesize & (self._chunkcachesize - 1): |