configitems: register 'ui.quiet' as first example
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 17 Jun 2017 12:33:59 +0200
changeset 33004 2529e2ae9f4c
parent 33003 28a65fd4b359
child 33005 149b68224b08
configitems: register 'ui.quiet' as first example We now have a user and this works fine.
mercurial/configitems.py
--- a/mercurial/configitems.py	Sat Jun 17 12:15:28 2017 +0200
+++ b/mercurial/configitems.py	Sat Jun 17 12:33:59 2017 +0200
@@ -33,3 +33,9 @@
         msg = "duplicated config item registration for '%s.%s'"
         raise error.ProgrammingError(msg % (item.section, item.name))
     section[item.name] = item
+
+# Registering actual config items
+
+coreconfigitem('ui', 'quiet',
+    default=False,
+)