Cannot connect to Mercurial Repos in SourceTree for Windows

Is Mercurial support there? If this is Git only I am very sad.

7 answers

1 accepted

4 votes
Accepted answer

While I think it is great you have created a git and mercurial (coming soon) gui client for Windows, I think the way you have handled the lack of mercurial is piss poor.

A couple of suggestions:

1) On the webpage for download, somewhere state that it is Git only for now on Windows.

2) When I try and add a Mercurial directory I get an error message that says "The Path is not a valid Git or Mercurial repository working copy". That is a HORRIBLE error message! It should either just say "not a a valid Git repository" or it should say "we currently do not support Mercuial on Windows, but it will be coming soon". I spent way to long trying to understand why my mercurial repos were not being imported.

The error message was ported over from the Mac without fixing it for our temporary lack of hg, I'll change that for the moment. I agree the fact that hg is coming soon should be more explicit on the website, I'm arguing with people internally on that front.

Totally agreed. It was only after searching online and landing at this question after trying to add a Mercurial repository that I discovered it's currently not supported.

I have this exact same issue. Was looking to replace hg workbench with something newer and had heard good things about SourceTree but utterly dissappointed. Clunky unintuitive in many places which is alarming when it initially looks really slick but I had a nightmare trying to handle Mercurial repo's with the latest version of SourceTree (read 2015) it threw that same error mentioned above and keeps trying to treat Mercurial repo's as git ones! I love Atlassian products but this isn't their finest moment, gonna give SmartGit/Hg another go, it imrpessed the pants off me the last time.

I just resolved this after commenting above! Still find SourceTree clunky to use but I have resolved the repository issue. You will need to do a fresh clone manually using something like hg command line tools (I use git-bash with hg support). Once you have a fresh local copy of the source you should be able to hook it up to SourceTree

it were really great to have Mercurial support asap

As soon as we're able to get it in there, we will. It's high up on the list and we'll let the community know the status of Mercurial support :)

One would think that pronouncing a "A free Git & Mercurial client for Windows or Mac." that doesn't support Mercurial at all, is the exact opposite of letting "the community know the status of Mercurial support".

frontpage for sourcetree app is misleading!!! it says THERE IS MERCURIAL support, but it's simply not true :( what's the point of releasing a tool w/o advertised functionality?? killed two hours first to install and second to relize that there is no way to connect to mercurial repo :((

I just wanted to chime in and add that this was very frustrating to read. Everything indicates Mercurial support. I downloaded the software, installed .NET 4.5, rebooted for that, created a license key and imported it, setup my ssh key, all to find out that it just doesn't support Mercurial.

Verrrry frustrating.

I think everyone needs to relax. As far as I know, we (as a community) are not doing a single thing to help make Mercurial support for windows a reality. This workload falls on the developers who are willing to work very hard and give the product away for FREE. Let's cut them some slack and have a little patience.

Thanks Joe. Work on Mercurial support has started, we'll be getting it to people as soon as we can.

Hi Keith,

Only Git is supported at the moment, but Mercurial support is planned for version 1.0.


I am indeed (for the meantime anyway) sad.

It seems that Mercurial is becoming more and more a second class citizen these days.

Thanks anyway.

Don't worry, we don't treat Mercurial second class - we had to appeal to the masses first, and Git is more popular. Mercurial support has been planned from the start, we didn't plan it in by request (we personally use Mercurial, too)

agreed, the product page is HIGHLY misleading, while I understand it's supposed to be arriving soon, but the heart of the matters is that it's still misleading saying that it supports mercurial when at this point it does not, almost makes me want to uninstall it, BUT I will not, I will patiently wait for mercurial support, until then I shall be using tortoisehg

Apologies for the confusion, the page itself only says Git on Windows but the metadata / title can't be dynamic per platform. Luckily this will all go away once Mercurial support is added, which will be as soon as we can.

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

112 views 1 5
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