How to use svn with beyond compare 3

烈酒焚心 提交于 2019-12-12 07:44:33

问题


I want to use svn command line with beyond compare and get the following output

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

What is the exact commandline?


回答1:


Put this in (for example) 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

You'll might have to fix up the path to bcomp.exe.




回答2:


All the Beyond Compare settings for different version control systems are outlined here: http://www.scootersoftware.com/download.php?c=kb_vcs

For TortoiseSVN try http://www.scootersoftware.com/support.php?zz=kb_vcs#tortoisesvn




回答3:


The instructions suggested by the others didn't work for me. Here's how I finally got it:

I. On a Windows Explorer window, Right-click > TortoiseSVN > Settings

  1. Diff Viewer
  2. External
  3. ...

  4. Find BCompare.exe. If you did a normal installation it's in C:\Program Files\Beyond Compare 4\.

    There's no need to enter all the whacky variables outlined in the documentation, in fact I couldn't get it to work with those.

  5. Go ahead and do the same thing for the other options in Diff Viewer and Merge Tool if you want.

Here's what the final should look like:



来源:https://stackoverflow.com/questions/294286/how-to-use-svn-with-beyond-compare-3

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