-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: spurious recursive VCS reference using Mercurial #22201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can recreate this by doing
The error I get is
There is no CC @rsc |
Change https://golang.org/cl/69670 mentions this issue: |
Reopening for 1.9.2. |
CL 69670 OK for Go 1.9.2. |
Change https://golang.org/cl/70839 mentions this issue: |
Change https://golang.org/cl/70984 mentions this issue: |
…CS test This error was not used when using git because nested git is permitted. Add test using Mercurial, so that at least we have a test, even though the test is not run by default. Fixes #22157 Fixes #22201 Change-Id: If521f3c09b0754e00e56fa3cd0364764a57a43ad Reviewed-on: https://go-review.googlesource.com/69670 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Russ Cox <[email protected]> Reviewed-on: https://go-review.googlesource.com/70839 Run-TryBot: Russ Cox <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
…CS test This error was not used when using git because nested git is permitted. Add test using Mercurial, so that at least we have a test, even though the test is not run by default. Fixes #22157 Fixes #22201 Change-Id: If521f3c09b0754e00e56fa3cd0364764a57a43ad Reviewed-on: https://go-review.googlesource.com/69670 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Russ Cox <[email protected]> Reviewed-on: https://go-review.googlesource.com/70984 Run-TryBot: Russ Cox <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
go1.9.2 has been packaged and includes: The release is posted at golang.org/dl. — golang.org/x/build/cmd/releasebot, Oct 26 21:09:22 UTC |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go 1.9.1, and confirmed issue not present with go 1.9
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOHOSTARCH="amd64"
GOHOSTOS="darwin"
It's Darwin 16.7.0 from macOS 10.12.6 but problem also observed in Linux docker images under Circle CI, so it appears to be platform independent.
What did you do?
I ran
go get -v -u -t -d ./...
twice on a project which pulls inbitbucket.org/pkg/inflect
as a dependency. When run with a clean tree, it succeeds without error. When run with the content already checked out, it errors. Across 385 lines of output from the above, there is one line of difference between the two:There is no
.hg
directory in the parent. This error appears spurious.If I switch
/usr/local/go
from 1.9.1 back to 1.9, thengo get -v -u -t -d ./...
succeeds.Thus 1.9.1 appears to be incorrectly determining that the parent is using hg and that this is some kind of conflict.
What did you expect to see?
No error, no difference between the two runs
What did you see instead?
A spurious failure.
The text was updated successfully, but these errors were encountered: