You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce the problem:
1. Do a fresh installation of the latest Go release (1.3.3) from source, as described in
http://golang.org/doc/install/source
2. Install all the tools with 'go get code.google.com/p/go.tools/cmd/...' (again as
described in http://golang.org/doc/install/source).
What happened?
Running 'go version' prints:
'go version go1.3.3 linux/amd'
But running 'cd $GOPATH/src/code.google.com/p/go.tools/; hg branch' prints:
'default'
What should have happened instead?
Running 'hg branch' in the go.tools repo should print:
'release-branch.go1.3'
Additional information
This causes problems with tools such as godoc. For example, browsing the source for the
standard library using 'godoc -http=:6060' doesn't work, as godoc looks in the 1.4
source location '/src/...', instead of the 1.3 location '/src/pkg/...'. Worse still,
you can not even correct the URL in your browser by hand, as godoc will always redirect
'/src/pkg/...' to '/src/...'!
The text was updated successfully, but these errors were encountered:
I am pretty sure this is working as intended, but I will leave it open and come back when I have a little more time to think. The release-branch tag is for building a release, not for go get.
rsc
changed the title
x/tools: Go get fetches 'tip' for Go 1.3.3 installation
cmd/go: go get fetches 'tip' of go.tools for Go 1.3.3 installation
Apr 14, 2015
by beau.brueggemann:
The text was updated successfully, but these errors were encountered: