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

cmd/go: update "go help remote" to use correct Google Code urls

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5489114
This commit is contained in:
Andrew Gerrand 2011-12-23 14:09:44 +11:00
parent 5962ef2c00
commit e8ae29588d
2 changed files with 8 additions and 11 deletions

View File

@ -38,7 +38,7 @@ By convention, this is arranged by starting each path with a
unique prefix that belongs to you. For example, paths used
internally at Google all begin with 'google', and paths
denoting remote repositories begin with the path to the code,
such as 'project.googlecode.com/'.
such as 'code.google.com/p/project'.
`,
}
@ -66,14 +66,11 @@ A few common code hosting sites have special syntax:
Google Code Project Hosting (Git, Mercurial, Subversion)
import "project.googlecode.com/git"
import "project.googlecode.com/git/sub/directory"
import "code.google.com/p/project"
import "code.google.com/p/project/sub/directory"
import "project.googlecode.com/hg"
import "project.googlecode.com/hg/sub/directory"
import "project.googlecode.com/svn/trunk"
import "project.googlecode.com/svn/trunk/sub/directory"
import "code.google.com/p/project.subrepository"
import "code.google.com/p/project.subrepository/sub/directory"
Launchpad (Bazaar)

View File

@ -18,9 +18,9 @@ List lists the packages named by the import paths, one per line.
The default output shows the package name and file system location:
books /home/you/src/google-api-go-client.googlecode.com/hg/books/v1
oauth /home/you/src/goauth2.googlecode.com/hg/oauth
sqlite /home/you/src/gosqlite.googlecode.com/hg/sqlite
books /home/you/src/code.google.com/p/google-api-go-client/books/v1
oauth /home/you/src/code.google.com/p/goauth2/oauth
sqlite /home/you/src/code.google.com/p/sqlite
The -f flag specifies an alternate format for the list,
using the syntax of package template. The default output