##// END OF EJS Templates
share: move config item declarations into core...
Gregory Szorc -
r34983:0f5521e5 stable
parent child Browse files
Show More
@@ -63,16 +63,6 b' command = registrar.command(cmdtable)'
63 # leave the attribute unspecified.
63 # leave the attribute unspecified.
64 testedwith = 'ships-with-hg-core'
64 testedwith = 'ships-with-hg-core'
65
65
66 configtable = {}
67 configitem = registrar.configitem(configtable)
68
69 configitem('share', 'pool',
70 default=None,
71 )
72 configitem('share', 'poolnaming',
73 default='identity',
74 )
75
76 @command('share',
66 @command('share',
77 [('U', 'noupdate', None, _('do not create a working directory')),
67 [('U', 'noupdate', None, _('do not create a working directory')),
78 ('B', 'bookmarks', None, _('also share bookmarks')),
68 ('B', 'bookmarks', None, _('also share bookmarks')),
@@ -790,6 +790,12 b" coreconfigitem('server', 'validate',"
790 coreconfigitem('server', 'zliblevel',
790 coreconfigitem('server', 'zliblevel',
791 default=-1,
791 default=-1,
792 )
792 )
793 coreconfigitem('share', 'pool',
794 default=None,
795 )
796 coreconfigitem('share', 'poolnaming',
797 default='identity',
798 )
793 coreconfigitem('smtp', 'host',
799 coreconfigitem('smtp', 'host',
794 default=None,
800 default=None,
795 )
801 )
General Comments 0
You need to be logged in to leave comments. Login now