hgext/share.py
branchstable
changeset 34982 0f5521e56b77
parent 34948 ff178743e59b
child 36159 0fe7e39dc683
equal deleted inserted replaced
34981:527655a049ee 34982:0f5521e56b77
    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 '