equal
deleted
inserted
replaced
628 else: |
628 else: |
629 new_header = REVLOG_DEFAULT_VERSION |
629 new_header = REVLOG_DEFAULT_VERSION |
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 |
640 if b'zlib.level' in opts: |
636 if b'zlib.level' in opts: |
641 comp_engine_opts[b'zlib.level'] = opts[b'zlib.level'] |
637 comp_engine_opts[b'zlib.level'] = opts[b'zlib.level'] |