hgext/gpg.py
branchstable
changeset 21951 59af0b21ec31
parent 21711 0986af9e7006
child 22001 135176a198d0
equal deleted inserted replaced
21950:af44c7a1e55e 21951:59af0b21ec31
   201           ('f', 'force', None, _('sign even if the sigfile is modified')),
   201           ('f', 'force', None, _('sign even if the sigfile is modified')),
   202           ('', 'no-commit', None, _('do not commit the sigfile after signing')),
   202           ('', 'no-commit', None, _('do not commit the sigfile after signing')),
   203           ('k', 'key', '',
   203           ('k', 'key', '',
   204            _('the key id to sign with'), _('ID')),
   204            _('the key id to sign with'), _('ID')),
   205           ('m', 'message', '',
   205           ('m', 'message', '',
   206            _('commit message'), _('TEXT')),
   206            _('use text as commit message'), _('TEXT')),
   207           ('e', 'edit', False, _('invoke editor on commit messages')),
   207           ('e', 'edit', False, _('invoke editor on commit messages')),
   208          ] + commands.commitopts2,
   208          ] + commands.commitopts2,
   209          _('hg sign [OPTION]... [REV]...'))
   209          _('hg sign [OPTION]... [REV]...'))
   210 def sign(ui, repo, *revs, **opts):
   210 def sign(ui, repo, *revs, **opts):
   211     """add a signature for the current or given revision
   211     """add a signature for the current or given revision