mercurial/revlog.py
changeset 51029 774c00348f9f
parent 51028 133f5a54ed9d
child 51030 cd16b6895f62
equal deleted inserted replaced
51028:133f5a54ed9d 51029:774c00348f9f
   626         elif b'revlogv0' in self.opener.options:
   626         elif b'revlogv0' in self.opener.options:
   627             new_header = REVLOGV0
   627             new_header = REVLOGV0
   628         else:
   628         else:
   629             new_header = REVLOG_DEFAULT_VERSION
   629             new_header = REVLOG_DEFAULT_VERSION
   630 
   630 
   631         if b'chunkcachesize' in opts:
       
   632             self.data_config.chunk_cache_size = opts[b'chunkcachesize']
       
   633         if b'maxchainlen' in opts:
   631         if b'maxchainlen' in opts:
   634             self.delta_config.max_chain_len = opts[b'maxchainlen']
   632             self.delta_config.max_chain_len = opts[b'maxchainlen']
   635         if b'deltabothparents' in opts:
   633         if b'deltabothparents' in opts:
   636             self.delta_config.delta_both_parents = opts[b'deltabothparents']
   634             self.delta_config.delta_both_parents = opts[b'deltabothparents']
   637         dps_cgds = opts.get(b'delta-parent-search.candidate-group-chunk-size')
   635         dps_cgds = opts.get(b'delta-parent-search.candidate-group-chunk-size')