[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: Henrik Sundberg <storangen_at_gmail.com>
Date: Mon, 15 Dec 2008 21:42:38 +0100

On Mon, Dec 15, 2008 at 2:26 PM, Crespo, Richard P <RCrespo_at_kforce.com> 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
>
> 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,

What encoding do you use? Eg You can not have native end of lines in
Windows for a file stored with two bytes per character (but UTF-8
works).

> 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

This is a different error. Perhaps this file begins with many Croation
characters (making the svn heuristics think of it as binary)?

> 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.

What did you do, if not commit? Add?
In that case you might just have lost the properties. A little strange though.

HTH
$

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-15 21:43:31 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.