Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

External Merge Tool Not Launching


I am attempting to use Meld as an external merge tool with the following config:

Merge Tool: Custom

Diff Command: C:\Program Files (x86)\Meld\Meld.exe

Arguments: $LOCAL $BASE $REMOTE --auto-merge --output=$MERGED

When I right-click on a conflicted file and select 'Resolve Conflicts' > 'Open External Merge Tool' I get the dialog for 'Visual Merge in Process' but the merge tool does not open.

The path is correct.

I am using Sourcetree for Windows, v2.6.10.0. System Git v2.17.1.

Does anyone have any ideas why it is not opening Meld?

3 answers

1 accepted

0 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 04, 2018

We don't formally test with Meld but trying it out now for diff and merge it seems to be working for me.

Its worth checking what 

>git config

returns, I get 

mergetool.sourcetree.cmd='C:/Program Files (x86)/Meld/meld/meld.exe' $LOCAL $BASE $REMOTE --auto-merge --output=$MERGED
difftool.sourcetree.cmd='C:/Program Files (x86)/Meld/meld/meld.exe' $LOCAL $REMOTE

Also check you are not trying it on a file that is deleted as part of the merge, that is a known issue for all external merges

Also check the file names do not have spaces in them, you can work around this by using arguments like

\"$LOCAL\" \"$BASE\" \"$REMOTE\" --auto-merge --output=\"$MERGED\"

In this case it would seem that GIT is seeing the remote file as being deleted, however I am not sure why this is. Happy to accept this answer as it is the cause of the merge tool not opening.

Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 22, 2018

Yes, diffing is a little problematic when a file is deleted on one side of the merge. 

I am so dissapointed with sourcetree. Every version have so many bugs. When you find how to fix one the new one is problem. Now I also can't lunch DiffMerge software even i used it before!!!

Agree with you Pawel. Yearly several years ago when sourcetree was written using Qt it was much more stable from my point of view.

In case anybody else is having problems getting their external diff tools to open (I'm using Meld with Mercurial), there appears as if there my be a problem parsing the command variables atm.

If "external diff" isn't working for you, you can try removing the arguments entirely
($LOCAL, $REMOTE, etc), and see if it will at least open. The files might not be ordered the way you like them to be, but if it launches the external diffs in the meantime, it's better than nothing... Hopefully it'll get patched soon.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events