diff 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
line wrap: on
line diff
--- 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,
 )