You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A tool I'm using is looking up some repository information using this library. I kept on getting a "The remote does not match the VCS endpoint" error so I investigated a bit.
Turns out that this library is getting called as follows: repo, err := vcs.NewRepo("", repoRoot). Notice the empty remote address which works fine for Git repositories but it seems to fail for Mercurial.
Hi,
A tool I'm using is looking up some repository information using this library. I kept on getting a "The remote does not match the VCS endpoint" error so I investigated a bit.
Turns out that this library is getting called as follows:
repo, err := vcs.NewRepo("", repoRoot)
. Notice the empty remote address which works fine for Git repositories but it seems to fail for Mercurial.I think this is a bug in https://github.com/Masterminds/vcs/blob/master/hg.go#L47:
should be instead:
I just wanted to ask if this is intended behaviour or a bug. In case this is a bug, I'd be happy to open a PR.
The text was updated successfully, but these errors were encountered: