hgext/patchbomb.py
changeset 8025 1280934dd2dd
parent 7997 8eb9f495e150
child 8076 5ec526c1a32f
equal deleted inserted replaced
8024:9a1b86cfd29e 8025:1280934dd2dd
   382     bcc = [mail.addressencode(ui, a.strip(), _charsets, opts.get('test'))
   382     bcc = [mail.addressencode(ui, a.strip(), _charsets, opts.get('test'))
   383            for a in bcc if a.strip()]
   383            for a in bcc if a.strip()]
   384 
   384 
   385     ui.write('\n')
   385     ui.write('\n')
   386 
   386 
   387     parent = None
   387     parent = opts.get('in_reply_to') or None
   388 
   388 
   389     sender_addr = email.Utils.parseaddr(sender)[1]
   389     sender_addr = email.Utils.parseaddr(sender)[1]
   390     sender = mail.addressencode(ui, sender, _charsets, opts.get('test'))
   390     sender = mail.addressencode(ui, sender, _charsets, opts.get('test'))
   391     sendmail = None
   391     sendmail = None
   392     for m, subj in msgs:
   392     for m, subj in msgs:
   456           ('n', 'test', None, _('print messages that would be sent')),
   456           ('n', 'test', None, _('print messages that would be sent')),
   457           ('m', 'mbox', '',
   457           ('m', 'mbox', '',
   458            _('write messages to mbox file instead of sending them')),
   458            _('write messages to mbox file instead of sending them')),
   459           ('s', 'subject', '',
   459           ('s', 'subject', '',
   460            _('subject of first message (intro or single patch)')),
   460            _('subject of first message (intro or single patch)')),
       
   461           ('', 'in-reply-to', '',
       
   462            _('"message identifier to reply to"')),
   461           ('t', 'to', [], _('email addresses of recipients')),
   463           ('t', 'to', [], _('email addresses of recipients')),
   462          ]
   464          ]
   463 
   465 
   464 
   466 
   465 cmdtable = {
   467 cmdtable = {