Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.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 | ad56fc55cbc3 |
children | 3838b910fa6b |
comparison
equal
deleted
inserted
replaced
21950:af44c7a1e55e | 21951:59af0b21ec31 |
---|---|
5694 ('l', 'local', None, _('make the tag local')), | 5694 ('l', 'local', None, _('make the tag local')), |
5695 ('r', 'rev', '', _('revision to tag'), _('REV')), | 5695 ('r', 'rev', '', _('revision to tag'), _('REV')), |
5696 ('', 'remove', None, _('remove a tag')), | 5696 ('', 'remove', None, _('remove a tag')), |
5697 # -l/--local is already there, commitopts cannot be used | 5697 # -l/--local is already there, commitopts cannot be used |
5698 ('e', 'edit', None, _('edit commit message')), | 5698 ('e', 'edit', None, _('edit commit message')), |
5699 ('m', 'message', '', _('use <text> as commit message'), _('TEXT')), | 5699 ('m', 'message', '', _('use text as commit message'), _('TEXT')), |
5700 ] + commitopts2, | 5700 ] + commitopts2, |
5701 _('[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')) | 5701 _('[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...')) |
5702 def tag(ui, repo, name1, *names, **opts): | 5702 def tag(ui, repo, name1, *names, **opts): |
5703 """add one or more tags for the current or given revision | 5703 """add one or more tags for the current or given revision |
5704 | 5704 |