Commit 0db1eb56 authored by Sam Lantinga's avatar Sam Lantinga

Return an error code if Mercurial isn't installed

parent 9854e3dd
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
# FIXME: this prints the tip, which isn't useful if you're on a different # FIXME: this prints the tip, which isn't useful if you're on a different
# branch, or just not sync'd to the tip. # 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment