diff options
author | Sam Lantinga <slouken@libsdl.org> | 2010-05-09 19:55:28 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2010-05-09 19:55:28 -0700 |
commit | bdfc4ceca81da9acb93920271336932637ad0422 (patch) | |
tree | 884a84cacadf7a373ce82f3736e17935d9e49a55 | |
parent | 99cb7856d4db5a5eb80154061398e51bdad9e1a4 (diff) | |
download | sdl-bdfc4ceca81da9acb93920271336932637ad0422.tar.gz |
Add a default revision string if we can't find hg
-rwxr-xr-x | build-scripts/showrev.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build-scripts/showrev.sh b/build-scripts/showrev.sh index 4607d6422..54996869a 100755 --- a/build-scripts/showrev.sh +++ b/build-scripts/showrev.sh @@ -4,5 +4,4 @@ # 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}' - +hg tip --template 'hg-{rev}:{node|short}' || echo "hg-0:baadf00d" |