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

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

0 votes
Answer 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 in Bitbucket

Bitbucket Server 7.0 is here!

Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...

1,136 views 6 5
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