]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add Subversion support to the local vcstest server
authorBryan C. Mills <bcmills@google.com>
Thu, 1 Sep 2022 12:22:14 +0000 (08:22 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 25 Oct 2022 13:44:48 +0000 (13:44 +0000)
commit8749d12bb76db77cdf37d47d666a5962b8a5928b
tree8a0ad07a8a2cefcce851ae25c6eb3712c21d4ee8
parent71048daa2f4e0c23b651d56fa157e1a75e098a82
cmd/go: add Subversion support to the local vcstest server

With this change applied, 'go test cmd/go/...' passes
even with the IP routing for vcs-test.golang.org disabled
using 'ip route add blackhole $VCSTEST_IP/32'.

Fixes #27494.

Change-Id: I45651d2429c7fea7bbf693b2f129e260e1c59891
Reviewed-on: https://go-review.googlesource.com/c/go/+/427914
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/vcs/vcs.go
src/cmd/go/internal/vcweb/script.go
src/cmd/go/internal/vcweb/svn.go [new file with mode: 0644]
src/cmd/go/internal/vcweb/vcstest/vcstest.go
src/cmd/go/internal/vcweb/vcweb.go
src/cmd/go/testdata/vcstest/svn/hello.txt [new file with mode: 0644]
src/cmd/go/testdata/vcstest/svn/nonexistent.txt [new file with mode: 0644]
src/cmd/go/testdata/vcstest/svn/test1-svn-git.txt [new file with mode: 0644]
src/cmd/go/testdata/vcstest/svn/test2-svn-git.txt [new file with mode: 0644]