--- a/mercurial/configitems.py Fri Jun 30 03:44:09 2017 +0200
+++ b/mercurial/configitems.py Fri Jun 30 03:44:10 2017 +0200
@@ -125,6 +125,9 @@
coreconfigitem('server', 'concurrent-push-mode',
default='strict',
)
+coreconfigitem('server', 'disablefullbundle',
+ default=False,
+)
coreconfigitem('ui', 'clonebundleprefers',
default=list,
)
--- a/mercurial/wireproto.py Fri Jun 30 03:44:09 2017 +0200
+++ b/mercurial/wireproto.py Fri Jun 30 03:44:10 2017 +0200
@@ -842,7 +842,7 @@
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()))