Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireproto.py @ 34613:5e61cd5fb0fc
configitems: register the 'server.bundle*' family of config
All these config use the same function specifying a default value. We need to
register them all at the same time.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 17:51:40 +0200 |
parents | 10e162bb9bf5 |
children | daf12f69699f |
line wrap: on
line diff
--- a/mercurial/wireproto.py Wed Oct 11 04:16:17 2017 +0200 +++ b/mercurial/wireproto.py Wed Oct 11 17:51:40 2017 +0200 @@ -595,11 +595,11 @@ gd = 'generaldelta' in repo.requirements if gd: - v = ui.configbool('server', 'bundle1gd.%s' % action, None) + v = ui.configbool('server', 'bundle1gd.%s' % action) if v is not None: return v - v = ui.configbool('server', 'bundle1.%s' % action, None) + v = ui.configbool('server', 'bundle1.%s' % action) if v is not None: return v