tools/go/vcs
Chris Manghane dfa65ded17 go.tools: add go/vcs
go/vcs exposes cmd/go/vcs.go from the `go get` command.

- Exported global variables `Verbose` and `ShowCmd` to replace `buildV` and `buildX` from cmd/go/main.go.
- Moved environment building code (envForDir, mergeEnvLists)from cmd/go/main.go to env.go
- Exported Cmd and its methods: Create, Download, Ping, TagSync, and Tags
- Exported ByCmd and FromDir functions for constructing Cmd
- Exported TagCmd
- Exported RepoRoot
- Exported RepoRootForImport* functions for constructing RepoRoot

R=golang-dev, adg, cmang, bradfitz
CC=golang-dev
https://golang.org/cl/12058054
2013-08-15 09:00:02 -07:00
..
discovery.go go.tools: add go/vcs 2013-08-15 09:00:02 -07:00
env.go go.tools: add go/vcs 2013-08-15 09:00:02 -07:00
http.go go.tools: add go/vcs 2013-08-15 09:00:02 -07:00
vcs.go go.tools: add go/vcs 2013-08-15 09:00:02 -07:00
vcs_test.go go.tools: add go/vcs 2013-08-15 09:00:02 -07:00