Print Current Mercurial Revision Hash?

Posted by rentzsch on Stack Overflow See other posts from Stack Overflow or by rentzsch
Published on 2010-03-21T02:30:51Z Indexed on 2010/03/21 2:41 UTC
Read the original article Hit count: 410

Filed under:
|
|

Is there a better way extract the current revision hash in Mercurial than

hg log -l1|grep changeset|cut -d: -f3

?

Part of my webapp deployment script "tags" the uploaded app tarball with its unique revision hash.

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about revision