Add a default revision string if we can't find hg
This commit is contained in:
parent
36bb08a19e
commit
d12afdaedb
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue