[PATCH 2 of 3] Signed-off-by: Hollis Blanchard <hollisb at us.ibm.com>

Hollis Blanchard hollisb at us.ibm.com
Thu Nov 1 17:20:47 CDT 2007


Signed-off-by: Hollis Blanchard <hollisb at us.ibm.com>

---
1 file changed, 2 insertions(+)
hgext/patchbomb.py |    2 ++


diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -375,6 +375,7 @@ def patchbomb(ui, repo, *revs, **opts):
         if parent:
             m['In-Reply-To'] = parent
         else:
+            m['In-Reply-To'] = opts.get('replyto', None)
             parent = m['Message-Id']
         m['Date'] = util.datestr(date=start_time,
                 format="%a, %d %b %Y %H:%M:%S", timezone=True)
@@ -434,6 +435,7 @@ cmdtable = {
           ('b', 'bundle', None,
            _('send changes not in target as a binary bundle')),
           ('r', 'rev', [], _('a revision to send')),
+          ('', 'replyto', '', _('send emails in reply to this Message-ID')),
           ('s', 'subject', '',
            _('subject of first message (intro or single patch)')),
           ('t', 'to', [], _('email addresses of recipients')),


More information about the Mercurial-devel mailing list