It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to push changes to remote mercurial repo after updating sourcetree

Just updated to Sourcetree, Windows 10, and I'm getting the following error when trying to push:

hg commit -y --debug --traceback --logfile C:\Users\Will\AppData\Local\Temp\pyqa52k4.bd5
*** failed to import extension sourcetree_auth from C:\Users\Will\AppData\Local\SourceTree\app-2.3.1\extras\hgext\ [Errno 2] No such file or directory: 'C:/Users/Will/AppData/Local/SourceTree/app-2.3.1/extras/hgext/'

Any help much appreciated.

3 answers

1 accepted

6 votes
Answer accepted

I think I solved this problem by updating embedded mercurial

Tools -> Options -> Mercurial -> Update Embedded Mercurial

Thanks Victor. I wasn't using embedded hg, but I switched to it and updated and it works fine.

I guess I could have also updated the system version of hg too. 

Updating embedded Mercurial appears to have resolved for me as well.

Thanks Victor, worked for me too. I did have to restart SourceTree for the update to apply.

Thanks a lot! It was the solution. Also have to restart SourceTree like Iain said.

Workaround, I manually browsed the Sourcetree directory for my old version C:\Users\username\AppData\Local\SourceTree\app-2.1.11 and ran the SourceTree.exe from there. I opened the old version and I was able to push again.

Thanks Iain. Does Victor's solution work for you?

Yes, it worked for me too. 

Having the same issue here, windows 10 and same version of sourcetree

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,910 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you