You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Hamilton Link <he...@sandia.gov> on 2004/01/15 18:54:53 UTC

informing import about mime types?

Is there some configuration (of the client or server) that I can do so 
that the mime-type of files (and their binaryness as a result) is set 
based on their file extension or other information? For example, I have 
these pdf files that are mostly binary data and have a binary 
mime-type, but when I do an import into my repository they start out as 
text because they have some text header information in the pdf.

I've flipped through the draft svn book, but I didn't see anything to 
this effect. I know I can setprop, but I'd rather not have to do that 
every other time I add a pdf to my repository (and I'd rather my users 
not have to either). Plus I'm a little nervous about incorrect EOL 
translations when a file is imported if the wrong guess is made, 
although I don't know if that's warranted.

thanks,
hamilton

(ps - i'm not subscribed to users, so please include me in the response 
;) )



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org