diff build-scripts/showrev.sh @ 4464:fa77a6429698

Add a default revision string if we can't find hg
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 May 2010 19:55:28 -0700
parents 5e7e1f1a4056
children a727eda441be
line wrap: on
line diff
--- a/build-scripts/showrev.sh	Sun May 09 19:51:21 2010 -0700
+++ b/build-scripts/showrev.sh	Sun May 09 19:55:28 2010 -0700
@@ -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"