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

Re: svn diff says --ignore-eol-style is an invalid option

From: Olivier Sannier <obones_at_free.fr>
Date: Sun, 11 Jan 2009 23:00:56 +0100

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.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-12 14:09:35 CET

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.