mirror of
https://github.com/golang/go
synced 2024-11-25 09:17:57 -07:00
build: don't require hg for build
R=golang-dev, dsymonds, n13m3y3r CC=golang-dev https://golang.org/cl/4873048
This commit is contained in:
parent
175849295c
commit
241a262fe5
@ -5,8 +5,9 @@
|
|||||||
|
|
||||||
# Check that we can use 'hg'
|
# Check that we can use 'hg'
|
||||||
if ! hg version > /dev/null 2>&1; then
|
if ! hg version > /dev/null 2>&1; then
|
||||||
echo 'hg not installed' 1>&2
|
echo 'unable to report version: hg not installed' 1>&2
|
||||||
exit 2
|
echo 'unknown'
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get numerical revision
|
# Get numerical revision
|
||||||
|
Loading…
Reference in New Issue
Block a user