# HG changeset patch # User Sam Lantinga # Date 1273460128 25200 # Node ID fa77a6429698b69af27ebb2d004640c046e8debf # Parent d1d5b665adc5afcd3874166a710218f4d1b46275 Add a default revision string if we can't find hg diff -r d1d5b665adc5 -r fa77a6429698 build-scripts/showrev.sh --- a/build-scripts/showrev.sh Sun May 09 19:51:21 2010 -0700 +++ b/build-scripts/showrev.sh Sun May 09 19:55:28 2010 -0700 @@ -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"