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

Re: Setting properties/mime types (was: Beginner's questions)

From: Holger Schulz <qdl_at_gmx.net>
Date: 2007-05-29 14:36:05 CEST

Dear Ryan,

Am 2007-05-29 um 11:59 schrieb Ryan Schmidt:

>
> Something like this will get you correct German:
>
> export LANG=de_DE.UTF-8

Not really:

kuddel% export LANG=de_DE.UTF-8
tcsh: export: Command not found.

Seems this depends on the shell used. Should I have told that I use
tcsh? Sorry.

> If you want to see the values too, use "svn proplist -v"

That works.

>> Further, which mime type do I have toset for PDF files?
>
> Subversion treats files as text if their MIME type begins with
> "text/". Use anything else to have Subversion treat it as binary.
> The commonly-accepted MIME type for PDFs is "application/pdf".

Okay.

>
>
>> Could the following lead to the correct syntax?
>>
>> svn propset -R svn:mime-type '<correct mime type for PDF files>'
>> *.pdf
>
> That would be the correct way to set the MIME types on the PDF
> files in the current directory, yes.

Okay. I'll try it.

Thanks a lot.

hs

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 29 14:37:46 2007

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.