Return an error code if Mercurial isn't installed
authorSam Lantinga <slouken@libsdl.org>
Fri, 31 Dec 2010 08:40:09 -0800
changeset 4935a727eda441be
parent 4934 a5b86644c208
child 4936 e99358ca7a8d
Return an error code if Mercurial isn't installed
build-scripts/showrev.sh
     1.1 --- a/build-scripts/showrev.sh	Thu Dec 30 13:21:39 2010 -0800
     1.2 +++ b/build-scripts/showrev.sh	Fri Dec 31 08:40:09 2010 -0800
     1.3 @@ -4,4 +4,4 @@
     1.4  
     1.5  # FIXME: this prints the tip, which isn't useful if you're on a different
     1.6  #  branch, or just not sync'd to the tip.
     1.7 -hg tip --template 'hg-{rev}:{node|short}' || echo "hg-0:baadf00d"
     1.8 +hg tip --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)