Source

transcode-tcforge / hgversion.sh

Full commit
1
2
3
4
5
6
7
#!/bin/sh
HGVER=`hg identify -i | tr -d '+\n'`
if [ -z "$HGVER" ]; then
	HGVER="unknown"
fi
echo -n $1$HGVER