From 6af4aa6073878bc229424da00ef50e01384a39ab Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 31 Dec 2010 08:40:09 -0800 Subject: [PATCH] Return an error code if Mercurial isn't installed --- build-scripts/showrev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/showrev.sh b/build-scripts/showrev.sh index 54996869a..2a68fe694 100755 --- a/build-scripts/showrev.sh +++ b/build-scripts/showrev.sh @@ -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)