etlegacy-libs/sdl2/build-scripts/showrev.sh
2016-12-04 14:33:54 +01:00

5 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)