[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Using an external diff program with Subversion

From: Sander Striker <striker_at_apache.org>
Date: 2003-08-09 00:35:32 CEST

> From: Oliver Dain [mailto:odain@ll.mit.edu]
> Sent: Saturday, August 09, 2003 12:18 AM

> I want to use a GUI diff program I have with subversion, so I changed
> the subversion config file to point to this program (exam-diff).
> Subversion now launches the program as expected, but the program didn't
> understand the arguments subversion passed to it. I wrote a 3 line C
> program that simply outputs all of the arguments passed to it so I could
> see what Subversion was passing to my diff program:

[...]

We could have told you that. Or you could have found it in the source.

> As you can see it passed a -u, 2 -L flags, some names for these files
> and THEN the 2 files to be compared. That doesn't work with exam-diff.

We can't go and support all diff programs out there. We currently
use diff compatible cmdline arguments. If you want to use a different
tool you need a wrapper to extract the arguments and pass those to
'exam-diff'.
  
> It simply wants the names of the 2 files to be compared. How do I get
> Subversion to pass just those last 2 command line args (the file
> names)?

You don't. There is no such option.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 9 00:36:19 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.