"hg graft" with "--log" doesn't annotate the log message

Steve Fink sphink at gmail.com
Mon Mar 6 16:36:44 UTC 2023


On 3/2/23 20:42, Jesus Cea wrote:
> I did "hg graft --log -r tip" to merge from another branch, and a "hg 
> log" shows the new changeset with the same "summary" message that the 
> original in the log. There is no reference at all this being grafted 
> changeset. 

I don't know what the rules are, exactly, but the default `hg log` shows 
a summary of the changeset description. If you do `hg log -v`, it will 
show you the full description, which will include the graft message. 
(The field header will also change from "summary:" to "description:". 
The template equivalent of the full description is {desc}, for what it's 
worth.)




More information about the Mercurial mailing list