views:

256

answers:

3

What is the correct parameters to get Beyond Compare 3 working with Eclipse/Subclipse conflict resolution?

In Preferences > Team > SVN > Diff/Merge there's the option to specify an external program to resolve conflicts.

The default parameters are:

"${yours}" "${theirs}" "${base}" "${merged}"

And it suggests TortoiseMerge settings of this:

/theirs:"${theirs}" /base:"${base}" /mine:"${yours}" /merged:"${merged}"

But what is the appropriate config for Beyond Compare?

+1  A: 

Looks like this is correct:

"${theirs}" "${yours}" "${base}" "${merged}"

Based on this forum post: http://www.scootersoftware.com/vbulletin/showthread.php?t=368#4

To label the sections appropriately, and run BC in a separate (solo) instance, it's this:

"${theirs}" "${yours}" "${base}" "${merged}"
/lefttitle="Incoming (${theirs})"
/centertitle="Base (${base})"
/righttitle="Local (${yours})"
/outputtitle="Merged (${merged})"
/solo

(multiple lines used for readability, remove linebreaks for use)

Peter Boughton
+1  A: 

Also check out http://beyondcvs.sourceforge.net/ for an eclipse/Beyond Compare plugin. (from: http://www.scootersoftware.com/support.php?zz=kb_vcs)

Chris
+1  A: 

AnkhSVN uses

For 3-way diff:

"$(ProgramFiles)\Beyond Compare 3\BComp.exe" "$(Mine)" "$(Theirs)" "$(Base)" "$(Merged)" /title1="$(MineName)" /title2="$(TheirsName)" /title3="$(BaseName)" /title4="$(MergedName)"

Or for 2-way:

"$(ProgramFiles)\Beyond Compare 3\BComp.exe" "$(Mine)" "$(Theirs)" /mergeoutput="$(Merged)" /title1="$(MineName)" /title2="$(TheirsName)" 

You can probably tweak this to Subclipse's format.

Bert Huijben