configitems: register the 'server.bundle1' config

This commit is contained in:
Pierre-Yves David 2017-06-30 03:44:06 +02:00
parent c996e0bf50
commit 548593d9ae
2 changed files with 4 additions and 1 deletions

View File

@ -113,6 +113,9 @@ coreconfigitem('hostsecurity', 'disabletls10warning',
coreconfigitem('patch', 'fuzz',
default=2,
)
coreconfigitem('server', 'bundle1',
default=True,
)
coreconfigitem('ui', 'clonebundleprefers',
default=list,
)

View File

@ -608,7 +608,7 @@ def bundle1allowed(repo, action):
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."""