1. Francesco Romani
  2. transcode-tcforge

Source

transcode-tcforge / hgversion.sh

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