[RFC] New core command: graft

Laurens Holst laurens.nospam at grauw.nl
Tue Oct 11 16:21:15 CDT 2011

Op 11-10-2011 23:15, Laurens Holst schreef:
> Op 10-10-2011 21:40, Antoine Pitrou schreef:
>>> The questions is how do we add this new feature without rewriting
>>> everything. We don't want to add new logic to just about every other
>>> command and extension so that it now interacts properly with a graft,
>>> which is where this snowball of yours is going.
>> I guess there's a tension between providing a light-weight command
>> that doesn't touch the rest of the core (like "hg transplant") and
>> something more sophisticated that addresses the use cases of a larger
>> base of people.
> I think that’s a rather bold assumption, and at least one that I don’t 
> really identify with. What you are basically asking for is something 
> very similar if not identical to the ‘committer’ field that git has. I 
> think it does not really add value to have this information, if you 
> want to have a fireman contact it is better to use a push log.

Also if this kind of extra metadata is implemented, then I rather think 
it should be implemented throughout the entirety of Mercurial as it 
applies to any type of commit (not just for graft). Such an annotation 
can be added later if it is deemed desirable, and should not block the 
inclusion of graft as-is.


~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, developer, Utrecht, the Netherlands
Website: www.grauw.nl. Working @ www.roughcookie.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4332 bytes
Desc: S/MIME cryptografische ondertekening
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111011/37a5cda8/attachment.bin>

More information about the Mercurial-devel mailing list