comparison mercurial/configitems.py @ 38215: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
comparison
equal deleted inserted replaced
38214:2aa0217bb655 38215:f715faeaceee
1223 default='-', 1223 default='-',
1224 ) 1224 )
1225 coreconfigitem('web', 'address', 1225 coreconfigitem('web', 'address',
1226 default='', 1226 default='',
1227 ) 1227 )
1228 coreconfigitem('web', 'allow_archive', 1228 coreconfigitem('web', 'allow-archive',
1229 alias=[('web', 'allow_archive')],
1229 default=list, 1230 default=list,
1230 ) 1231 )
1231 coreconfigitem('web', 'allow_read', 1232 coreconfigitem('web', 'allow_read',
1232 default=list, 1233 default=list,
1233 ) 1234 )