404 on go get x/codereview/patch

I used to be able to run:

$ go get golang.org/x/codereview/patch

without issue, now I get:

$ go get golang.org/x/codereview/patch
# cd .; hg clone -U https://code.google.com/p/go.codereview project/src/golang.org/x/codereview
abort: HTTP Error 404: Not Found

the URL https://code.google.com/p/go.codereview redirects to https://github.com/golang/go.

If there was a change, what should I go get now?

The location of that source has moved and changed vcs which go get cannot understand (it’s just a simple wrapper around hg and git).

A fix might be to delete $GOPATH/src/golang.org/x/codereview and do the go get again to fix it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.