Re: svn webDAV and MIME types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2008-03-22 at 14:47 +0100, Christoph Höger wrote:
> When I use apache as svn backend I can share the repository via webDAV
> which is a nice feature. The problem is: I do not get correct MIME Types
> for the files inside the repo, because svn would use the property
> svn:mime-type which I would have to add manually. 
> 
> Is there a way to set this property automagically?

There's a way to set it automagically when first committing the files.
Open ~/.subversion/config and check out the [auto-props] section. Make
sure to 'enable-auto-props = yes'.

You'll still need to set the correct properties on the files in the
repository.

> Can I even use it, or does svn assume every non text/* file do be a
> binary?  

Subversion will assume everything is either text/plain or
application/octet-stream unless you have auto-props enabled and
configured.

Brad Walker


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux