[PATCH] export: introduce 'Unix Date' header with the date spelled out
Mads Kiilerich
mads at kiilerich.com
Fri Feb 8 14:34:11 CST 2013
On 02/08/2013 09:10 PM, Kevin Bullock wrote:
> On 8 Feb 2013, at 6:52 PM, Augie Fackler wrote:
>
>> On Feb 8, 2013, at 6:08 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
>>
>>> # HG changeset patch
>>> # User Mads Kiilerich <mads at kiilerich.com>
>>> # Date 1360346908 -3600
>>> # Node ID 990ae56ef86ea6b2357f022acc8e8e7c72f9ecc8
>>> # Parent 5ad1b38d9eb9f7f7ecdb9a0281178070837c47d7
>>> export: introduce 'Unix Date' header with the date spelled out
>>>
>>> 'export' is the official export format and used by patchbomb, but it will only
>>> include date as a timestamp that most humans might find it hard to relate to.
>>> It is very convenient when reviewing a patch to be able to see what timestamp
>>> the patch will end up with.
>>>
>>> This patch will introduce a new 'Unix Date' header. Tools parsing headers
>>> should just ignore this 'unknown' line.
>> I'm a fan.
> Not a fan of the name (even though I like Unix). Not sure what the right answer is though.
It uses the format that 'hg help templating' describes as 'Unix date
format' and which is what 'hg log' will use. We could also use
rfc822date and name it something like that. But this is an excellent
topic for a pub discussion ;-)
/Mads
More information about the Mercurial-devel
mailing list