build-scripts/showrev.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 20 Jul 2010 00:57:01 -0700
changeset 4559 f8c3870af5a2
parent 4464 fa77a6429698
child 4935 a727eda441be
permissions -rwxr-xr-x
Fixed X11 error when running under window managers that don't support the _NET_SUPPORTING_WM_CHECK protocol.

#!/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"