build-scripts/showrev.sh
author Sam Lantinga <slouken@libsdl.org>
Sun, 18 Jul 2010 00:54:26 -0700
changeset 4534 9530f2e23f99
parent 4464 fa77a6429698
child 4935 a727eda441be
permissions -rwxr-xr-x
Don't put a keysym in there! Shame on you! :)

#!/bin/sh
#
# Print the current source revision, if available

# FIXME: this prints the tip, which isn't useful if you're on a different
#  branch, or just not sync'd to the tip.
hg tip --template 'hg-{rev}:{node|short}' || echo "hg-0:baadf00d"