add git/hg version to output