From 913f1f1557541f2b16ca13a71d498a85fa585374 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 12 Sep 2013 21:47:56 -0400 Subject: [PATCH] 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 --- src/cmd/go/vcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, -- 2.51.0