Show More
@@ -1107,10 +1107,10 b' def resolverevlogstorevfsoptions(ui, req' | |||||
1107 | lazydeltabase = ui.configbool( |
|
1107 | lazydeltabase = ui.configbool( | |
1108 | b'storage', b'revlog.reuse-external-delta-parent' |
|
1108 | b'storage', b'revlog.reuse-external-delta-parent' | |
1109 | ) |
|
1109 | ) | |
1110 | if lazydeltabase is None: |
|
1110 | if lazydeltabase is None: | |
1111 | lazydeltabase = not scmutil.gddeltaconfig(ui) |
|
1111 | lazydeltabase = not scmutil.gddeltaconfig(ui) | |
1112 | options[b'lazydelta'] = lazydelta |
|
1112 | delta_config.lazy_delta = lazydelta | |
1113 |
|
|
1113 | delta_config.lazy_delta_base = lazydeltabase | |
1114 |
|
1114 | |||
1115 | chainspan = ui.configbytes(b'experimental', b'maxdeltachainspan') |
|
1115 | chainspan = ui.configbytes(b'experimental', b'maxdeltachainspan') | |
1116 | if 0 <= chainspan: |
|
1116 | if 0 <= chainspan: |
@@ -630,10 +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'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 |
General Comments 0
You need to be logged in to leave comments.
Login now