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

'svn add' succeeds but errors out because file 'has binary mime type property'

From: Sean McBride <sean_at_rogue-research.com>
Date: 2006-07-13 19:39:40 CEST

Hi all,

I have a folder I wish to add to my working copy, so I use 'svn add'.
It starts recursively adding the files, but then hits one and stops,
complaining:

svn: File 'Installer.app/Contents/Resources/English.lproj/
InfoPlist.strings' has binary mime type property

then stops and doesn't add the other files in the folder. Yet it _did_
add the file it complained about:

A Installer.app/Contents/Resources/English.lproj/InfoPlist.strings

What is that message supposed to be telling me? It's not very clear at all.

In my auto-props I have:

*.strings = svn:eol-style=LF

.strings files are UTF-16, perhaps svn is not detecting them as text,
and thus confused that I want to set the eol style of a binary file?
Doesn't specifying an 'eol-style' give svn a hint that's it's not binary?! :)

I'd like to suggest the following to the developers:
1) that error message should be a warning, seeing as it added the file anyway
2) that error message should go away entirely, since having an 'eol-
style' property implies text
3) utf16 files should be autodetected as text, not binary

Anyone know if bugs exist for this already?

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 13 19:41:20 2006

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.