1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:24:40 -07:00

cmd/go: fix capitalization of Bitbucket, document Git support

Fixes #5226.

R=golang-dev, minux.ma, iant
CC=golang-dev
https://golang.org/cl/8320044
This commit is contained in:
John Howard Palevich 2013-04-07 04:06:11 +08:00 committed by Shenghou Ma
parent 28110e5d7c
commit 1142c2f418
3 changed files with 6 additions and 6 deletions

View File

@ -582,7 +582,7 @@ a revision control system.
A few common code hosting sites have special syntax:
BitBucket (Mercurial)
Bitbucket (Git, Mercurial)
import "bitbucket.org/user/project"
import "bitbucket.org/user/project/sub/directory"

View File

@ -20,13 +20,13 @@ denotes the package in that directory.
Otherwise, the import path P denotes the package found in
the directory DIR/src/P for some DIR listed in the GOPATH
environment variable (see 'go help gopath').
environment variable (see 'go help gopath').
If no import paths are given, the action applies to the
package in the current directory.
The special import path "all" expands to all package directories
found in all the GOPATH trees. For example, 'go list all'
found in all the GOPATH trees. For example, 'go list all'
lists all the packages on the local system.
The special import path "std" is like all but expands to just the
@ -68,7 +68,7 @@ a revision control system.
A few common code hosting sites have special syntax:
BitBucket (Mercurial)
Bitbucket (Git, Mercurial)
import "bitbucket.org/user/project"
import "bitbucket.org/user/project/sub/directory"
@ -232,7 +232,7 @@ Here's an example directory layout:
bar.a (installed package object)
Go searches each directory listed in GOPATH to find source code,
but new packages are always downloaded into the first directory
but new packages are always downloaded into the first directory
in the list.
`,
}

View File

@ -641,7 +641,7 @@ func oldGoogleCode(match map[string]string) error {
}
// bitbucketVCS determines the version control system for a
// BitBucket repository, by using the BitBucket API.
// Bitbucket repository, by using the Bitbucket API.
func bitbucketVCS(match map[string]string) error {
if err := noVCSSuffix(match); err != nil {
return err