equal
deleted
inserted
replaced
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 |