[PATCH] mq: add basic support for DEP-3 patch fields

Kevin Bullock kbullock+mercurial at ringworld.org
Tue May 7 13:21:37 CDT 2013


On 7 May 2013, at 12:48 PM, Augie Fackler wrote:

> On Sun, May 05, 2013 at 01:37:00PM +0200, Andrew Shadura wrote:
>> # HG changeset patch
>> # User Andrew Shadura <bugzilla at tut.by>
>> # Date 1367753776 -7200
>> # Node ID 33f279c34ac6c5b4bd4eb525719261afe7e2433d
>> # Parent  70f0d1da36b0b304ea00fbdd742285e2dc1c22eb
>> mq: add basic support for DEP-3 patch fields
>> 
>> Add support for fields specified in Debian patch tagging guidelines
>> in a document called DEP-3. The documents specifies Description,
>> Author and Last-Update headers, which are semantically almost
>> identical to Subject, From and Date already supported by mq.
>> 
>> Additional features of DEP-3, such as Description continuation lines,
>> multiple Author fields aren't (yet) supported. Also, Last-Update
>> header isn't updated, as it uses ISO date format without time,
>> so having Date instead makes more sense.
> 
> Multiple authors you could store in an "extra-authors" field in the
> change's extra.

The better way would probably be to translate them into a comma-separated list in the existing 'user' field. That way revsets would pick them up with no modifications. We don't actually enforce a format on the 'user' field.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list