hgext/patchbomb.py
changeset 21282 697fba94dec9
parent 21055 dbff8c119cf6
child 21724 36b31f7867a7
--- a/hgext/patchbomb.py	Fri May 09 13:32:56 2014 -0500
+++ b/hgext/patchbomb.py	Mon May 05 22:47:14 2014 -0700
@@ -149,6 +149,8 @@
         subj = '[PATCH %0*d of %d%s] %s' % (tlen, idx, total, flag, subj)
     msg['Subject'] = mail.headencode(ui, subj, _charsets, opts.get('test'))
     msg['X-Mercurial-Node'] = node
+    msg['X-Mercurial-Series-Index'] = '%i' % idx
+    msg['X-Mercurial-Series-Total'] = '%i' % total
     return msg, subj, ds
 
 emailopts = [