mercurial/revlog.py
changeset 42044 bb271ec2fbfb
parent 42043 1fac9b931d46
child 42446 055c3e2c44f0
equal deleted inserted replaced
42043:1fac9b931d46 42044:bb271ec2fbfb
   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))