476 |
476 |
477 emailopts = [ |
477 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')), |
498 ('', 'plain', None, _('omit hg patch header')), |
503 ('', 'plain', None, _('omit hg patch header')), |
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')), |
506 ('', 'force', None, _('run even when remote repository is unrelated ' |
512 ('', 'force', None, _('run even when remote repository is unrelated ' |
507 '(with -b/--bundle)')), |
513 '(with -b/--bundle)')), |