SCM stopped working?
Asked by ezolhof:

Hi, I have both Sourcetree and Tortoise installed in Windows 7. I was running older versions of both and decided to update Sourcetree first, Tortoise second.  

Tortoise projects are working fine but every time Sourcetree tries to connect to the repository (Pull) it pops up a window saying: "Fast scalable distributed SCM (revision control, version control) system has stopped working". I tried reinstalling/repairing both Sourcetree and Tortoise but not luck so far :/  

Any ideas? Thanks in advance!


Answers:
author: Mike Corsaro
body: Hello! So it sounds like something is wrong with your Git install. Could you try switching from "System Git" to "Embedded Git" (or vice-versa) in "Tools \> Options \> Git" and see if that helps? Thanks!

comments: author: ezolhof
body: Hi Mike! Thanks for the reply. I switched between both "System Git" and "Embedded Git" several times, also tried updating the embedded Git (and Mercurial as well, just in case) and tried to use system Git (and Mercurial) pathing to all possible .exe's I could find (all dated 2017) - nothing worked :(


author: Mike Corsaro
body: Could you try and run the command from the command-line and see if that works? Just open the repo, click the "Terminal" button and try running "git pull" and see if it crashes.


author: ezolhof
body: "git pull" returns "git is not recognized as an internal or external command, operable program or batch file." **but** "hg pull" returns a "pull from *repo* *address*" message and then it pops up the error window (it doesn't exactly crash Sourcetree).


author: Mike Corsaro
body: Sounds like git isn't in your system PATH. Could you try downloading and re-installing git?


author: ezolhof
body: Download the most recent one (2.17), didn't work :( uninstalled it and tried to use the embedded one again (2.15.1), still didn't work.  

Tried "git pull" on both occasions, same message as before. Also tried to disable LibGit2 integration and checked my Firewall settings, nothing worked.

I logged in my Bitbucket account and tried to clone the repository again, it pops up the error window. Looks like there's something blocking the connection between Sourcetree and the repositories on both projects I'm working on.


author: Fabio Hening
body: Hi,

I'm facing the VERY same problem than Eduardo. Tried everything he tried so far, and also is not working for me as well.

Any idea?

/Fabio


author: Mike Corsaro
body: Hello! There's a known issue with the git-credential-manager that might be the root cause of this. Please take a look at this:

<https://community.atlassian.com/t5/Sourcetree-discussions/dev-team-Known-Issue-Bitbucket-Login-with-Git-Credential-Manager/td-p/863235>


author: Fabio Hening
body: Hi Mike,

Thanks for your reply. But unfortunately i can't find myself in any of that scenario described on your link. I'm not using/authenticating with bitbucket. I'm actually trying to Clone from a git repo inside TFS tool on my company. Anyway i'll try a few more things, in other computer and maybe another tool as well.

Thanks for you support.


author: ezolhof
body: Hey Fabio,  

I upgraded my Windows 7 to 10 and it solved the issue - everything else I tried didn't work :/


author: Fabio Hening
body: Hi Eduardo,

That's definitely not an exciting news, but even though is really good to know. Fortunately in the company that I work we are in process to migrate from win7 to win10.

Thank you very much for your input here.


Tags: source-control

tortoise

windows