]> Cypherpunks repositories - gostls13.git/commit
cmd/go: copy git reuse and support repos to hg
authorRuss Cox <rsc@golang.org>
Wed, 5 Nov 2025 23:19:20 +0000 (18:19 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 7 Nov 2025 22:16:34 +0000 (14:16 -0800)
commit7995751d3ae20f82cbd6ef2a893c35bb92f8d2e6
tree7a9eb05088f3fd917aa7432cebbdee6e76a2856f
parent66c7ca7fb3f2e51c39b6b29c8ea9ade62cd08ec5
cmd/go: copy git reuse and support repos to hg

The reuse_hg.txt is reuse_git.txt with a skip at the top
and a global substitute of git->hg and fetch->pull.

The prefixtagtests.txt and tagtests.txt are straight
copies of the git equivalents.

This is to set up a readable diff in the followup CL
that turns it into a reuse test for hg.

For #75119.

Change-Id: I50c7f5559ee6479f8328ed54c14eafcc7f1ecc1f
Reviewed-on: https://go-review.googlesource.com/c/go/+/718381
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/testdata/script/reuse_hg.txt [new file with mode: 0644]
src/cmd/go/testdata/vcstest/hg/prefixtagtests.txt [new file with mode: 0644]
src/cmd/go/testdata/vcstest/hg/tagtests.txt [new file with mode: 0644]