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
Summarising the answers and their responses, it seems that this is the best way to print the unique (not short form) identifier of the current version:
hg log -l 1 --template '{node}\n' -r .