changeset 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 d1d5b665adc5
children 3e69e077cb95 36fad921c97f f5cd4b6231ba b7918263da92 6032ada8b9e5 5ff305de5834
files build-scripts/showrev.sh
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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"