1
0
Fork 0
mirror of https://github.com/Ryujinx/SDL.git synced 2025-01-30 21:51:01 +00:00
SDL/build-scripts/showrev.sh

8 lines
255 B
Bash
Raw Normal View History

2013-11-29 13:06:08 +00:00
#!/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"; exit 1)