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

System Mercurial in non-standard location (Mac)

I installed Mercurial via HomeBrew, which puts it into /usr/local/Cellar/mercurial . This means I can't use the system Mercurial in SourceTree, because it complains about the location. Any work arounds for this?

3 answers

I have Mercurial installed using Homebrew, this path worked for me:

/usr/local/Cellar/mercurial/3.8.4/lib/python2.7/site-packages/mercurial

Note: you may have to tweak the mercurial version number. Also, when I attempted to link to the hg file in /usr/local/Cellar/mercurial/3.8.4/bin/ or the link in /usr/local/bin/hg it did not work.

SourceTree has the same problem with git and gpg, somehow it doesn't like symlinks which is very annoying on an *nix system.

I'm not familiar with HomeBrew. Can you put a symlink to mercurial in the location SourceTree expects?

Apparently SourceTree is on to that kind of trick. :sad:

At this point it might be helpful to share what error messages you're getting.

"Mercurial was not found on on your system in the standard locations; the SourceTree internal version will be used."

Suggest an answer

Log in or Sign up to answer
TAGS
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,989 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