Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Return an error code if Mercurial isn't installed
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 31, 2010
1 parent a3b84c5 commit 6af4aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-scripts/showrev.sh
Expand Up @@ -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)

0 comments on commit 6af4aa6

Please sign in to comment.