[PATCH] Graft: 'log' options adds username of person who did the graft
Matt Mackall
mpm at selenic.com
Fri Dec 28 23:41:16 UTC 2012
On Fri, 2012-12-28 at 18:43 +0100, 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.
* first line of commit message is of the form "topic: uncapitalized, no
trailing period"
> 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.
>
> diff -r 777084ac8416 -r 53017f423f2a mercurial/commands.py
> --- a/mercurial/commands.py Don Nov 29 08:44:54 2012 -0500
> +++ b/mercurial/commands.py Fre Dez 28 18:42:59 2012 +0100
> @@ -2713,7 +2713,7 @@
> If --log is specified, log messages will have a comment appended
> of the form::
>
> - (grafted from CHANGESETHASH)
> + (grafted from CHANGESETHASH, by USERNAME)
Comma seems gratuitous. Otherwise, this seems ok.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list