如何使用超越比较的svn 3

时间:2008-11-16 19:46:01

标签: svn beyondcompare

我想使用超越比较的svn命令行并获得以下输出

Text Compare
Produced: 11/16/2008 11:45:34 AM

SourceFile,CompareFile,IOriginal,IAdded,IDeleted,IChanged,UOriginal,UAdded,UDeleted,UChanged
"E:\Downloads\eeli\eel\1.c","E:\Downloads\eeli\eel\2.c",967,192,501,270,368,113,205,89

确切的命令行是什么?

3 个答案:

答案 0 :(得分:19)

此处概述了不同版本控制系统的所有Beyond Compare设置:http://www.scootersoftware.com/download.php?c=kb_vcs

对于TortoiseSVN,请尝试http://www.scootersoftware.com/support.php?zz=kb_vcs#tortoisesvn

答案 1 :(得分:8)

把它放在(例如)c:\ bin \ bcsvn.bat

@REM To configure this as the Subversion diff command, add these lines to
@REM    c:\Documents and Settings\username\Application Data\Subversion\config:
@REM
@REM [helpers]
@REM diff-cmd = c:\bin\bcsvn.bat
@REM
@"C:\Progra~1\Beyond~1\bcomp.exe" "%6" /title1=%3 "%7" /title2=%5
@exit 0

您可能需要修复bcomp.exe的路径。

答案 2 :(得分:1)

其他人的建议对我没有用。这是我终于得到的方式:

I。在Windows资源管理器窗口中,右键单击> TortoiseSVN>设置

  1. 差异查看器
  2. 外部
  3. ...

    The first three steps

  4. 找到BCompare.exe。如果您进行了常规安装,则安装在C:\Program Files\Beyond Compare 4\中。

    无需输入文档中概述的所有怪异变量,实际上我无法使其与这些变量配合使用。

  5. 如果需要,继续对Diff Viewer和合并工具中的其他选项执行相同的操作。

以下是决赛的样子:

enter image description here