From: Russ Cox Date: Fri, 13 Sep 2013 01:47:56 +0000 (-0400) Subject: cmd/go: do not support code.google.com/r/zzz projects X-Git-Tag: go1.2rc2~228 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=913f1f1557541f2b16ca13a71d498a85fa585374;p=gostls13.git cmd/go: do not support code.google.com/r/zzz projects 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 --- diff --git a/src/cmd/go/vcs.go b/src/cmd/go/vcs.go index 655549009f..22d5ebc244 100644 --- a/src/cmd/go/vcs.go +++ b/src/cmd/go/vcs.go @@ -570,7 +570,7 @@ var vcsPaths = []*vcsPath{ // Google Code - new syntax { prefix: "code.google.com/", - re: `^(?Pcode\.google\.com/[pr]/(?P[a-z0-9\-]+)(\.(?P[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`, + re: `^(?Pcode\.google\.com/p/(?P[a-z0-9\-]+)(\.(?P[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`, repo: "https://{root}", check: googleCodeVCS, },