##// END OF EJS Templates
revlog: skip opener options to pass max_chain_len...
marmoute -
r51931:8228e8dd default
parent child Browse files
Show More
@@ -1140,7 +1140,7 b' def resolverevlogstorevfsoptions(ui, req'
1140 # experimental config: format.maxchainlen
1140 # experimental config: format.maxchainlen
1141 maxchainlen = ui.configint(b'format', b'maxchainlen', maxchainlen)
1141 maxchainlen = ui.configint(b'format', b'maxchainlen', maxchainlen)
1142 if maxchainlen is not None:
1142 if maxchainlen is not None:
1143 options[b'maxchainlen'] = maxchainlen
1143 delta_config.max_chain_len = maxchainlen
1144
1144
1145 for r in requirements:
1145 for r in requirements:
1146 # we allow multiple compression engine requirement to co-exist because
1146 # we allow multiple compression engine requirement to co-exist because
@@ -628,8 +628,6 b' class revlog:'
628 else:
628 else:
629 new_header = REVLOG_DEFAULT_VERSION
629 new_header = REVLOG_DEFAULT_VERSION
630
630
631 if b'maxchainlen' in opts:
632 self.delta_config.max_chain_len = opts[b'maxchainlen']
633 if b'compengine' in opts:
631 if b'compengine' in opts:
634 self.feature_config.compression_engine = opts[b'compengine']
632 self.feature_config.compression_engine = opts[b'compengine']
635 comp_engine_opts = self.feature_config.compression_engine_options
633 comp_engine_opts = self.feature_config.compression_engine_options
General Comments 0
You need to be logged in to leave comments. Login now