Show More
@@ -1089,10 +1089,9 b' def resolverevlogstorevfsoptions(ui, req' | |||||
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', |
@@ -630,8 +630,6 b' class revlog:' | |||||
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'deltabothparents' in opts: |
|
|||
634 | self.delta_config.delta_both_parents = opts[b'deltabothparents'] |
|
|||
635 | dps_cgds = opts.get(b'delta-parent-search.candidate-group-chunk-size') |
|
633 | dps_cgds = opts.get(b'delta-parent-search.candidate-group-chunk-size') | |
636 | if dps_cgds: |
|
634 | if dps_cgds: | |
637 | self.delta_config.candidate_group_chunk_size = dps_cgds |
|
635 | self.delta_config.candidate_group_chunk_size = dps_cgds |
General Comments 0
You need to be logged in to leave comments.
Login now