equal
deleted
inserted
replaced
1138 if sparserevlog: |
1138 if sparserevlog: |
1139 maxchainlen = revlogconst.SPARSE_REVLOG_MAX_CHAIN_LENGTH |
1139 maxchainlen = revlogconst.SPARSE_REVLOG_MAX_CHAIN_LENGTH |
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 |
1147 # strickly speaking, revlog seems to support mixed compression style. |
1147 # strickly speaking, revlog seems to support mixed compression style. |
1148 # |
1148 # |