[PATCH] Graft: 'log' options adds username of person who did the graft

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Jan 8 19:08:44 CST 2013


On 28 déc. 2012, at 18:43, Martin Rieser wrote:

> # HG changeset patch
> # User Martin Rieser
> # Date 1356716579 -3600
> # Branch stable
> # Node ID 53017f423f2a7d0b3d78909fe5b12116386107c1
> # Parent  777084ac84167e3bdea45b5c00de1106cca36eef
> Graft: 'log' options adds username of person who did the graft.

(As Matt mentioned, the first line is not in line with out standard

check http://mercurial.selenic.com/wiki/ContributingChanges#Submission_checklist


> At the moment it is impossible to find out, who did the graft. Per default,
> the username of the person, who made the code change is also set as author to
> the grafted version. But there is no trace about the person, who executed
> the 'hg graft...' command. If the --log option is used, it is possilbe to
> document both persons who where involved in the graft.

This change seems sensible to me.
In the same direction we should consider:

- adding the grafting user in an extra entry
- adding the graft dat in an extra entry
- adding the date of the graft message

(This is not change to include in this specific patches)

What do you guys think ?

-- 
Pierre-Yves David



More information about the Mercurial-devel mailing list