experimental.updatecheck was renamed into commands.update.check, use the
config system to provides the fallback on the old config name instead of
adding more code.
Details
Details
- Reviewers
durin42 ryanmce - Group Reviewers
hg-reviewers - Commits
- rHGc4a0480d1951: config: simplify aliasing commands.update.check
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/configitems.py | ||
---|---|---|
184 | Please add the comment that this alias should be discarded post-4.4? |
Comment Actions
I've added the comment, but I think we should keep the alias until we have a way to warn people they use deprecated config aliases.
Comment Actions
I agree with @lothiraldan that there's no pressing need to remove aliases, and we should have a mechanism to work before we do this for sure.
This seems like exactly one of the reasons the config registration system was built in the first place -- to permanently (or semi-permanently at least) forward old configs to new ones, to allow smooth config upgrade paths.
I'll queue this as-is but I think we should not necessarily drop this in the future.
Please add the comment that this alias should be discarded post-4.4?