[PATCH] hgk: display committer name when set by hg-git

Gregory Szorc gregory.szorc at gmail.com
Sat Apr 4 00:13:29 CDT 2015


> On Apr 3, 2015, at 21:49, Andrew Shadura <andrew at shadura.me> wrote:
> 
> Hello,
> 
> On Fri, 03 Apr 2015 16:43:07 -0500
> Matt Mackall <mpm at selenic.com> wrote:
> 
>>> On Fri, 2015-04-03 at 22:44 +0200, Andrew Shadura wrote:
>>> # HG changeset patch
>>> # User Andrew Shadura <andrew at shadura.me>
>>> # Date 1428093865 -7200
>>> #      Fri Apr 03 22:44:25 2015 +0200
>>> # Node ID 0b1f173f545c2297614b2735187fedea3eafa423
>>> # Parent  1951a31019d39885a39db58a3a389b196d65cc63
>>> hgk: display committer name when set by hg-git
> 
>> Don't like it but going to let you do it anyway. Queued for default,
>> thanks.
> 
>> We have better data in obsmarkers now, we should figure out how to use
>> it.
> 
> The motivation in this case was:
> 
> i) It was implemented there anyway
> ii) Existing implementation tried to parse metadata out of commit
>     message, where nobody ever puts it, so it was never displayed
> iii) As hg-git actually does store committer in a different way, why
>      not use that?

IIRC old versions of hg-git put extra fields in the commit message. Modern versions moved these fields into "extras."


More information about the Mercurial-devel mailing list