Re: mime type for docx in repos-web view
From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Thu, 28 Jan 2010 02:41:05 -0600
On Jan 27, 2010, at 23:54, Ramachandran, Vishwanath(IE10) wrote:
> Mimetype for docx in repos-web view is not correct (IE8) and needs to be updated. Also, Subversion repos-web view: Opening RTF files does not work in Firefox (due to incorrect mimetype setting) so I used
Users are expected to set the proper svn:mime-type on files they commit.
Users can set up autoprops to automate this.
You can install a pre-commit hook that blocks commits with incorrect or missing mime types.
If that's too much work for your users, you can install a post-commit hook that sets the correct properties and does a second commit.
This is an archived mail posted to the Subversion Users mailing list.