Mercurial > hg-stable
diff mercurial/configitems.py @ 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 | 6d983e8af49c |
children | 1d5d7e2b7ab5 |
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, +)