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