Show More
@@ -1087,7 +1087,7 b' def resolverevlogstorevfsoptions(ui, req' | |||||
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 |
|
|
1090 | data_config.chunk_cache_size = chunkcachesize | |
1091 |
|
1091 | |||
1092 | deltabothparents = ui.configbool( |
|
1092 | deltabothparents = ui.configbool( | |
1093 | b'storage', b'revlog.optimize-delta-parent-choice' |
|
1093 | b'storage', b'revlog.optimize-delta-parent-choice' |
@@ -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'chunkcachesize' in opts: |
|
|||
632 | self.data_config.chunk_cache_size = opts[b'chunkcachesize'] |
|
|||
633 | if b'maxchainlen' in opts: |
|
631 | if b'maxchainlen' in opts: | |
634 | self.delta_config.max_chain_len = opts[b'maxchainlen'] |
|
632 | self.delta_config.max_chain_len = opts[b'maxchainlen'] | |
635 | if b'deltabothparents' in opts: |
|
633 | if b'deltabothparents' in opts: |
General Comments 0
You need to be logged in to leave comments.
Login now