Abort: could not find web.cacerts: C: \ Program Files (x86) \ Mercurial \ cacert.pem

I am new to Mercurial. I created a Bitbucket account, created a new private repo, and then tried to clone using the repo. I got this error: abort: could not find web.cacerts: C: \ Program Files (x86) \ Mercurial \ cacert.pem

I'm not sure how to handle this, as Google has provided me with several different solutions that seem to vary depending on the specifics of the case, and I would prefer not to blame anything by changing the configuration file incorrectly. Please note that I use the built-in Mercurial in Sourcetree. Any ideas or help?

+6
source share
1 answer

Open C:\Users\[UserName]\AppData\Local\Atlassian\SourceTree\hg_local\Mercurial.ini

And change:

cacerts=C:\Program Files (x86)\Mercurial\cacert.pem

with:

cacerts=C:\Users\[UserName]\AppData\Local\Atlassian\SourceTree\hg_local\cacert.pem

+17
source

Source: https://habr.com/ru/post/981646/


All Articles