You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Dupaquis, Vincent" <Vi...@atmel.com> on 2010/06/25 14:17:09 UTC

Problem related to SVN:externals & mime-type

	Hello,

	I've just found a weird problem related to svn:externals.

	I have a directory which has a svn:externals property, setup in 
	such way it directly points to .pdf files.

	For instance :
		http://mysvn_server/reps/MyRepo/trunk/document/mydoc1.pdf      Mydoc1.pdf			      http://mysvn_server/reps/MyRepo/trunk/document/mydoc2.pdf      Mydoc2.pdf

	Both .pdf fies are commited to the repository and are accessible, by the way 
	when I update the directory containing the svn:externals property, I only get one
	of the 2 pdf files.

	My svn client complains about a weird issue related to end-of-line which is not
	recognised (the message in french says "Erreur: Style de fin de ligne non reconnu"
	("Error : end of line style not recognised"). I've tried with both svn turtoise and the
	command line "svn up .", same result.

	After checking everything, I could spot a difference between the two files :
	the mime-type is set on the "faulty" file to application/pdf, while the second one
	(the one the tool can bet correctly), there is no such property set.

	The svn client version I use is 1.6.5 (r38866), the server is an old 1.4.2 (r22196).

	Would you have any idear ?

Re: Problem related to SVN:externals & mime-type

Posted by Johan Corveleyn <jc...@gmail.com>.
On Fri, Jun 25, 2010 at 4:17 PM, Dupaquis, Vincent
<Vi...@atmel.com> wrote:
>        Hello,
>
>        I've just found a weird problem related to svn:externals.
>
>        I have a directory which has a svn:externals property, setup in
>        such way it directly points to .pdf files.
>
>        For instance :
>                http://mysvn_server/reps/MyRepo/trunk/document/mydoc1.pdf      Mydoc1.pdf                             http://mysvn_server/reps/MyRepo/trunk/document/mydoc2.pdf      Mydoc2.pdf
>
>        Both .pdf fies are commited to the repository and are accessible, by the way
>        when I update the directory containing the svn:externals property, I only get one
>        of the 2 pdf files.
>
>        My svn client complains about a weird issue related to end-of-line which is not
>        recognised (the message in french says "Erreur: Style de fin de ligne non reconnu"
>        ("Error : end of line style not recognised"). I've tried with both svn turtoise and the
>        command line "svn up .", same result.
>
>        After checking everything, I could spot a difference between the two files :
>        the mime-type is set on the "faulty" file to application/pdf, while the second one
>        (the one the tool can bet correctly), there is no such property set.
>
>        The svn client version I use is 1.6.5 (r38866), the server is an old 1.4.2 (r22196).
>
>        Would you have any idear ?

You're probably hitting this issue:
http://subversion.tigris.org/issues/show_bug.cgi?id=3368 - Can't
create a single file external referring to a file with properties on
it (e.g. binary files)

It was fixed in 1.6.6

Cheers,
-- 
Johan