view build-scripts/showrev.sh @ 4419:5e7e1f1a4056

Changed revision details to be a string (an hg changeset) instead of an int.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 28 Feb 2010 02:07:40 -0500
parents 00cace2d9080
children fa77a6429698
line wrap: on
line source

#!/bin/sh
#
# Print the current source revision, if available

# 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}'