23

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?

knut
  • 27,320
  • 6
  • 84
  • 112
R.D
  • 4,781
  • 11
  • 41
  • 58
  • why would anyone vote this down ? I know nothing about "beyond compare" but people actually use/know it and have already answered the question ? the question is not too vague or bizzare, no obvius spelling errors ? What's happening. – hayalci Nov 16 '08 at 23:24

3 Answers3

20

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

user3797758
  • 829
  • 1
  • 14
  • 28
Matthew Lock
  • 13,144
  • 12
  • 92
  • 130
8

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.

Ned Batchelder
  • 364,293
  • 75
  • 561
  • 662
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. ...

    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

Travis Heeter
  • 13,002
  • 13
  • 87
  • 129