build-scripts/showrev.sh
author Sam Lantinga
Sat, 12 Aug 2017 00:04:46 -0700
changeset 11236 8c3cba28b1fd
parent 10420 0d91817f35e9
child 13711 a375181874ce
permissions -rwxr-xr-x
Fixed compiler warnings on Visual Studio 2013
     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)