[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: Thomas Scheffler <thomas.scheffler_at_uni-jena.de>
Date: Fri, 1 Feb 2008 17:03:22 +0100

Am Freitag, 1. Februar 2008 schrieb Paul Koning:
> >>>>> "John" == John Peacock <john.peacock_at_havurah-software.org> writes:
> >>
> >> What can I do to tell subversion that xml files are text files?
>
> John> Remove the 'svn:mime-type' from the files; anything with a
> John> mime-type of "application/*" is considered binary.
>
> That's a bit surprising. I can't remember that the documentation is
> all that clear on the subject, but it's my impression that the easiest
> way to indicate a text file is to put a svn:eol-style property on it.
> I would have expected cvs2svn to do that (maybe you need to set up a
> config file to force that for .xml files). In any case, if I ran into
> something like this I would start by setting that property.

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

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

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

Greets

Thomas

---------------------------------------------------------------------
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 17:03:49 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.