mrcrowl / vscode-hg

Integrated Mercurial source control for Visual Studio Code
MIT License
71 stars 37 forks source link

Plugin not recognizing repros on Ubuntu (works on OSX) #58

Closed oursoc closed 4 years ago

oursoc commented 6 years ago

I have copies of the same repo on Ubuntu and OSX. I use VSCode on both. The Hg plug-in recognizes my repros on OSX, but not on Ubuntu.

I have no idea how to start debugging this. Any pointers would be helpful.

mrcrowl commented 5 years ago

Sorry, I realise this is a really old issue now.

Do you know whereabouts is hg installed for Ubuntu?

Does the hg log windrow report anything? (Under output panel)

hdpoliveira commented 4 years ago

We now have tests running in Ubuntu, and also a warning when the tool did not find Mercurial installation instructing the user on how to proceed.

@oursoc can we close this issue?

1point618 commented 4 years ago

Funny enough I came here to report this same thing. Mercurial is installed and apparently being detected, and default is set in the repos' .hg/hgrc files, but the extension doesn't recognize that and gives me a pop-up which sends me to the local user hgrc file.

Running 18.04 so I know I'm a few Ubuntu updates behind, that's my company's dev environment.

incidentist commented 4 years ago

@1point618 Your issue sounds slightly different: the extension finds the hg executable but is not recognizing the paths set on the repo, whereas the original issue is about not being able to find the hg repo at all.

You can help us diagnose this by pasting the hg extension log here. To find that log, click Show hg output in the menu of the Source Control pane.

Screen Shot 2020-07-13 at 1 43 49 PM

I was unable to reproduce either issue on a fresh install of Ubuntu 18.

1point618 commented 4 years ago

I think I discovered the issue thanks to the logs there.

I had my source folder opened, which has multiple tracked repository folders inside of it.

I opened those as separate top-level folders in VS Code, it appears to be working now.

Thanks very much!

incidentist commented 4 years ago

Great! Given that, and that I can't repro the original issue, I'm closing this.