[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 07:57:25 CEST

Gavin Lambert wrote:
> Quoth Liu Yubao <mailto:yubao.liu@gmail.com>:
>> I think if 'svn diff --diff-cmd="diff" "my file"' works well
>> then 'svn diff --diff-cmd="diff -ubB" "my file"' should be ok
>> too. If the file name starts with '-' or '--', we can use
>> --diff-cmd="diff -ubB --".
>>
>> I have checked the source code, but I need some time to
>> understand it because there are many many apr functions.
>
> What's wrong with the current -x argument though? Admittedly it ought
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.
> to have a longname as well (probably --diff-cmd-args, as the OP
> suggested), but it'll get the job done.
>
> There's no point in breaking compatibility for an existing parameter to
> add functionality that's already available via a different parameter.
--diff-cmd="diff -ubB" won't break --diff-cmd="diff", isn't it more
elegant than the redundant -x option?

BTW, I really respect the developers of Subversion, maybe I haven't
realize the difficulty about this problem.
>
>

---------------------------------------------------------------------
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:00:28 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.