# HG changeset patch # User Pierre-Yves David # Date 2017-06-30 01:44:07 # Node ID 40861b2254a59413c7450f868e5bf66441bf92f4 # Parent ffb1d0f541f5344c39d480caa3c341320c9c610f configitems: register the 'server.bundle1gd' config diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -116,6 +116,9 @@ coreconfigitem('patch', 'fuzz', coreconfigitem('server', 'bundle1', default=True, ) +coreconfigitem('server', 'bundle1gd', + default=None, +) coreconfigitem('ui', 'clonebundleprefers', default=list, ) diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -604,7 +604,7 @@ def bundle1allowed(repo, action): return v if gd: - v = ui.configbool('server', 'bundle1gd', None) + v = ui.configbool('server', 'bundle1gd') if v is not None: return v