Skip to content

Latest commit

 

History

History
executable file
·
5 lines (4 loc) · 143 Bytes

showrev.sh

File metadata and controls

executable file
·
5 lines (4 loc) · 143 Bytes
 
1
2
3
4
#!/bin/sh
#
# Print the current source revision, if available
Oct 1, 2016
Oct 1, 2016
5
hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)