Mercurial > hg
comparison mercurial/localrepo.py @ 43167:bca9d1a6c4c5
sidedata: rename the configuration option to `exp-use-side-data`
We don't want setup configured to use the final version that would end using the
experimental one while using and older version.
Differential Revision: https://phab.mercurial-scm.org/D7040
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 10 Oct 2019 04:34:58 +0200 |
parents | beed7ce61681 |
children | 6ceb3721e203 |
comparison
equal
deleted
inserted
replaced
43166:a5b04863dbff | 43167:bca9d1a6c4c5 |
---|---|
3524 if scmutil.gdinitconfig(ui): | 3524 if scmutil.gdinitconfig(ui): |
3525 requirements.add(b'generaldelta') | 3525 requirements.add(b'generaldelta') |
3526 if ui.configbool(b'format', b'sparse-revlog'): | 3526 if ui.configbool(b'format', b'sparse-revlog'): |
3527 requirements.add(SPARSEREVLOG_REQUIREMENT) | 3527 requirements.add(SPARSEREVLOG_REQUIREMENT) |
3528 | 3528 |
3529 # experimental config: format.use-side-data | 3529 # experimental config: format.exp-use-side-data |
3530 if ui.configbool(b'format', b'use-side-data'): | 3530 if ui.configbool(b'format', b'exp-use-side-data'): |
3531 requirements.add(SIDEDATA_REQUIREMENT) | 3531 requirements.add(SIDEDATA_REQUIREMENT) |
3532 # experimental config: format.exp-use-copies-side-data-changeset | 3532 # experimental config: format.exp-use-copies-side-data-changeset |
3533 if ui.configbool(b'format', b'exp-use-copies-side-data-changeset'): | 3533 if ui.configbool(b'format', b'exp-use-copies-side-data-changeset'): |
3534 requirements.add(SIDEDATA_REQUIREMENT) | 3534 requirements.add(SIDEDATA_REQUIREMENT) |
3535 requirements.add(COPIESSDC_REQUIREMENT) | 3535 requirements.add(COPIESSDC_REQUIREMENT) |