Patching Mercurial Failed

I've just updated Mercurial to 2.7 and when I tell SourceTree to use the System Mercurial and select the correct directory, I get 'Patching Mercurial Failed":-

SourceTree requires a few small changes to Mercurial to run optimally, but applying one of these patches (hg_patch_prompting_hg1.9.diff) against your system copy failed with the error ''

SourceTree will use its internal copy of Mercurial instead.

Note: the error is empty. How do I fix this?

1 answer

1 accepted

Hi Chris,

Yes we don't support later versions of Mercurial yet for various reasons. We do plan on upgrading both the Git and Mercurial embedded versions, however it takes a lot of testing to make sure everything is working as expected. Our next round of major releases aren't going through a beta stage so as a result it means we won't be upgrading the embedded versions of supporting the cutting edge Mercurial version for a short while longer than expected.

This will be going higher up on our list of things to do, and hopefully we can support them in a sub-version.

I've created an issue for this here and marked it as critical:

Hope that helps

Kieran, how's this going? Mercurial is up to 2.9, with a 3.0 RC. SourceTree still ships 2.2 and can't use 2.9 as the system hg because its plugins are not compatible. If the consequence of not having a beta stage is sticking with a two year old (May 2012) dependency series, should you perhaps re-think the beta?

Hey Garth,

Sorry about this, looks like it slipped off the radar for 1.8. I'll be working on this as a minor release for 1.9 instead in the very near future. The Windows version of SourceTree already handles this so we already know how to address this.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

246 views 0 12
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