equal
deleted
inserted
replaced
417 self._lazydeltabase = bool(opts.get('lazydeltabase', False)) |
417 self._lazydeltabase = bool(opts.get('lazydeltabase', False)) |
418 if 'compengine' in opts: |
418 if 'compengine' in opts: |
419 self._compengine = opts['compengine'] |
419 self._compengine = opts['compengine'] |
420 if 'zlib.level' in opts: |
420 if 'zlib.level' in opts: |
421 self._compengineopts['zlib.level'] = opts['zlib.level'] |
421 self._compengineopts['zlib.level'] = opts['zlib.level'] |
|
422 if 'zstd.level' in opts: |
|
423 self._compengineopts['zstd.level'] = opts['zstd.level'] |
422 if 'maxdeltachainspan' in opts: |
424 if 'maxdeltachainspan' in opts: |
423 self._maxdeltachainspan = opts['maxdeltachainspan'] |
425 self._maxdeltachainspan = opts['maxdeltachainspan'] |
424 if self._mmaplargeindex and 'mmapindexthreshold' in opts: |
426 if self._mmaplargeindex and 'mmapindexthreshold' in opts: |
425 mmapindexthreshold = opts['mmapindexthreshold'] |
427 mmapindexthreshold = opts['mmapindexthreshold'] |
426 self._sparserevlog = bool(opts.get('sparse-revlog', False)) |
428 self._sparserevlog = bool(opts.get('sparse-revlog', False)) |