view build-scripts/showrev.sh @ 4435:e953700da4ca

Minor cleanup on Jiang's patch
author Sam Lantinga <slouken@libsdl.org>
date Thu, 15 Apr 2010 22:27:01 -0700
parents 5e7e1f1a4056
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}'