把TortoiseSVN中默认的文件比较工具替换为Beyond Compare

1.打开TortoiseSVN的配置:

然后去找到对应的设置比较工具的地方:

Settings->Diff Viewer

把默认的 TortoiseMerge换成External,然后再设置为BeyondCompare。

Diff

  1. Select Settings from Explorer’s TortoiseSVN submenu.
  2. Switch to the Diff Viewer tab.
  3. Change the radio buttons from TortoiseMerge to External .
  4. In the path edits, enter: 
    "C:\Program Files (x86)\Beyond Compare 4\BComp.exe" %base %mine /title1=%bname /title2=%yname /leftreadonly

To use Beyond Compare for image comparisons either replace the file C:\Program Files\TortoiseSVN\bin\TortoiseIDiff.exe with a copy of BComp.exe, or click the Advanced button on the Diff Viewer tab and add each image type’s extension with the same command line as above.

3.然后自己也看到对应的提示了:

参考别人,写成的:

"E:\dev_install\Beyond Compare 3\BCompare.exe" %base %mine /title1=%bname /title2=%yname /leftreadonly

但是用之前,想要搞清楚:

这些参数的含义

其他还有哪些参数

其中的含义是:

  • "E:\dev_install\Beyond Compare 3\BCompare.exe" 表示你的Beyond Compare的安装路径
  • %base 表示你的左边的要比较的文件->要比较的基础base的文件
  • %mine 表示要比较的右边的文件->mine,我的,我的新修改的文件
  • /title1=%bname 左边的标题,标题1是base file的name
  • /title2=%yname 右边的标题,标题2是新文件?的名字
  • /leftreadonly  左边是只读->不允许修改->想要运行修改左边文件,则应该是不要加上此参数

即可。



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值