Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 38227:f715faeaceee
config: rename allow_archive to allow-archive
As part of ConfigConsolidationPlan [1], rename the option according to
the new UI guidelines [2] and add an alias for backward compatibility.
[1]: https://www.mercurial-scm.org/wiki/ConfigConsolidationPlan
[2]: https://www.mercurial-scm.org/wiki/UIGuideline#adding_new_options
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 14 May 2018 12:38:05 +0200 |
parents | 18424aeece7f |
children | ee1f052b45ef |
line wrap: on
line diff
--- a/mercurial/configitems.py Sat Apr 21 17:31:03 2018 +0900 +++ b/mercurial/configitems.py Mon May 14 12:38:05 2018 +0200 @@ -1225,7 +1225,8 @@ coreconfigitem('web', 'address', default='', ) -coreconfigitem('web', 'allow_archive', +coreconfigitem('web', 'allow-archive', + alias=[('web', 'allow_archive')], default=list, ) coreconfigitem('web', 'allow_read',