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

Re: diff-cmd =

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Thu, 10 Feb 2011 23:51:18 -0600

On Feb 10, 2011, at 23:33, Victor Sudakov wrote:

> I like very much the default output of the FreeBSD diff program.
> So I prefer using "svn diff --diff-cmd=/usr/bin/diff -x --normal"
> instead of just "svn diff".
>
> However, when I put the line "diff-cmd = /usr/bin/diff -x --normal"
> into ~/.subversion/config, I get the following error message:
>
> exec of '/usr/bin/diff -x --normal' failed: No such file or directorysvn: '/usr/bin/diff -x --normal' returned 255
>
> I guess it is trying to exec '/usr/bin/diff -x --normal' as a whole
> which is kind of expected.
>
> For the present, I have created a shell alias for the "svn diff"
> command, but I am curious what the correct ~/.subversion/config syntax
> is to achieve what I want?

This looks like http://subversion.tigris.org/issues/show_bug.cgi?id=2930

i.e., you've found the current status quo; there is no better method currently available.
Received on 2011-02-11 06:52:02 CET

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.