configitems: register the 'server.bundle1' config
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 30 Jun 2017 03:44:06 +0200
changeset 33219 ffb1d0f541f5
parent 33218 24f3ff50736d
child 33220 40861b2254a5
configitems: register the 'server.bundle1' config
mercurial/configitems.py
mercurial/wireproto.py
--- a/mercurial/configitems.py	Fri Jun 30 03:42:43 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:44:06 2017 +0200
@@ -113,6 +113,9 @@
 coreconfigitem('patch', 'fuzz',
     default=2,
 )
+coreconfigitem('server', 'bundle1',
+    default=True,
+)
 coreconfigitem('ui', 'clonebundleprefers',
     default=list,
 )
--- a/mercurial/wireproto.py	Fri Jun 30 03:42:43 2017 +0200
+++ b/mercurial/wireproto.py	Fri Jun 30 03:44:06 2017 +0200
@@ -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."""