Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to push changes to remote mercurial repo after updating sourcetree

willswain September 11, 2017

Just updated to Sourcetree 2.3.1.0, 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\sourcetree_hg_auth.py: [Errno 2] No such file or directory: 'C:/Users/Will/AppData/Local/SourceTree/app-2.3.1/extras/hgext/sourcetree_hg_auth.py'

Any help much appreciated.

3 answers

1 accepted

6 votes
Answer accepted
v_belyavskiy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2017

I think I solved this problem by updating embedded mercurial

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

willswain September 12, 2017

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. 

Deleted user September 12, 2017

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

Iain Higgins September 12, 2017

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

dvukelic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 20, 2017

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

1 vote
Iain Higgins September 11, 2017

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.

willswain September 12, 2017

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

Iain Higgins September 12, 2017

Yes, it worked for me too. 

0 votes
Iain Higgins September 11, 2017

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events