Mercurial > public > mercurial-scm > hg
diff mercurial/configitems.py @ 34805:c4a0480d1951
config: simplify aliasing commands.update.check
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.
Differential Revision: https://phab.mercurial-scm.org/D1117
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 16 Oct 2017 18:58:16 +0200 |
parents | ed91846c29cf |
children | e2ad93bcc084 |
line wrap: on
line diff
--- a/mercurial/configitems.py Wed Oct 04 18:51:21 2017 -0700 +++ b/mercurial/configitems.py Mon Oct 16 18:58:16 2017 +0200 @@ -181,6 +181,8 @@ ) coreconfigitem('commands', 'update.check', default=None, + # Deprecated, remove after 4.4 release + alias=[('experimental', 'updatecheck')] ) coreconfigitem('commands', 'update.requiredest', default=False, @@ -412,10 +414,6 @@ coreconfigitem('experimental', 'treemanifest', default=False, ) -# Deprecated, remove after 4.4 release -coreconfigitem('experimental', 'updatecheck', - default=None, -) coreconfigitem('extensions', '.*', default=None, generic=True,