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

Commit

Permalink
Add a default revision string if we can't find hg
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 10, 2010
1 parent 6ae1af0 commit 1b0384f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build-scripts/showrev.sh
Expand Up @@ -4,5 +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}'

hg tip --template 'hg-{rev}:{node|short}' || echo "hg-0:baadf00d"

0 comments on commit 1b0384f

Please sign in to comment.