]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: distinguish "unsupported" errors from RecentTag
authorBryan C. Mills <bcmills@google.com>
Mon, 29 Aug 2022 20:27:00 +0000 (16:27 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 29 Aug 2022 21:29:04 +0000 (21:29 +0000)
commit7b689dcbefbe5442b8b59a56efc1eced4fce233c
treeb921dd950ac528242f67801ed7f6e8f6bb34ba25
parent2113fefe7d4ac5634a5b0597ef1b465684c73076
cmd/go/internal/modfetch: distinguish "unsupported" errors from RecentTag

CL 426079 started checking errors from RecentTag.
Unfortunately, we forgot to run "-longtest" SlowBots, and it turns out
to have broken non-short tests for non-git VCS implementations,
because those don't implement the RecentTag method.

Updates #53935.

Change-Id: I5935f2f4b3f684515e99e8bf70a840154c36249f
Reviewed-on: https://go-review.googlesource.com/c/go/+/426495
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/modfetch/codehost/codehost.go
src/cmd/go/internal/modfetch/codehost/vcs.go
src/cmd/go/internal/modfetch/coderepo.go