SourceTree hg merge - Unknown Command error

Looks like the commandline formatting is wrong and mercurial is unusable with sourcetree at the moment (latest win7 version at time of writing).

The revision seems to be missing the -r prefix in the command line for hg merge and so returns with an error.

5 answers

This widget could not be displayed.

Here is the exact error: (with both internal mercurial or external mercurial)

hg merge -y ui.merge=internal:merge 27321

hg: unknown command '27321'

This widget could not be displayed.

No response? It's impossible to use sourcetree with mercurial at the moment because of this problem.

I've pinged Steve who'll get back to you shortly. Sorry for the delay!

This widget could not be displayed.

The '-r' is actually optional (see hg merge --help) - I don't have any issues merging with SourceTree with either the embedded or system hg. Do you have any custom extensions enabled?

This widget could not be displayed.

Yes, actually I noticed the -r is optional so I wonder what is causing this problem?

We have largefiles and an extension to allow japanese filenames (utf8), but disabling both these extensions doesn't change the behaviour, and neither does using the internal mercurial.

We do have the more standard extensions, rebase and mq enabled, could it be one of these? They all say sourcetree internal though so I presume they are safe?

This widget could not be displayed.

Anyone have any ideas? We are in a Japanese environment, is this causing a problem? (codepage?)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 8 hours ago in Featured Groups

Hi! I'm Cameron Deatsch, Head of Server at Atlassian and I'm hosting an AMA next week.

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. I'll be hosting an AMA over in our Questions section of the Community next Monday, so shoot me your questions, upvote others' question...

31 views 0 3
View post

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