diff hgext/patchbomb.py @ 7413:0b6428da1f22

email: add References field in the header This hopefully helps clients get the threading right.
author Benoit Allard <benoit@aeteurope.nl>
date Tue, 25 Nov 2008 23:13:14 +0100
parents 42f1b8cb9a60
children 4949729ee9ee
line wrap: on
line diff
--- a/hgext/patchbomb.py	Tue Nov 25 22:52:25 2008 +0100
+++ b/hgext/patchbomb.py	Tue Nov 25 23:13:14 2008 +0100
@@ -402,6 +402,7 @@
             m['Message-Id'] = genmsgid('patchbomb')
         if parent:
             m['In-Reply-To'] = parent
+            m['References'] = parent
         else:
             parent = m['Message-Id']
         m['Date'] = util.datestr(start_time, "%a, %d %b %Y %H:%M:%S %1%2")