hgext/patchbomb.py
changeset 4730 eadfaa9ec487
parent 4633 ff7253a0d1da
child 4887 2f09df302f30
equal deleted inserted replaced
4729:9881abfc0e44 4730:eadfaa9ec487
   408             # Exim does not remove the Bcc field
   408             # Exim does not remove the Bcc field
   409             del m['Bcc']
   409             del m['Bcc']
   410             mailer.sendmail(sender, to + bcc + cc, m.as_string(0))
   410             mailer.sendmail(sender, to + bcc + cc, m.as_string(0))
   411 
   411 
   412 cmdtable = {
   412 cmdtable = {
   413     'email':
   413     "email":
   414     (patchbomb,
   414         (patchbomb,
   415      [('a', 'attach', None, 'send patches as inline attachments'),
   415          [('a', 'attach', None, _('send patches as inline attachments')),
   416       ('', 'bcc', [], 'email addresses of blind copy recipients'),
   416           ('', 'bcc', [], _('email addresses of blind copy recipients')),
   417       ('c', 'cc', [], 'email addresses of copy recipients'),
   417           ('c', 'cc', [], _('email addresses of copy recipients')),
   418       ('d', 'diffstat', None, 'add diffstat output to messages'),
   418           ('d', 'diffstat', None, _('add diffstat output to messages')),
   419       ('', 'date', '', _('use the given date as the sending date')),
   419           ('', 'date', '', _('use the given date as the sending date')),
   420       ('g', 'git', None, _('use git extended diff format')),
   420           ('g', 'git', None, _('use git extended diff format')),
   421       ('f', 'from', '', 'email address of sender'),
   421           ('f', 'from', '', _('email address of sender')),
   422       ('', 'plain', None, 'omit hg patch header'),
   422           ('', 'plain', None, _('omit hg patch header')),
   423       ('n', 'test', None, 'print messages that would be sent'),
   423           ('n', 'test', None, _('print messages that would be sent')),
   424       ('m', 'mbox', '', 'write messages to mbox file instead of sending them'),
   424           ('m', 'mbox', '',
   425       ('o', 'outgoing', None, _('send changes not found in the target repository')),
   425            _('write messages to mbox file instead of sending them')),
   426       ('b', 'bundle', None, _('send changes not in target as a binary bundle')),
   426           ('o', 'outgoing', None,
   427       ('r', 'rev', [], _('a revision to send')),
   427            _('send changes not found in the target repository')),
   428       ('s', 'subject', '', 'subject of first message (intro or single patch)'),
   428           ('b', 'bundle', None,
   429       ('t', 'to', [], 'email addresses of recipients'),
   429            _('send changes not in target as a binary bundle')),
   430       ('', 'force', None, _('run even when remote repository is unrelated (with -b)')),
   430           ('r', 'rev', [], _('a revision to send')),
   431       ('', 'base', [],
   431           ('s', 'subject', '',
   432           _('a base changeset to specify instead of a destination (with -b)'))]
   432            _('subject of first message (intro or single patch)')),
   433       + commands.remoteopts,
   433           ('t', 'to', [], _('email addresses of recipients')),
   434      "hg email [OPTION]... [DEST]...")
   434           ('', 'force', None,
   435     }
   435            _('run even when remote repository is unrelated (with -b)')),
       
   436           ('', 'base', [],
       
   437            _('a base changeset to specify instead of a destination (with -b)')),
       
   438          ] + commands.remoteopts,
       
   439          _('hg email [OPTION]... [DEST]...'))
       
   440 }