-
Notifications
You must be signed in to change notification settings - Fork 18k
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
cmd/go: needs better diagnostics for vcs tool not found #3292
Labels
Comments
I thought this bug was about bad error messages from the Go tool if hg/git/svn weren't found, but they're quite fine, IMO: package code.google.com/p/rsc: exec: "hg": executable file not found in $PATH I'm not sure we need more than that. Then we'd be detecting which of twenty distros the user has and recommending the correct apt-get/yum/pkg_add command. Re-assigning back to adg. Owner changed to @adg. Status changed to WaitingForReply. |
Agree with Brad. We used to have various hand-holding errors in go/build and they turned out to be infinitely confusing when they were wrong. I deleted them all during the go/build rewrite. To apply to the current case, suppose we printed something about 'you don't have Mercurial installed; run this' when in fact they do have Mercurial installed, it's just not in their path. Let's let the error say what it knows and not assume it knows more. Russ |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: