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

Re: diff-cmd and kompare

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-01-21 14:01:17 CET

On Jan 21, 2005, at 4:28 AM, Sams Niko wrote:

> Hello,
>
> I'm running subversion from the command-line under KDE and i would
> like to use the kompare application for viewing diffs.
>
> therefore i set
> diff-cmd = kompare
> in the .subversion/config file.
>
> when i call now
>
> svn diff file.ext
>
> i get this:
>
> Index: file.ext
> ===================================================================
> kompare: unknown Option "-u".
> kompare: Use the Parameter "--help", to see the avaliable options
> svn: 'kompare' returned 254
>
>
> what can i do about this problem?

Make a wrapper script to convert the 'diff' parameters into something
'kompare' will accept. Use the wrapper script instead of invoking
kompare directly.

The -u is to get the output in "unified diff" format.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 21 14:04:07 2005

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