HG_BASE_NODE in mercurial.merge

Sébastien Pierre sebastien-lists at type-z.org
Sat Jul 28 21:52:57 CDT 2007


Le 07-07-27 à 17:45, Matt Mackall a écrit :

> On Fri, Jul 27, 2007 at 10:26:11AM -0400, Sébastien Pierre wrote:
>> I am working on an update to my "svn-like merge tool" [1] and I would
>> need to have an HG_BASE_NODE in addition to the HG_MY_NODE and
>> HG_OTHER_NODE.
> Fair enough.


>> It would also be very cool if I could have the local rev number in
>> addition to the changeset id:
>>
>> 	HG_MY_NODE=43c66cb91a99
>> 	HG_MY_NODE_REV=47
>
> Also fairly reasonable. Can be gotten with hg id, though.

Sure, but in this case you'd neet to spawn a least one subprocess to  
get the REV :)

So, should I implement this or somebody prefers to take care of it ?

  -- Sébastien




More information about the Mercurial mailing list