diff options
author | Ethan Anderson <eanderson@atlassian.com> | 2021-12-14 10:59:06 -0600 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2022-02-07 16:30:18 +0000 |
commit | 0a15110f0851542732e2e0fa10fcc2114c306c7a (patch) | |
tree | bc8fa2022f941eae8fdbf907665ed9bb69180825 /src/cmd/go/internal/vcs/vcs_test.go | |
parent | 355915ba9105cad1b0300de1ff1ef30ee643379c (diff) | |
download | go-0a15110f0851542732e2e0fa10fcc2114c306c7a.tar.gz go-0a15110f0851542732e2e0fa10fcc2114c306c7a.zip |
[release-branch.go1.16] cmd/go: remove mercurial from bitbucket vcs options
Mercurial was deprecated as of July 1, 2020 as per https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket
Fixes #50811.
Updates #50810.
Change-Id: I0d40f84aaa393905cae7c4bed8919b15de9a5f6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/371720
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Bryan Mills <bcmills@google.com>
(cherry picked from commit 5b1b80beb1a2a9a353738e80777d1e25cfdfa095)
Reviewed-on: https://go-review.googlesource.com/c/go/+/380998
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'src/cmd/go/internal/vcs/vcs_test.go')
-rw-r--r-- | src/cmd/go/internal/vcs/vcs_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/go/internal/vcs/vcs_test.go b/src/cmd/go/internal/vcs/vcs_test.go index c5c7a3283b..a4fec3f8f8 100644 --- a/src/cmd/go/internal/vcs/vcs_test.go +++ b/src/cmd/go/internal/vcs/vcs_test.go @@ -183,6 +183,13 @@ func TestRepoRootForImportPath(t *testing.T) { "chiselapp.com/user/kyle/fossilgg", nil, }, + { + "bitbucket.org/workspace/pkgname", + &RepoRoot{ + VCS: vcsGit, + Repo: "https://bitbucket.org/workspace/pkgname", + }, + }, } for _, test := range tests { |