##// END OF EJS Templates
configitems: register the 'share.poolnaming' config
Boris Feld -
r34499:308aa280 default
parent child Browse files
Show More
@@ -69,6 +69,9 b' configitem = registrar.configitem(config'
69 configitem('share', 'pool',
69 configitem('share', 'pool',
70 default=None,
70 default=None,
71 )
71 )
72 configitem('share', 'poolnaming',
73 default='identity',
74 )
72
75
73 @command('share',
76 @command('share',
74 [('U', 'noupdate', None, _('do not create a working directory')),
77 [('U', 'noupdate', None, _('do not create a working directory')),
@@ -141,7 +144,7 b' def clone(orig, ui, source, *args, **opt'
141
144
142 opts[r'shareopts'] = {
145 opts[r'shareopts'] = {
143 'pool': pool,
146 'pool': pool,
144 'mode': ui.config('share', 'poolnaming', 'identity'),
147 'mode': ui.config('share', 'poolnaming'),
145 }
148 }
146
149
147 return orig(ui, source, *args, **opts)
150 return orig(ui, source, *args, **opts)
General Comments 0
You need to be logged in to leave comments. Login now