9

Beyond Compare 3 与 Eclipse/Subclipse 冲突解决方案的正确参数是什么?

Preferences > Team > SVN > Diff/Merge可以选择指定外部程序来解决冲突。

默认参数为:

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

它建议了 TortoiseMerge 设置:

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

但是,Beyond Compare 的合适配置是什么?

4

3 回答 3

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
于 2010-06-09T10:02:14.440 回答
4

另请查看http://beyondcvs.sourceforge.net/以获取 eclipse/Beyond Compare 插件。(来自:http ://www.scootersoftware.com/support.php?zz=kb_vcs )

于 2010-06-30T17:11:46.207 回答
1

AnkhSVN 使用

对于 3 路差异:

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

或 2 路:

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

您可能可以将其调整为 Subclipse 的格式。

于 2010-06-30T18:55:51.623 回答