changeset 4935:a727eda441be

Return an error code if Mercurial isn't installed
author Sam Lantinga <slouken@libsdl.org>
date Fri, 31 Dec 2010 08:40:09 -0800
parents a5b86644c208
children e99358ca7a8d
files build-scripts/showrev.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build-scripts/showrev.sh	Thu Dec 30 13:21:39 2010 -0800
+++ b/build-scripts/showrev.sh	Fri Dec 31 08:40:09 2010 -0800
@@ -4,4 +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}' || echo "hg-0:baadf00d"
+hg tip --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)