build-scripts/showrev.sh
author Philipp Wiesemann
Sat, 21 Jan 2017 22:00:56 +0100
changeset 10826 13f98e508581
parent 10420 0d91817f35e9
child 13711 a375181874ce
permissions -rwxr-xr-x
Fixed compiler warning about returning a value in a void function.
     1 #!/bin/sh
     2 #
     3 # Print the current source revision, if available
     4 
     5 hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)