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

Re: text vs. binary files and svn:eol-style

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-07-28 20:49:43 CEST

C. Michael Pilato wrote:

>Toby Johnson <toby@etjohnson.us> writes:
>
>[...]
>
>
>
>>My inference from the docs is that this would be OK as long as
>>Subversion gets the initial guess right as to whether the file is text
>>or binary, so even if (for example) a .jpg file gets
>>svn:eol-style=native, it won't matter since SVN knows it's really
>>binary. Is this correct?
>>
>>
>
>I believe that this is correct. Why don't you give it a shot and see
>what happens? :-)
>
>
I wanted to ask anyway because even if it seemed to work it could always
come back and bite me a month from now!

However, I found that a warning is generated when you add a binary file
after the auto-props are set. (Although the warning isn't very
informative: "svn: File 'desktop.jpg' has binary mime type property",
but it doesn't mention that this warning happened when trying to set the
auto-prop).

The attempt to set svn:eol-style fails, but the Add succeeds. However,
if I was trying to add multiple binary files, only the first binary file
gets added, and I need to try the Add again to get the others. That
could get rather tedious!

So it seems there's no good way to set svn:eol-style for all files. Bummer.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 28 20:50:53 2004

This is an archived mail posted to the Subversion Users mailing list.