build-scripts/showrev.sh
author Ryan C. Gordon <icculus@icculus.org>
Sun, 28 Feb 2010 02:07:40 -0500
changeset 4419 5e7e1f1a4056
parent 3280 00cace2d9080
child 4464 fa77a6429698
permissions -rwxr-xr-x
Changed revision details to be a string (an hg changeset) instead of an int.
     1 #!/bin/sh
     2 #
     3 # Print the current source revision, if available
     4 
     5 # FIXME: this prints the tip, which isn't useful if you're on a different
     6 #  branch, or just not sync'd to the tip.
     7 hg tip --template 'hg-{rev}:{node|short}'
     8