]> Cypherpunks repositories - gostls13.git/commit
cmd/go: allow 'go get' to downgrade to replacement-only versions
authorBryan C. Mills <bcmills@google.com>
Wed, 28 Oct 2020 18:20:31 +0000 (14:20 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 29 Oct 2020 15:56:41 +0000 (15:56 +0000)
commit152468070946c6b8688bff2c0cccd2bc72904722
tree6b1012008531addfd5e24489fbf86f8a5156c9ce
parent68e30af111da6fdfa0c4f0b71b9fabe37bbfe2df
cmd/go: allow 'go get' to downgrade to replacement-only versions

This fixes a case missed in CL 258220.

For #36460
Updates #26241
Updates #37438

Change-Id: I5e8c2ee1e08e41cc2eb34e54c617cb5e4bf69c5e
Reviewed-on: https://go-review.googlesource.com/c/go/+/266018
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modload/mvs.go
src/cmd/go/testdata/script/mod_get_replaced.txt
src/cmd/go/testdata/script/mod_lazy_downgrade.txt [new file with mode: 0644]