[PATCH 1 of 2 V2] patchbomb: includes series information in the header

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue May 6 17:41:17 CDT 2014



On 05/06/2014 03:32 PM, Angel Ezquerra wrote:
> On Wed, May 7, 2014 at 12:06 AM,  <pierre-yves.david at ens-lyon.org> wrote:
>> # HG changeset patch
>> # User Pierre-Yves David <pierre-yves.david at fb.com>
>> # Date 1399355234 25200
>> #      Mon May 05 22:47:14 2014 -0700
>> # Node ID d689d1f81dd9365f48348ee544ed9fab97d8142f
>> # Parent  0768cda8b5799dc803dc0ee27a832cd64e05f28a
>> patchbomb: includes series information in the header
>>
>> We includes information about the series being patch bombed in all email. Two
>> new headers are added:
>>
>> * X-Mercurial-Series-index: index of the patches in the series (starts at 1)
>> * X-Mercurial-Series-total: The total number of patches in the series
>>
>> This information is available in the email subject line, but having them
>> formalized in the header will helps automated tools to process patches send with
>> modern mercurial.
>
> I'd be neat if this could be done in such a way that regular email
> clients (including gmail) were able to consider the whole series as a
> single thread. Isn't there any standard header that can be used for
> that (or in addition to these proposed new headers)?

all email in the series -already- contains a in-reply-to header pointing 
to the first email of the series. This has been the case for age and 
should be enough for any descent email client to thread them.

-- 
Pierre-Yves


More information about the Mercurial-devel mailing list