使用Eclipse / Subclipse冲突解决方案使Beyond Compare 3正常工作的正确参数是什么?
在Preferences > Team > SVN > Diff/Merge
中,可以选择指定外部程序来解决冲突。
默认参数为:
"${yours}" "${theirs}" "${base}" "${merged}"
它建议TortoiseMerge设置:
/theirs:"${theirs}" /base:"${base}" /mine:"${yours}" /merged:"${merged}"
但Beyond Compare的适当配置是什么?
答案 0 :(得分:5)
看起来这是正确的:
"${theirs}" "${yours}" "${base}" "${merged}"
基于此论坛帖子: http://www.scootersoftware.com/vbulletin/showthread.php?t=368#4
要适当地标记部分,并在单独的(独奏)实例中运行BC,就是这样:
"${theirs}" "${yours}" "${base}" "${merged}"
/lefttitle="Incoming (${theirs})"
/centertitle="Base (${base})"
/righttitle="Local (${yours})"
/outputtitle="Merged (${merged})"
/solo
上面使用多行来提高可读性,用空格替换换行符,即
"${theirs}" "${yours}" "${base}" "${merged}" /lefttitle="Incoming (${theirs})" /centertitle="Base (${base})" /righttitle="Local (${yours})" /outputtitle="Merged (${merged})" /solo
答案 1 :(得分:4)
另请查看http://beyondcvs.sourceforge.net/以获取eclipse / Beyond Compare插件。 (来自:http://www.scootersoftware.com/support.php?zz=kb_vcs)
答案 2 :(得分:1)
AnkhSVN使用
对于三向差异:
"$(ProgramFiles)\Beyond Compare 3\BComp.exe" "$(Mine)" "$(Theirs)" "$(Base)" "$(Merged)" /title1="$(MineName)" /title2="$(TheirsName)" /title3="$(BaseName)" /title4="$(MergedName)"
或双向:
"$(ProgramFiles)\Beyond Compare 3\BComp.exe" "$(Mine)" "$(Theirs)" /mergeoutput="$(Merged)" /title1="$(MineName)" /title2="$(TheirsName)"
您可以将其调整为Subclipse的格式。