changeset 33004:2529e2ae9f4c

configitems: register 'ui.quiet' as first example We now have a user and this works fine.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 17 Jun 2017 12:33:59 +0200
parents 28a65fd4b359
children 149b68224b08
files mercurial/configitems.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,
+)