##// END OF EJS Templates
configitems: register the 'share.pool' config
Boris Feld -
r34498:f9734580 default
parent child Browse files
Show More
@@ -63,6 +63,13 b' command = registrar.command(cmdtable)'
63 63 # leave the attribute unspecified.
64 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
66 73 @command('share',
67 74 [('U', 'noupdate', None, _('do not create a working directory')),
68 75 ('B', 'bookmarks', None, _('also share bookmarks')),
@@ -128,7 +135,7 b' def unshare(ui, repo):'
128 135
129 136 # Wrap clone command to pass auto share options.
130 137 def clone(orig, ui, source, *args, **opts):
131 pool = ui.config('share', 'pool', None)
138 pool = ui.config('share', 'pool')
132 139 if pool:
133 140 pool = util.expandpath(pool)
134 141
General Comments 0
You need to be logged in to leave comments. Login now