JeremySkinner / posh-hg

Mercurial integration for PowerShell
http://www.jeremyskinner.co.uk
125 stars 43 forks source link

Prompt hangs intermittently #31

Closed jaraco closed 9 years ago

jaraco commented 9 years ago

I continue to run into the same issue reported in this Superuser question which implicated posh-git.

When I run into the issue, it causes my Powershell to fail (hang indefinitely) after any command. The only way I've found to recover is to rename my Powershell profile (causing it to be disabled), start Powershell (maybe even as non-admin), and then restore my profile.

As I mention in the answer to the question, the issue appears to have been fixed for posh-git, likely in this commit.

I would be very interested in getting this fix applied to posh-hg as well. I'd gladly help incentivize a fix if I can. Just let me know you're interested and capable of solving the issue and I'll create a bountysource bounty.

JeremySkinner commented 9 years ago

I'm not actually actively developing posh-hg anymore, but I'm happy to make the same change that was in the commit you linked to. I'l ltry and get around to it either today or tomorrow.

JeremySkinner commented 9 years ago

I've made the change referenced in the posh-git commit. Please give it a try and let me know if it makes a difference

jaraco commented 9 years ago

Awesome. I've pulled the changes and merged them with my own fork and updated my environment. Because it's an intermittent issue, I won't know for a few weeks if it has worked.

So for now, let's assume it has worked, and if it has not, then I will re-open the ticket.