# HG changeset patch # User Sam Lantinga # Date 1293813609 28800 # Node ID a727eda441be051d68eb60cd2cc1480afd6d71e0 # Parent a5b86644c20807a252b7c22fe49d82c19a1ce53f Return an error code if Mercurial isn't installed diff -r a5b86644c208 -r a727eda441be build-scripts/showrev.sh --- 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)