]> Cypherpunks repositories - gostls13.git/commit
cmd/go: detect which VCS to use with Bitbucket when the API call fails.
authorBillie H. Cleek <bhcleek@gmail.com>
Sun, 21 Dec 2014 01:05:05 +0000 (17:05 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Apr 2015 09:57:12 +0000 (09:57 +0000)
commita2d12201adb3143c8f1f3d1528c1c0ab961ab98d
treef9c661c51acf10da20968d93e9478823cd10b19b
parent878a86a129ceb771f677c8391a9f5c891e5be7c3
cmd/go: detect which VCS to use with Bitbucket when the API call fails.

      The API call will fail when Bitbucket repositories are private. In
that case, probe for the repository using vcsCmd.ping.

      Fixes #5375

Change-Id: Ia604ecf9014805579dfda4b5c8e627a52783d56e
Reviewed-on: https://go-review.googlesource.com/1910
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/bootstrap.go
src/cmd/go/http.go
src/cmd/go/vcs.go