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

create comprehensive svn:mime-types template

From: Gunter Ohrner <G.Ohrner_at_post.rwth-aachen.de>
Date: 2005-12-22 02:45:29 CET

Hi!

Trying to store several different kinds of documents inside a subversion
repository I ran into the problam that subversion did not always correctly
guess if the file is text based or opaque binary data. Additionally it
bugged me that most files got generic mime-types.

So I wrote a tiny Python-script which takes an existing /etc/mime.types file
and converts it into a format suitable for placing inside Subversion's
auto-props config section.

The script and the list it generates from my /etc/mime.types file are
attached.

Maybe it could proove helpful for someone.

Greetings,

  Gunter

-- 
"Nach uns der Syn-Flood!"
        -- Autor unbekannt
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***



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

Received on Sat Dec 24 23:55:46 2005

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.