Mercurial > hg
comparison hgext/gpg.py @ 21951:59af0b21ec31 stable
doc: unify help text for "--message" option
This patch changes help text for "--message" option of commands below
for unification.
- sign (of gpg)
- tag
This unification reduces translation cost, too.
This patch doesn't change the description for "--message" of "hg
rebase" below, because this should contain "collapse" word to explain
its purpose (only for "--collapse") clearly.
use text as collapse commit message
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 30 Jul 2014 00:13:59 +0900 |
parents | 0986af9e7006 |
children | 135176a198d0 |
comparison
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 |