Return an error code if Mercurial isn't installed

This commit is contained in:
Sam Lantinga 2010-12-31 08:40:09 -08:00
parent 9854e3dd2d
commit 0db1eb5652

View file

@ -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)