Mercurial > hg
changeset 34616:c0dabec35019
configitems: register the 'ui.interface.chunkselector' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 05:36:10 +0200 |
parents | 32166736684e |
children | 4876bf5a36fb |
files | mercurial/configitems.py mercurial/ui.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/configitems.py Wed Oct 11 05:18:20 2017 +0200 +++ b/mercurial/configitems.py Wed Oct 11 05:36:10 2017 +0200 @@ -632,6 +632,9 @@ coreconfigitem('ui', 'interface', default=None, ) +coreconfigitem('ui', 'interface.chunkselector', + default=None, +) coreconfigitem('ui', 'logblockedtimes', default=False, )
--- a/mercurial/ui.py Wed Oct 11 05:18:20 2017 +0200 +++ b/mercurial/ui.py Wed Oct 11 05:36:10 2017 +0200 @@ -1149,7 +1149,7 @@ defaultinterface = i choseninterface = defaultinterface - f = self.config("ui", "interface.%s" % feature, None) + f = self.config("ui", "interface.%s" % feature) if f in availableinterfaces: choseninterface = f