SDL/build-scripts/showrev.sh

6 lines
143 B
Bash
Executable File

#!/bin/sh
#
# Print the current source revision, if available
hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)