hgext/patchbomb.py
changeset 7807 bd8f44638847
parent 7694 2ceeb1423544
child 7874 d812029cda85
equal deleted inserted replaced
7806:6d0cf2a2acad 7807:bd8f44638847
    46 
    46 
    47 The "-m" (mbox) option is also very useful.  Instead of previewing
    47 The "-m" (mbox) option is also very useful.  Instead of previewing
    48 each patchbomb message in a pager or sending the messages directly,
    48 each patchbomb message in a pager or sending the messages directly,
    49 it will create a UNIX mailbox file with the patch emails.  This
    49 it will create a UNIX mailbox file with the patch emails.  This
    50 mailbox file can be previewed with any mail user agent which supports
    50 mailbox file can be previewed with any mail user agent which supports
    51 UNIX mbox files, i.e. with mutt:
    51 UNIX mbox files, e.g. with mutt:
    52 
    52 
    53   % mutt -R -f mbox
    53   % mutt -R -f mbox
    54 
    54 
    55 When you are previewing the patchbomb messages, you can use `formail'
    55 When you are previewing the patchbomb messages, you can use `formail'
    56 (a utility that is commonly installed as part of the procmail package),
    56 (a utility that is commonly installed as part of the procmail package),
   442             sendmail(sender, to + bcc + cc, fp.getvalue())
   442             sendmail(sender, to + bcc + cc, fp.getvalue())
   443 
   443 
   444 emailopts = [
   444 emailopts = [
   445           ('a', 'attach', None, _('send patches as attachments')),
   445           ('a', 'attach', None, _('send patches as attachments')),
   446           ('i', 'inline', None, _('send patches as inline attachments')),
   446           ('i', 'inline', None, _('send patches as inline attachments')),
   447           ('', 'bcc', [], _('email addresses of blind copy recipients')),
   447           ('', 'bcc', [], _('email addresses of blind carbon copy recipients')),
   448           ('c', 'cc', [], _('email addresses of copy recipients')),
   448           ('c', 'cc', [], _('email addresses of copy recipients')),
   449           ('d', 'diffstat', None, _('add diffstat output to messages')),
   449           ('d', 'diffstat', None, _('add diffstat output to messages')),
   450           ('', 'date', '', _('use the given date as the sending date')),
   450           ('', 'date', '', _('use the given date as the sending date')),
   451           ('', 'desc', '', _('use the given file as the series description')),
   451           ('', 'desc', '', _('use the given file as the series description')),
   452           ('f', 'from', '', _('email address of sender')),
   452           ('f', 'from', '', _('email address of sender')),