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

Re: Binary import error

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 19 Dec 2008 22:35:38 -0600

On Dec 15, 2008, at 07:26, Crespo, Richard P wrote:

> I have done some test imports into Subversion and found that the
> following file has a problem importing into Subversion that kills
> the entire import:
>
> Error:
> 'C:\TEMP\.....\Application\jscalendar\lang\calendar-hr.js'
> Error: has inconsistent newlines
> Error: Inconsistent line ending style

I think Subversion only complains about inconsistent line endings if
you have requested to set the svn:keywords property on the file. So,
either do not set that property, or make the file's line endings
consistent first (e.g. all LF line endings or all CRLF line endings,
not a mixture of these).

> The file in question is a Croatian language file with some special
> characters which may explain why I get the following when I add it
> individually (I know it says editjs.js as the file name, I get the
> same message for the calendar file).
>
> Error: File
> Error: 'C:\SVN\.....\Application\jscalendar\lang\calendar-hr.js'
> Error: has binary mime type property
>
> But, I do not see the issue in the fact that it sees it as a
> binary. Binary flies CAN be in SVN. Does anyone have any reason why
> I am getting the initial error?
>
> BTW – When I do the commit, the file is added fine.

This has been discussed before, e.g.:

http://svn.haxx.se/users/archive-2006-07/0510.shtml

And:

http://svn.haxx.se/users/archive-2007-01/0901.shtml

Also filed as this bug:

http://subversion.tigris.org/issues/show_bug.cgi?id=2925

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-20 05:36:28 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.