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

Re: Subversion and binary files

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Fri, 1 Feb 2008 11:42:18 -0500

>>>>> "Thomas" == Thomas Scheffler <thomas.scheffler_at_uni-jena.de> writes:

 Thomas> This is not stated in the documentation (svn book) I think,
 Thomas> but you can read it in the FAQ
 Thomas> http://subversion.tigris.org/faq.html#binary-files

 Thomas> "When you first add or import a file into Subversion, the
 Thomas> file is examined to determine if it is a binary file..."

 Thomas> They'll tell you there that "svn:eol-style" does not switch
 Thomas> binary files into text mode. So where is that switch?

Looks like setting the mime type to text/something (I tend to use
text/plan) should do the job. Also, for any text file, setting
eol-style is a good idea.

cvs2svn can do this at the time of conversion (using the auto-props
definitions).

          paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-01 18:01:41 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.