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

Re: svn diff --diff-cmd="diff -ubB" goes wrong

From: Liu Yubao <yubao.liu_at_gmail.com>
Date: 2006-08-14 08:32:46 CEST

Peter Samuelson wrote:
> [Liu Yubao]
>> I can work around it by --diff-cmd=diff_wrapper, but I think --diff-cmd=
>> "diff -ubB" is nicer than -x option, it won't break the compatibility too.
>
> What if you want to set the diff command to something like
> "C:\Program Files\Cygwin\bin\diff"? Then splitting the command name at
> the first space would be a Bad Thing.

You remind me, indeed it's simple to allow only program path in
--diff-cmd option.

Solutions for your problem:
(1) add diff.exe to PATH;
(2) use --diff-cmd="c:\Program\ Files\Cygwin\bin\diff -ubB"
                               ~~
It's a pity the second solution will break compatibility, this feature
needs more consideration.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 14 08:35:08 2006

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

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