diff options
author | Andrew Gerrand <adg@golang.org> | 2011-12-23 14:09:44 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2011-12-23 14:09:44 +1100 |
commit | c5cfdce26a624b375e13b54550c6807d195b6cee (patch) | |
tree | 88cd80a66432921ddcd920951b0ee27d1861100a | |
parent | de741fe5deb92839b6bacc2d9bd66d5f785f507c (diff) | |
download | go-c5cfdce26a624b375e13b54550c6807d195b6cee.tar.gz |
cmd/go: update "go help remote" to use correct Google Code urls
R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5489114
-rw-r--r-- | src/cmd/go/help.go | 13 | ||||
-rw-r--r-- | src/cmd/go/list.go | 6 |
2 files changed, 8 insertions, 11 deletions
diff --git a/src/cmd/go/help.go b/src/cmd/go/help.go index 2e8e79a47..f21d9b8c0 100644 --- a/src/cmd/go/help.go +++ b/src/cmd/go/help.go @@ -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) diff --git a/src/cmd/go/list.go b/src/cmd/go/list.go index 4d9fed793..21ebb5e20 100644 --- a/src/cmd/go/list.go +++ b/src/cmd/go/list.go @@ -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 |