mercurial/revlog.py
changeset 51033 83ce99f5e7f2
parent 51032 6ccb07b9eeeb
child 51034 d900f74456cc
equal deleted inserted replaced
51032:6ccb07b9eeeb 51033:83ce99f5e7f2
   628         else:
   628         else:
   629             new_header = REVLOG_DEFAULT_VERSION
   629             new_header = REVLOG_DEFAULT_VERSION
   630 
   630 
   631         if b'maxchainlen' in opts:
   631         if b'maxchainlen' in opts:
   632             self.delta_config.max_chain_len = opts[b'maxchainlen']
   632             self.delta_config.max_chain_len = opts[b'maxchainlen']
   633         if b'lazydelta' in opts:
       
   634             self.delta_config.lazy_delta = bool(opts[b'lazydelta'])
       
   635         if self._lazydelta and b'lazydeltabase' in opts:
       
   636             self.delta_config.lazy_delta_base = opts[b'lazydeltabase']
       
   637         if b'compengine' in opts:
   633         if b'compengine' in opts:
   638             self.feature_config.compression_engine = opts[b'compengine']
   634             self.feature_config.compression_engine = opts[b'compengine']
   639         comp_engine_opts = self.feature_config.compression_engine_options
   635         comp_engine_opts = self.feature_config.compression_engine_options
   640         if b'zlib.level' in opts:
   636         if b'zlib.level' in opts:
   641             comp_engine_opts[b'zlib.level'] = opts[b'zlib.level']
   637             comp_engine_opts[b'zlib.level'] = opts[b'zlib.level']