How to configure Beyond Compare 3 for Eclipse conflict resolution?

落花浮王杯 提交于 2019-12-04 10:49:53

问题


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:


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, i.e.

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



回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/3004729/how-to-configure-beyond-compare-3-for-eclipse-conflict-resolution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!