##// END OF EJS Templates
configitems: register the 'server.disablefullbundle' config
marmoute -
r33220:d227451e default
parent child Browse files
Show More
@@ -125,6 +125,9 b" coreconfigitem('server', 'compressioneng"
125 125 coreconfigitem('server', 'concurrent-push-mode',
126 126 default='strict',
127 127 )
128 coreconfigitem('server', 'disablefullbundle',
129 default=False,
130 )
128 131 coreconfigitem('ui', 'clonebundleprefers',
129 132 default=list,
130 133 )
@@ -842,7 +842,7 b' def getbundle(repo, proto, others):'
842 842 hint=bundle2requiredhint)
843 843
844 844 try:
845 if repo.ui.configbool('server', 'disablefullbundle', False):
845 if repo.ui.configbool('server', 'disablefullbundle'):
846 846 # Check to see if this is a full clone.
847 847 clheads = set(repo.changelog.heads())
848 848 heads = set(opts.get('heads', set()))
General Comments 0
You need to be logged in to leave comments. Login now