[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: Oliver Dain <odain_at_ll.mit.edu>
Date: 2003-08-09 16:34:30 CEST

Thanks to all for the replies. I certainly could (and will) do the
wrapper thing. I'd think it'd be a nice feature if, in the config, one
could specify something like:

diff-cmd = /path/to/diff/program %f1 %f2 -L %N1 -L %N2

where the %x's get expanded to something useful (like %f1 = first
filename, %f2 = 2nd file name, %N1 = nice name of file one (the name
with the revision number), etc. That way you could easily support ALL
diff programs and users wouldn't have to write custom wrappers for each
diff program they want to use. Has anybody else suggested this?

Thanks again,
Oliver

On Sat, 2003-08-09 at 10:19, Michael Wood wrote:
> On Fri, Aug 08, 2003 at 10:59:50PM -0600, Bruce Elrick wrote:
> [snip]
> > How about: Oliver modifies his 3-line C program into a wrapper that
> > discards all the arguments but the two file names and calls exam-diff?
> [snip]
>
> That's exactly what Sander means by a wrapper :) Although a batch file
> or shell script might also do.
>
> --
> Michael Wood <mwood@its.uct.ac.za>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 9 16:38:29 2003

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