Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Return an error code if Mercurial isn't installed

  • Loading branch information
slouken committed Dec 31, 2010
1 parent a3b84c5 commit 6af4aa6073878bc229424da00ef50e01384a39ab

File 1 of 1 in 6af4aa6

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