##// END OF EJS Templates
configitems: register the 'server.bundle*' family of config...
Boris Feld -
r34614:5e61cd5f default
parent child Browse files
Show More
@@ -500,6 +500,18 b" coreconfigitem('server', 'bundle1',"
500 coreconfigitem('server', 'bundle1gd',
500 coreconfigitem('server', 'bundle1gd',
501 default=None,
501 default=None,
502 )
502 )
503 coreconfigitem('server', 'bundle1.pull',
504 default=None,
505 )
506 coreconfigitem('server', 'bundle1gd.pull',
507 default=None,
508 )
509 coreconfigitem('server', 'bundle1.push',
510 default=None,
511 )
512 coreconfigitem('server', 'bundle1gd.push',
513 default=None,
514 )
503 coreconfigitem('server', 'compressionengines',
515 coreconfigitem('server', 'compressionengines',
504 default=list,
516 default=list,
505 )
517 )
@@ -595,11 +595,11 b' def bundle1allowed(repo, action):'
595 gd = 'generaldelta' in repo.requirements
595 gd = 'generaldelta' in repo.requirements
596
596
597 if gd:
597 if gd:
598 v = ui.configbool('server', 'bundle1gd.%s' % action, None)
598 v = ui.configbool('server', 'bundle1gd.%s' % action)
599 if v is not None:
599 if v is not None:
600 return v
600 return v
601
601
602 v = ui.configbool('server', 'bundle1.%s' % action, None)
602 v = ui.configbool('server', 'bundle1.%s' % action)
603 if v is not None:
603 if v is not None:
604 return v
604 return v
605
605
General Comments 0
You need to be logged in to leave comments. Login now