mercurial/localrepo.py
changeset 51030 cd16b6895f62
parent 51029 774c00348f9f
child 51031 a11179fb6bd9
equal deleted inserted replaced
51029:774c00348f9f 51030:cd16b6895f62
  1087     # experimental config: format.chunkcachesize
  1087     # experimental config: format.chunkcachesize
  1088     chunkcachesize = ui.configint(b'format', b'chunkcachesize')
  1088     chunkcachesize = ui.configint(b'format', b'chunkcachesize')
  1089     if chunkcachesize is not None:
  1089     if chunkcachesize is not None:
  1090         data_config.chunk_cache_size = chunkcachesize
  1090         data_config.chunk_cache_size = chunkcachesize
  1091 
  1091 
  1092     deltabothparents = ui.configbool(
  1092     delta_config.delta_both_parents = ui.configbool(
  1093         b'storage', b'revlog.optimize-delta-parent-choice'
  1093         b'storage', b'revlog.optimize-delta-parent-choice'
  1094     )
  1094     )
  1095     options[b'deltabothparents'] = deltabothparents
       
  1096     dps_cgds = ui.configint(
  1095     dps_cgds = ui.configint(
  1097         b'storage',
  1096         b'storage',
  1098         b'revlog.delta-parent-search.candidate-group-chunk-size',
  1097         b'revlog.delta-parent-search.candidate-group-chunk-size',
  1099     )
  1098     )
  1100     options[b'delta-parent-search.candidate-group-chunk-size'] = dps_cgds
  1099     options[b'delta-parent-search.candidate-group-chunk-size'] = dps_cgds