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

2 answers

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

Just installed fresh 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 Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

276 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot