[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: Michael Sinz <Michael.Sinz_at_sinz.org>
Date: 2006-08-14 11:44:40 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.

Actually, that is not a problem, but the change now would break compatibility
with the way it currently works.

The SVNEDITOR/EDITOR environment variable works the other way around (what I
would claim is the correct way. See this thread and patch to the FAQ for
details: (Tail of the thread)

http://svn.haxx.se/dev/archive-2005-11/0649.shtml

PS - it is unfortunate that the two settings are different but there is the
problem of compatibility that makes this a PITA to change.

-- 
Michael Sinz                     Technology and Engineering Director/Consultant
"Starting Startups"                                mailto:michael.sinz@sinz.org
My place on the web                            http://www.sinz.org/Michael.Sinz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 14 11:45:40 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.