build-scripts/showrev.sh
author Sam Lantinga <slouken@libsdl.org>
Sun, 06 Feb 2011 19:12:55 -0800
changeset 5213 25ad4a50d34f
parent 4935 a727eda441be
child 10420 0d91817f35e9
permissions -rwxr-xr-x
OpenGL ES 2.0 rendering LIVES!
     1 #!/bin/sh
     2 #
     3 # Print the current source revision, if available
     4 
     5 # FIXME: this prints the tip, which isn't useful if you're on a different
     6 #  branch, or just not sync'd to the tip.
     7 hg tip --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)