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
hg --debug id -i
This will output the long hash, with a plus if there are uncommitted changes.