From 1b0384f174de454951312ce751686985955ffcb3 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 9 May 2010 19:55:28 -0700 Subject: [PATCH] Add a default revision string if we can't find hg --- build-scripts/showrev.sh | 3 +-- 1 file changed, 1 insertion(+), 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"