简体   繁体   中英

How to configure Beyond Compare 3 for Eclipse conflict resolution?

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?

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 above for readability, replace linebreaks with spaces for use, ie

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM