]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: update "go help remote" to use correct Google Code urls
authorAndrew Gerrand <adg@golang.org>
Fri, 23 Dec 2011 03:09:44 +0000 (14:09 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 23 Dec 2011 03:09:44 +0000 (14:09 +1100)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5489114

src/cmd/go/help.go
src/cmd/go/list.go

index 2e8e79a47127a11e6343fb02c305052338c9177d..f21d9b8c016dd8d80c93516202dc7a66f6770374 100644 (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)
 
index 4d9fed793fa05c20322e7b7e7e99379dfc01140e..21ebb5e2009c4b4af56c2f2942cf36c29a7f3ff4 100644 (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