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 depl
You can use --template with the parent command, I use this to get the long hash:
hg parent --template '{node}'