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

Re: Mime-types

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-18 05:49:55 CEST

On Apr 17, 2007, at 12:20, Sergio Graša wrote:

> I need to create other mime-types for two new file extensions in
> order to avoid merging the objects with these extensions.
> We are using Apache and I would like to know where to configure
> this new mime-types.

The setting of MIME types occurs on a client-by-client bases; the
server is not involved. So the settings file you want is
~/.subversion/config on each client.

If you want to enforce these MIME types for all users of the
repository, you would have to write a pre-commit script and stick it
in the repository's hooks directory. The script would check all files
in the incoming transaction to see if their MIME types are correct,
and reject the commit if they aren't.

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 18 05:50:20 2007

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