build-scripts/showrev.sh
author Ryan C. Gordon
Fri, 03 Mar 2017 16:38:17 -0500
changeset 10926 97c829825e0e
parent 10420 0d91817f35e9
child 13711 a375181874ce
permissions -rwxr-xr-x
Fix some more compiler warnings on armcc.
slouken@2982
     1
#!/bin/sh
slouken@2982
     2
#
slouken@2982
     3
# Print the current source revision, if available
slouken@2982
     4
slouken@10420
     5
hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)