hgext/patchbomb.py
changeset 21724 36b31f7867a7
parent 21282 697fba94dec9
child 21726 fae032549ca2
equal deleted inserted replaced
21723:35eb333d61d5 21724:36b31f7867a7
   517         if parent:
   517         if parent:
   518             m['In-Reply-To'] = parent
   518             m['In-Reply-To'] = parent
   519             m['References'] = parent
   519             m['References'] = parent
   520         if not parent or 'X-Mercurial-Node' not in m:
   520         if not parent or 'X-Mercurial-Node' not in m:
   521             parent = m['Message-Id']
   521             parent = m['Message-Id']
       
   522         m['X-Mercurial-Series-Id'] = parent
   522 
   523 
   523         m['User-Agent'] = 'Mercurial-patchbomb/%s' % util.version()
   524         m['User-Agent'] = 'Mercurial-patchbomb/%s' % util.version()
   524         m['Date'] = email.Utils.formatdate(start_time[0], localtime=True)
   525         m['Date'] = email.Utils.formatdate(start_time[0], localtime=True)
   525 
   526 
   526         start_time = (start_time[0] + 1, start_time[1])
   527         start_time = (start_time[0] + 1, start_time[1])