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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

572 views 1 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