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

Re: Feature request: svn diff --diff-cmd --diff-cmd-args

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

Gavin Lambert wrote:
> Quoth Liu Yubao <mailto:yubao.liu@gmail.com>:
>> yes, it works, but I can't add it to %home%/Application
>> Data/Subversion/ config (I tried " x = -xyz", it had no
>> effect), so I have to offer this option every time. Anyway, I
>> can use --diff-cmd=diff_wrapper to work around it.
> Now you're talking about something else.
I hope I can set default -x option in Subversion/config, this is
another topic :-)
>> --diff-cmd="diff -ubB" won't break --diff-cmd="diff", isn't it more
>> elegant than the redundant -x option?
> Yes, it will break it.
> Imagine a script that currently has:
> --diff-cmd="C:\Foo Toolkit\Super Diff.exe"
> Or:
> --diff-cmd="/usr/local/bin/super diff"
> (although it's less common to have spaces in filenames under Linux, it
> is legal.)
> There's no way you can add space-separated parsing to that parameter
> without breaking this script.
> A separate parameter (currently -x) is not redundant, it is essential.
Yes, you are right, I haven't considered carefully enough, sorry!

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

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.