[PATCH] write the git commit id into the commit message

Stefano Stabellini stefano.stabellini at eu.citrix.com
Thu Sep 18 08:12:09 CDT 2008


Patrick Mézard wrote:

> Stefano Stabellini a écrit :
>> Hi all,
>> I am about to setup an up to date HG mirror of a git repository, very
>> much like kernel.org provides up to date git mirrors for other
>> repositories, only the other way around :)
>> I am going to use hg convert to do that, and it seems to do the job just
>> fine, so I want to thank you for this great tool.
>> The only issue is that I need to have somewhere in the mercurial commit
>> message the git commit id, so it would be much easier to get the correct
>> commit reference.
> 
> I just sent a patch queue to -devel entitled "[PATCH 0 of 3] Custom properties, converted identifiers, in hgk" which is better IMHO.
> 


Good timing! :)
If I understand correctly and your patch does exactly the same thing I
want but in a configurable way, then yes, it is better.



More information about the Mercurial-devel mailing list