##// END OF EJS Templates
revlog: skip opener options to pass enable_ellipsis...
marmoute -
r51934:683b96c4 default
parent child Browse files
Show More
@@ -1165,7 +1165,7 b' def resolverevlogstorevfsoptions(ui, req'
1165 feature_config.compression_engine_options[b'zstd.level'] = zstd_level
1165 feature_config.compression_engine_options[b'zstd.level'] = zstd_level
1166
1166
1167 if requirementsmod.NARROW_REQUIREMENT in requirements:
1167 if requirementsmod.NARROW_REQUIREMENT in requirements:
1168 options[b'enableellipsis'] = True
1168 feature_config.enable_ellipsis = True
1169
1169
1170 if ui.configbool(b'experimental', b'rust.index'):
1170 if ui.configbool(b'experimental', b'rust.index'):
1171 options[b'rust.index'] = True
1171 options[b'rust.index'] = True
@@ -644,8 +644,7 b' class revlog:'
644 ]
644 ]
645 if b'sparse-read-min-gap-size' in opts:
645 if b'sparse-read-min-gap-size' in opts:
646 self.data_config.sr_min_gap_size = opts[b'sparse-read-min-gap-size']
646 self.data_config.sr_min_gap_size = opts[b'sparse-read-min-gap-size']
647 if opts.get(b'enableellipsis'):
647 if self.feature_config.enable_ellipsis:
648 self.feature_config.enable_ellipsis = True
649 self._flagprocessors[REVIDX_ELLIPSIS] = ellipsisprocessor
648 self._flagprocessors[REVIDX_ELLIPSIS] = ellipsisprocessor
650
649
651 # revlog v0 doesn't have flag processors
650 # revlog v0 doesn't have flag processors
General Comments 0
You need to be logged in to leave comments. Login now