Mercurial Hook Question

Milen Georgiev Dzhumerov gamehack at gmail.com
Wed Aug 1 10:02:38 CDT 2007


Hi all,

I've got a quickie. I've got a commit hook which is defined to accept  
the following arguments (ui, repo, **kwargs):. Now the question is  
how do I get the local decimal representation of the committed node?  
I can get the SHA-1 hash by looking up kwargs["node"] but not the  
local number (like revision 17, etc).

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2419 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20070801/49b583e6/attachment.bin 


More information about the Mercurial mailing list