Return an error code if Mercurial isn't installed
This commit is contained in:
parent
9854e3dd2d
commit
0db1eb5652
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue