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

Add a default revision string if we can't find hg

  • Loading branch information
slouken committed May 10, 2010
1 parent 6ae1af0 commit 1b0384f174de454951312ce751686985955ffcb3
Showing with 1 addition and 2 deletions.
  1. +1 −2 build-scripts/showrev.sh
@@ -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.