Olivier Sannier wrote:
> Hi,
>
> I'm trying to use the --ignore-eol-style option with svn diff in the
> following command:
>
> svn diff -x --ignore-eol-style URL1 URL2
>
> However, this gives me the following error:
> svn: invalid option: --ignore-eol-style
>
> but when I use svn help diff, it indicates that the option exists
> (version 1.4.6 (r28521)).
>
> I must be missing something obvious here, but I don't know what
>
> Cheers
> Olivier
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1009810
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Answering myself here, just in case someone has the same problem:
First, you need the latest SVN version, 1.4 won't do
Then you MUST repeat "-x" each time you use an option for it. So if you
want unified format and no EOL differences, here is what you do:
svn diff -x -u -x --ignore-eol-style URL1 URL2
Maybe there is a special syntax to allow multiple options, but I do not
know about it.
Cheers
Olivier
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1017705
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-12 14:09:35 CET