60 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
60 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
61 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
61 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
62 # be specifying the version(s) of Mercurial they are tested with, or |
62 # be specifying the version(s) of Mercurial they are tested with, or |
63 # leave the attribute unspecified. |
63 # leave the attribute unspecified. |
64 testedwith = 'ships-with-hg-core' |
64 testedwith = 'ships-with-hg-core' |
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 |
65 |
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')), |
79 ('', 'relative', None, _('point to source using a relative path ' |
69 ('', 'relative', None, _('point to source using a relative path ' |