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

Passing additional parameters to svn diff

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 8 Apr 2009 19:08:05 +0400

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)

-- 
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 08.04.2009, <18:48>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1597934
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 17:10:46 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.