Mac SourceTree produces a lot of errors due to old hg extenson, how do I reset to the correct ones

I had TortoiseHg installed when I first ran SourceTree, I have since deleted it, but now SourceTree give me these errors.

*** failed to import extension gestalt from /Applications/TortoiseHg.app/Contents/Resources/kilnext/gestalt.py: [Errno 2] No such file or directory
*** failed to import extension kilnauth from /Applications/TortoiseHg.app/Contents/Resources/kilnext/kilnauth.py: [Errno 2] No such file or directory
*** failed to import extension kilnpath from /Applications/TortoiseHg.app/Contents/Resources/kilnext/kilnpath.py: [Errno 2] No such file or directory
*** failed to import extension big-push from /Applications/TortoiseHg.app/

etc.

I've got no extensons defined in my .hg/hgrc file but can't find where SourceTree set these paths.

Thanks

3 answers

1 accepted

1 vote
Accepted answer

Tortoise probably added this to your ~/.hgrc (the global one, not the local .hg/hgrc), if you delete them there you should be fine.

Thanks for the info.

I'm having the same problem.. where would I find the global hgrc file?

A little new to all this still

It's in your user home directory, a file called '.hgrc'. This is a hidden file becuase of the leading period so you won't see it in Finder unless you show hidden files. More simply as a one-off, you can just open Terminal and type:

open -t ~/.hgrc

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

824 views 3 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you