Your selected Mercurial is older than 3.7.3. - How to update?
Asked by Dryw Wade:

I just updated to SourceTree v. 1.9.5.0, and whenever I open it, I get a window that tells me that Mercurial is out of date (see photo). When I close the window, SourceTree runs just fine. Any ideas on why this happened, or how to fix it? Thanks!

st_mercurial.PNG  
[](https://community.atlassian.com/t5/Sourcetree-questions/Your-selected-Mercurial-is-older-than-3-7-3-How-to-update/qaq-p/147701?attachment-id=12389){#link_1168faae8957d3}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/4361/1/st_mercurial.PNG){#display_1168faae8957d3_0}


Answers:
author: Seth
body: Try going to Options \> Mercurial. If you are using Embedded Mercurial, there should be a button to upgrade. If you are using system Mercurial, it's up to you.

comments: author: Dryw Wade
body: Perfect, thanks!


author: Ryan Potts
body: To get past the warning message Check the box for Don't ask me again then click close. You will then find your self in SourceTree. My experience was that if I didn't check the box the software would close and I was left wondering what to do. Seth's instructions take care of updating the embedded Mercurial.


author: Dryw Wade
body: I didn't check the box, because I wanted to fix the issue rather than ignore it.


author: Matthias Stevens
body: On my machine (Win10 x64) when I click "Close" (weather or not having checked "Don't ask me again") I see a SourceTree crash report window (i.e. ST seems to have crashed) and never actually see the ST window. In other words, the mercurial problem is completely locking me out of ST.


author: J?rgen N?rgaard
body: I'm behind a firewall where this seems not to work (unable to update embedded mercurial).  

Did make me wonder though, why the embedded stuff is not part of the update?  
Embedded seems to suggest just that; to me at least.

/j?rgen


author: Brent Rossow
body: @Matthias Stevens \~ There is an update to SourceTree (released on/around 29th July) that addresses problems with the Windows 10 Anniversary Update. If you've installed that Win10 update, try grabbing the latest ST. (See [this thread](https://www.reddit.com/r/Unity3D/comments/4vx48i/if_you_installed_the_windows_10_anniversary/) on Reddit for a possible workaround if for some reason you don't want to or can't update ST.) I haven't had this problem personally (still on Win7) but saw your comment and thought I'd mention this.


author: Matthias Stevens
body: @Brent Rossow: Thanks, version 1.9.6.1 indeed solved the problem.


author: Johan E. Bengtsson
body: It seems a bit silly that SourceTree bugs the user about this, while not offering any hint on HOW to do the update (or offering to do the update, or actually doing the update as part of updating SourceTree - I got the very latest SourceTree version). I never heard about Mercurtial either... it seems I am using Git only.

I found the Options... Mercurial tab, and used the "Updated embedded Mercurial" button. I had to then restart SourceTree to get rid of the cryptic pop-up.


author: Seth
body: @Johan E. Bengtsson - If you think something should be changed, submit a bug report or feature request to jira.atlassian.com. Everyone who has participated on this question is a user like you. We might fully agree with you, but we can't do anything about it.

If you do submit on jira, post a link here, and the others who have had a similar issue can find it and vote it up.


author: Peter McLarty
body: Added a JIRA to get this resolved, ridiculously obvious this is a bug which requires resolving by Atlassian <https://jira.atlassian.com/browse/SRCTREEWIN-6713>


author: Pinski
body: Why not just let us update directly from the pop up?


author: Peter McLarty
body: I would except it doesn't work, it might be due to the proxy, but the application has proxy settings done for its other stuff Sourcetree reminds me each time there is an update so that works. It doesn't seem to be able to handle downloading and installing the update behind the proxy


author: Harpreet Singh
body: Follow below steps to resolve this issue

1. Open SourceTree
2. GoTo Tools \>\> Options
3. In Options Console, Click on Mercurial Tab
4. Click on Update Embedded Mercurial Button. It will doenload and update the Mercurial in your Source Tree
5. Almost in all above steps it will keep on showing that popup. Just close it.
6. Once Update is done, restart the SourceTree.

You are all SET.

Cheers,

Harpreet

comments: author: Kim Dennison
body: Perfect! Very simple. Thank you, Harpreet!


author: Betty Zhang
body: Excellent, Harpreet !!!! Thanks.


Tags: mercurial