Search code examples
svnbeyondcompare

How to use svn with beyond compare 3


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?


Solution

  • 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.