...
Text file
src/cmd/go/testdata/script/mod_get_pseudo_hg_pseudo_incompatible.txt
1[!exec:hg] skip
2[short] skip
3
4# Testing hg->module converter's generation of +incompatible tags; turn off proxy.
5env GOPROXY=direct
6env GOSUMDB=off
7
8# v2.0.1-0.pseudo+incompatible
9go get ...test.hg@d6ad6040
10go list -m all
11stdout '^vcs-test.golang.org/hg/legacytest.hg v2\.0\.1-0\.\d{14}-d6ad604046f6\+incompatible$'
12
13-- go.mod --
14module x
15
16require vcs-test.golang.org/hg/legacytest.hg v1.0.0
17-- x.go --
18package x
19import "vcs-test.golang.org/hg/legacytest.hg"
View as plain text