comparison mercurial/configitems.py @ 33164:cb7140e230c8

config: register the 'devel.all-warnings' config Let us start registering the existing option. I'm starting with the 'devel' section because it is full of useful things that are poorly documented. So registering these will more than other section.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 28 Jun 2017 13:19:40 +0200
parents 77e666f943a6
children 0224820688ac
comparison
equal deleted inserted replaced
33163:5d29c55414b3 33164:cb7140e230c8
54 def getitemregister(configtable): 54 def getitemregister(configtable):
55 return functools.partial(_register, configtable) 55 return functools.partial(_register, configtable)
56 56
57 coreconfigitem = getitemregister(coreitems) 57 coreconfigitem = getitemregister(coreitems)
58 58
59 coreconfigitem('devel', 'all-warnings',
60 default=False,
61 )
59 coreconfigitem('patch', 'fuzz', 62 coreconfigitem('patch', 'fuzz',
60 default=2, 63 default=2,
61 ) 64 )
62 coreconfigitem('ui', 'clonebundleprefers', 65 coreconfigitem('ui', 'clonebundleprefers',
63 default=list, 66 default=list,