Mercurial not found

After updating TortoiseHg from v3.9.2 to v4.0, SourceTree now reports "Mercurial not found" when launched. The Mercurial executable file hg.exe still exists in C:\Program Files\TortoiseHg. The SourceTree dialog has a "Browse to the location of Mercurial" button, but it does not do anything (expected behavior: a file explorer window would open so I could point to hg.exe; observed behavior: no explorer window opens, and the SourceTree dialog simply reappears with the same message). Is anybody else seeing this? Does SourceTree perhaps not recognize Mercurial v4.0? (Windows 10 Pro, 64-bit, SourceTree 1.9.6.1).

2 answers

Follow-up: SourceTree v1.6.22.0 does not have this problem. The issue manifested in 1.9.6.1 and 1.9.6.2, but went away when I uninstalled and reverted to 1.6.22.0.

Just installed fresh 1.9.10.0 on a clean machine. Same problem, it wouldn't let me use the system git and mercurial. I had to let the application download internal ones as there was no other option to use it.

The "use system mercurial" button in the Options does nothing.

FWIW, the "Use System Mercurial" button still does nothing in SourceTree v2.0.19.1. Like you (and others, I'm sure), I'm stuck with SourceTree using its out-of-date embedded version of Mercurial, 3.7.3, although the latest Mercurial 4.1.3 is installed and working on my machine.

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...

1,129 views 4 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