External diff / merge not working

Matt Roberts October 1, 2013

Hi,

I'm using windows and I can't get the exteranl diff / merge tool to work. I'm trying to use beyond compare. I've selected beyond compare as the external tool to use, and nothing happens when I launch an external merge / diff.

I then tried setting it manually - I chose custom and entereed these options:

DIFF:

Diff Command: "C:/Program Files (x86)/Beyond Compare 3/bcomp.exe"

Arguments: "$LOCAL" "$REMOTE"

MERGE:

Diff Command: "C:/Program Files (x86)/Beyond Compare 3/bcomp.exe"

"$LOCAL" "$REMOTE" "$BASE" "$MERGED"

These are the same as set in my git config (from git config -l). I can run "git mergetool" from the command line and this works, but nothing happens in source tree.

Thanks for any help

4 answers

3 votes
Ryan Alberts January 12, 2015

This may or may not help you.  The following works for me in SourceTree (that is what you are using - right?):

FYI - I do not have any quotes around any input.  I configured it from the SourceTree tool - not from the git config:

External Diff Tool: "Custom"

Diff Command: C:\Program Files (x86)\Beyond Compare 3\BComp.exe

Arguments: $LOCAL $REMOTE

Hope that helps!

0 votes
Vasyl December 24, 2015

I have the same issue.

sorce-tree-external-diff-cfg.png

Diff Command: C:\Data\Development\diffdoc.bat

Arguments: $LOCAL $BASE

=diffdoc.bat content is======================

@echo off ::"C:\Program Files\SoftInterface, Inc\WordDocDiff\WDD.EXE" /m"%1" /s"%2"

Set DiffDoc="C:\Program Files (x86)\Softinterface, Inc\DiffDoc\DiffDoc.exe"

%DiffDoc% /M"%1" /S"%2"

::%DiffDoc% /M"%1" /S"%2" ::/G /X  

=======================================

 

If I press 'External Diff' (or Cntrl+D) nothing happens but It works if I just do it in the CMD:

diffdoc.bat a.docx b.docx

It starts the diff tool and I can see difference in the documents....

It looks like a bug somewhere!

0 votes
James Rickards April 23, 2014

I had the same issue with version 1.5.2.

It only occured when the remote file was deleted, so was not as bad as I thought.

I have reported the bug to Atlassian via Support.

A bug has been raised. https://jira.atlassian.com/browse/SRCTREEWIN-1666

0 votes
Kevin Alons February 23, 2014

I am having the same problem (this used to work flawlessly). Losing external diff functionality is a major pain, please help...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events