diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -125,6 +125,9 @@ coreconfigitem('server', 'compressioneng coreconfigitem('server', 'concurrent-push-mode', default='strict', ) +coreconfigitem('server', 'disablefullbundle', + default=False, +) coreconfigitem('ui', 'clonebundleprefers', default=list, ) diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -842,7 +842,7 @@ def getbundle(repo, proto, others): hint=bundle2requiredhint) try: - if repo.ui.configbool('server', 'disablefullbundle', False): + if repo.ui.configbool('server', 'disablefullbundle'): # Check to see if this is a full clone. clheads = set(repo.changelog.heads()) heads = set(opts.get('heads', set()))