build-scripts/showrev.sh
author Ozkan Sezer <sezeroz@gmail.com>
Thu, 18 Oct 2018 11:58:00 +0300
changeset 12336 2f4ebd8f5693
parent 10420 0d91817f35e9
permissions -rwxr-xr-x
use less ancient versions of autofoo scripts
slouken@2982
     1
#!/bin/sh
slouken@2982
     2
#
slouken@2982
     3
# Print the current source revision, if available
slouken@2982
     4
slouken@10420
     5
hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)