##// END OF EJS Templates
commands: adjust metavariables as appropriate...
av6 -
r40382:943248e4 default
parent child Browse files
Show More
@@ -478,20 +478,25 b' emailopts = ['
478 ('', 'body', None, _('send patches as inline message text (default)')),
478 ('', 'body', None, _('send patches as inline message text (default)')),
479 ('a', 'attach', None, _('send patches as attachments')),
479 ('a', 'attach', None, _('send patches as attachments')),
480 ('i', 'inline', None, _('send patches as inline attachments')),
480 ('i', 'inline', None, _('send patches as inline attachments')),
481 ('', 'bcc', [], _('email addresses of blind carbon copy recipients')),
481 ('', 'bcc', [],
482 ('c', 'cc', [], _('email addresses of copy recipients')),
482 _('email addresses of blind carbon copy recipients'), _('EMAIL')),
483 ('c', 'cc', [], _('email addresses of copy recipients'), _('EMAIL')),
483 ('', 'confirm', None, _('ask for confirmation before sending')),
484 ('', 'confirm', None, _('ask for confirmation before sending')),
484 ('d', 'diffstat', None, _('add diffstat output to messages')),
485 ('d', 'diffstat', None, _('add diffstat output to messages')),
485 ('', 'date', '', _('use the given date as the sending date')),
486 ('', 'date', '', _('use the given date as the sending date'), _('DATE')),
486 ('', 'desc', '', _('use the given file as the series description')),
487 ('', 'desc', '',
487 ('f', 'from', '', _('email address of sender')),
488 _('use the given file as the series description'), _('FILE')),
489 ('f', 'from', '', _('email address of sender'), _('EMAIL')),
488 ('n', 'test', None, _('print messages that would be sent')),
490 ('n', 'test', None, _('print messages that would be sent')),
489 ('m', 'mbox', '', _('write messages to mbox file instead of sending them')),
491 ('m', 'mbox', '',
490 ('', 'reply-to', [], _('email addresses replies should be sent to')),
492 _('write messages to mbox file instead of sending them'), _('FILE')),
491 ('s', 'subject', '', _('subject of first message (intro or single patch)')),
493 ('', 'reply-to', [],
492 ('', 'in-reply-to', '', _('message identifier to reply to')),
494 _('email addresses replies should be sent to'), _('EMAIL')),
493 ('', 'flag', [], _('flags to add in subject prefixes')),
495 ('s', 'subject', '',
494 ('t', 'to', [], _('email addresses of recipients'))]
496 _('subject of first message (intro or single patch)'), _('TEXT')),
497 ('', 'in-reply-to', '', _('message identifier to reply to'), _('MSGID')),
498 ('', 'flag', [], _('flags to add in subject prefixes'), _('FLAG')),
499 ('t', 'to', [], _('email addresses of recipients'), _('EMAIL'))]
495
500
496 @command('email',
501 @command('email',
497 [('g', 'git', None, _('use git extended diff format')),
502 [('g', 'git', None, _('use git extended diff format')),
@@ -499,7 +504,8 b' emailopts = ['
499 ('o', 'outgoing', None,
504 ('o', 'outgoing', None,
500 _('send changes not found in the target repository')),
505 _('send changes not found in the target repository')),
501 ('b', 'bundle', None, _('send changes not in target as a binary bundle')),
506 ('b', 'bundle', None, _('send changes not in target as a binary bundle')),
502 ('B', 'bookmark', '', _('send changes only reachable by given bookmark')),
507 ('B', 'bookmark', '',
508 _('send changes only reachable by given bookmark'), _('BOOKMARK')),
503 ('', 'bundlename', 'bundle',
509 ('', 'bundlename', 'bundle',
504 _('name of the bundle attachment file'), _('NAME')),
510 _('name of the bundle attachment file'), _('NAME')),
505 ('r', 'rev', [], _('a revision to send'), _('REV')),
511 ('r', 'rev', [], _('a revision to send'), _('REV')),
@@ -110,7 +110,7 b' def strip(ui, repo, revs, update=True, b'
110 ('k', 'keep', None, _("do not modify working directory during "
110 ('k', 'keep', None, _("do not modify working directory during "
111 "strip")),
111 "strip")),
112 ('B', 'bookmark', [], _("remove revs only reachable from given"
112 ('B', 'bookmark', [], _("remove revs only reachable from given"
113 " bookmark"))],
113 " bookmark"), _('BOOKMARK'))],
114 _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'),
114 _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'),
115 helpcategory=command.CATEGORY_MAINTENANCE)
115 helpcategory=command.CATEGORY_MAINTENANCE)
116 def stripcmd(ui, repo, *revs, **opts):
116 def stripcmd(ui, repo, *revs, **opts):
@@ -149,7 +149,7 b' diffopts2 = ['
149 ]
149 ]
150
150
151 mergetoolopts = [
151 mergetoolopts = [
152 ('t', 'tool', '', _('specify merge tool')),
152 ('t', 'tool', '', _('specify merge tool'), _('TOOL')),
153 ]
153 ]
154
154
155 similarityopts = [
155 similarityopts = [
@@ -1996,7 +1996,7 b' def diff(ui, repo, *pats, **opts):'
1996
1996
1997 @command('export',
1997 @command('export',
1998 [('B', 'bookmark', '',
1998 [('B', 'bookmark', '',
1999 _('export changes only reachable by given bookmark')),
1999 _('export changes only reachable by given bookmark'), _('BOOKMARK')),
2000 ('o', 'output', '',
2000 ('o', 'output', '',
2001 _('print output to file with formatted name'), _('FORMAT')),
2001 _('print output to file with formatted name'), _('FORMAT')),
2002 ('', 'switch-parent', None, _('diff against the second parent')),
2002 ('', 'switch-parent', None, _('diff against the second parent')),
@@ -2257,7 +2257,7 b' def forget(ui, repo, *pats, **opts):'
2257 ('D', 'currentdate', False,
2257 ('D', 'currentdate', False,
2258 _('record the current date as commit date')),
2258 _('record the current date as commit date')),
2259 ('U', 'currentuser', False,
2259 ('U', 'currentuser', False,
2260 _('record the current user as committer'), _('DATE'))]
2260 _('record the current user as committer'))]
2261 + commitopts2 + mergetoolopts + dryrunopts,
2261 + commitopts2 + mergetoolopts + dryrunopts,
2262 _('[OPTION]... [-r REV]... REV...'),
2262 _('[OPTION]... [-r REV]... REV...'),
2263 helpcategory=command.CATEGORY_CHANGE_MANAGEMENT)
2263 helpcategory=command.CATEGORY_CHANGE_MANAGEMENT)
@@ -3016,9 +3016,10 b' def heads(ui, repo, *branchrevs, **opts)'
3016 [('e', 'extension', None, _('show only help for extensions')),
3016 [('e', 'extension', None, _('show only help for extensions')),
3017 ('c', 'command', None, _('show only help for commands')),
3017 ('c', 'command', None, _('show only help for commands')),
3018 ('k', 'keyword', None, _('show topics matching keyword')),
3018 ('k', 'keyword', None, _('show topics matching keyword')),
3019 ('s', 'system', [], _('show help for specific platform(s)')),
3019 ('s', 'system', [],
3020 _('show help for specific platform(s)'), _('PLATFORM')),
3020 ],
3021 ],
3021 _('[-ecks] [TOPIC]'),
3022 _('[-eck] [-s PLATFORM] [TOPIC]'),
3022 helpcategory=command.CATEGORY_HELP,
3023 helpcategory=command.CATEGORY_HELP,
3023 norepo=True,
3024 norepo=True,
3024 intents={INTENT_READONLY})
3025 intents={INTENT_READONLY})
@@ -10,7 +10,7 b' ensure that failing ui.atexit handlers r'
10 > EOF
10 > EOF
11 $ hg -q --config extensions.bailatexit=$TESTTMP/bailatexit.py \
11 $ hg -q --config extensions.bailatexit=$TESTTMP/bailatexit.py \
12 > help help
12 > help help
13 hg help [-ecks] [TOPIC]
13 hg help [-eck] [-s PLATFORM] [TOPIC]
14
14
15 show help for a given topic or a help overview
15 show help for a given topic or a help overview
16 error in exit handlers:
16 error in exit handlers:
@@ -715,14 +715,14 b' Make sure no one adds back a -b option:'
715
715
716 options ([+] can be repeated):
716 options ([+] can be repeated):
717
717
718 -r --rev REV [+] strip specified revision (optional, can specify
718 -r --rev REV [+] strip specified revision (optional, can specify
719 revisions without this option)
719 revisions without this option)
720 -f --force force removal of changesets, discard uncommitted
720 -f --force force removal of changesets, discard uncommitted
721 changes (no backup)
721 changes (no backup)
722 --no-backup do not save backup bundle
722 --no-backup do not save backup bundle
723 -k --keep do not modify working directory during strip
723 -k --keep do not modify working directory during strip
724 -B --bookmark VALUE [+] remove revs only reachable from given bookmark
724 -B --bookmark BOOKMARK [+] remove revs only reachable from given bookmark
725 --mq operate on patch repository
725 --mq operate on patch repository
726
726
727 (use 'hg strip -h' to show more help)
727 (use 'hg strip -h' to show more help)
728 [255]
728 [255]
General Comments 0
You need to be logged in to leave comments. Login now