mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
configitems: register the 'server.bundle1' config
This commit is contained in:
parent
c996e0bf50
commit
548593d9ae
@ -113,6 +113,9 @@ coreconfigitem('hostsecurity', 'disabletls10warning',
|
||||
coreconfigitem('patch', 'fuzz',
|
||||
default=2,
|
||||
)
|
||||
coreconfigitem('server', 'bundle1',
|
||||
default=True,
|
||||
)
|
||||
coreconfigitem('ui', 'clonebundleprefers',
|
||||
default=list,
|
||||
)
|
||||
|
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user