]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: do not support code.google.com/r/zzz projects
authorRuss Cox <rsc@golang.org>
Fri, 13 Sep 2013 01:47:56 +0000 (21:47 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 13 Sep 2013 01:47:56 +0000 (21:47 -0400)
This reverts CL 13261048. I have just learned that these are
no longer supported on code.google.com (that is, it is impossible
to create them), so there is little reason to add support in
Go 1.2.

Update #5408

R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/13317046

src/cmd/go/vcs.go

index 655549009f1b29a0eb112551c09ef688822dbe20..22d5ebc244e96b6d7f4429e41c39817cfc86677a 100644 (file)
@@ -570,7 +570,7 @@ var vcsPaths = []*vcsPath{
        // Google Code - new syntax
        {
                prefix: "code.google.com/",
-               re:     `^(?P<root>code\.google\.com/[pr]/(?P<project>[a-z0-9\-]+)(\.(?P<subrepo>[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`,
+               re:     `^(?P<root>code\.google\.com/p/(?P<project>[a-z0-9\-]+)(\.(?P<subrepo>[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`,
                repo:   "https://{root}",
                check:  googleCodeVCS,
        },