Mercurial > hg > mercurial-source
changeset 34002:ffb1d0f541f5
configitems: register the 'server.bundle1' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:44:06 +0200 |
parents | 24f3ff50736d |
children | 40861b2254a5 |
files | mercurial/configitems.py mercurial/wireproto.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -113,6 +113,9 @@ coreconfigitem('patch', 'fuzz', default=2, ) +coreconfigitem('server', 'bundle1', + default=True, +) coreconfigitem('ui', 'clonebundleprefers', default=list, )
--- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -608,7 +608,7 @@ if v is not None: return v - return ui.configbool('server', 'bundle1', True) + return ui.configbool('server', 'bundle1') def supportedcompengines(ui, proto, role): """Obtain the list of supported compression engines for a request."""