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

Re: default mime types in config request

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-01-31 16:44:04 CET

Daniel Rall wrote:
> On Tue, 16 Jan 2007, C. Michael Pilato wrote:
>
>> Sheesh. Before doing this, I'd already rather add a new configuration
>> option 'mime-types-file' which could be used to point an Apache-esque
>> mimes.conf file that maps types to extensions. Subversion could make
>> lookup in that file, if present, the default MIME type for a given file.
>> Any auto-props settings would override that default.
>>
>> Thoughts?
>>
>> (By the way, this could be a prime candidate for a host-wide
>> /etc/subversion configuration option populated by package maintainers
>> who know where Apache has been installed on the box.)
>
> Gar, I like the cut of your jib.

By the way, if you missed it, I added support for exactly this to trunk
yesterday. :-) You'll still need your autoprops for setting stuff other
than svn:mime-types, but now you'll get your svn:mime-types property set
much more cheaply.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Wed Jan 31 16:44:26 2007

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