R.D
R.D

Reputation: 4871

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?

Upvotes: 24

Views: 14219

Answers (3)

Matthew Lock
Matthew Lock

Reputation: 13536

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 https://web.archive.org/web/20221130064351/https://www.scootersoftware.com/support.php?zz=kb_vcs#tortoisesvn

Upvotes: 21

Travis Heeter
Travis Heeter

Reputation: 14084

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

    The first three steps

  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:

enter image description here

Upvotes: 4

Ned Batchelder
Ned Batchelder

Reputation: 375882

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.

Upvotes: 8

Related Questions