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

Re: Passing additional parameters to svn diff

From: Olivier Sannier <obones_at_free.fr>
Date: Wed, 8 Apr 2009 17:15:47 +0200

Andrey Repin wrote:
> Greetings, All!
>
> Just ran into this non-trivial topic once again.
>
> <stderr>:svn diff -x -b -I "\$Id.*?\$" --
> svn: invalid option character: I
> Type 'svn help' for usage.
>
> However,
> svn diff -x "-b -I \"\$Id.*?\$\"" --
> works.
>
> I think there could be easier way to pass additional parameters than quoting
> (and incidentally escaping) them.
> Like, everything from -x to -- passed to the external diff-cmd as-is (thus
> making the -x switch the latest one before URL's/paths)
>
>
>
You can also repeat the "-x" switch for all the options you want to
transmit:

svn diff -x -b -x -I "\$Id.*?\$"

But I agree with you, there should be a more convenient way to do this.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1597956

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 17:19:31 CEST

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.