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