Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 48792:8bbb1abb9d19
tracked-file: rename the format option to use `use-`
This is more consistent with the other options.
Differential Revision: https://phab.mercurial-scm.org/D12200
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 17 Feb 2022 06:41:54 +0100 |
parents | 79a967128055 |
children | 6e559391f96e |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Feb 17 06:35:42 2022 +0100 +++ b/mercurial/localrepo.py Thu Feb 17 06:41:54 2022 +0100 @@ -3695,10 +3695,10 @@ else: requirements.add(requirementsmod.SHARED_REQUIREMENT) - if ui.configbool(b'format', b'dirstate-tracked-key'): - version = ui.configint(b'format', b'dirstate-tracked-key.version') + if ui.configbool(b'format', b'use-dirstate-tracked-key'): + version = ui.configint(b'format', b'use-dirstate-tracked-key.version') msg = _("ignoring unknown tracked key version: %d\n") - hint = _("see `hg help config.format.exp-dirstate-tracked-key-version") + hint = _("see `hg help config.format.use-dirstate-tracked-key-version") if version != 1: ui.warn(msg % version, hint=hint) else: