config: register the 'devel.all-warnings' config
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 28 Jun 2017 13:19:40 +0200
changeset 33158 cb7140e230c8
parent 33157 5d29c55414b3
child 33159 0224820688ac
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.
mercurial/configitems.py
--- a/mercurial/configitems.py	Wed Jun 28 14:53:54 2017 -0700
+++ b/mercurial/configitems.py	Wed Jun 28 13:19:40 2017 +0200
@@ -56,6 +56,9 @@
 
 coreconfigitem = getitemregister(coreitems)
 
+coreconfigitem('devel', 'all-warnings',
+    default=False,
+)
 coreconfigitem('patch', 'fuzz',
     default=2,
 )