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

text vs. binary files and svn:eol-style

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

I need clarification on how (when?) svn:eol-style works. I understand
that when a file is first checked in, Subversion determines whether it's
binary or text by looking for control characters.

So, is svn:eol-style only consulted when the file in question is
considered text by Subversion? We have lots of text files on Unix that
have either no file extension, or that use weird extensions, and it
would be very difficult to list them all in auto-props (or impossible,
in the case of the ones without extension). So I'd just like to
auto-prop *all* files to use svn:eol-style=native.

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?

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:17:26 2004

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.