changeset 33158: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 5d29c55414b3
children 0224820688ac
files mercurial/configitems.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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,
 )