hgext/fetch.py
branchstable
changeset 21952 3838b910fa6b
parent 21406 288a793c3167
child 22000 20fd00ee432e
equal deleted inserted replaced
21951:59af0b21ec31 21952:3838b910fa6b
    17 testedwith = 'internal'
    17 testedwith = 'internal'
    18 
    18 
    19 @command('fetch',
    19 @command('fetch',
    20     [('r', 'rev', [],
    20     [('r', 'rev', [],
    21      _('a specific revision you would like to pull'), _('REV')),
    21      _('a specific revision you would like to pull'), _('REV')),
    22     ('e', 'edit', None, _('edit commit message')),
    22     ('e', 'edit', None, _('invoke editor on commit messages')),
    23     ('', 'force-editor', None, _('edit commit message (DEPRECATED)')),
    23     ('', 'force-editor', None, _('edit commit message (DEPRECATED)')),
    24     ('', 'switch-parent', None, _('switch parents when merging')),
    24     ('', 'switch-parent', None, _('switch parents when merging')),
    25     ] + commands.commitopts + commands.commitopts2 + commands.remoteopts,
    25     ] + commands.commitopts + commands.commitopts2 + commands.remoteopts,
    26     _('hg fetch [SOURCE]'))
    26     _('hg fetch [SOURCE]'))
    27 def fetch(ui, repo, source='default', **opts):
    27 def fetch(ui, repo, source='default', **opts):