[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 11:01:00 CEST

Am 2007-05-29 um 02:09 schrieb Ryan Schmidt:

>
> Subversion will mark files as binary as necessary... except for
> PDFs, which it will detect as text, since PDF is a largely text-
> based format. You can inform Subversion that you would like PDFs to
> be treated as binary by setting the svn:mime-type property on those
> files. See also the section in the book on automatic properties.
>
> http://svnbook.red-bean.com/en/1.2/
> svn.advanced.props.html#svn.advanced.props.auto

AFAIU that, I set the properties in the working copy and commit to
get them in the repository.

I tried that with a single file in my test repository.

I tried

        [panic:FSA60 Mathe/2007-05-16Klausur/klausur] kuddel% svn propset
test 'Test' 2007-05-16klausur3.tex

and got the answer

        Eigenschaft ?\194?\187test?\194?\171 f?\195?\188r ?\194?
\1872007-05-16klausur3.tex?\194?\171 gesetzt

(By the way, is there a good chance to make subversion talk English,
it seems it has its problem with German?)

Trying to read the properties via

        [...]svn proplist 2007-05-16klausur3.tex

is answered with

        Eigenschaften zu ?\194?\1872007-05-16klausur3.tex?\194?\171:

          test

which seems to state the property name, but not the property value.

Hm.

Further, which mime type do I have toset for PDF files?

Could the following lead to the correct syntax?

        svn propset -R svn:mime-type '<correct mime type for PDF files>' *.pdf

Thanks.

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 11:22:03 2007

This is an archived mail posted to the Subversion Users mailing list.