This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Mime-types
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
When a developer commits a new file to the repository, they may get an error about mime types not being set. This is because there is (intentionally) a commit hook set up that verifies that there are mime types set on all files being added to the repository. | When a developer commits a new file to the repository, they may get an error about mime types not being set. This is because there is (intentionally) a commit hook set up that verifies that there are mime types set on all files being added to the repository. | ||
− | Subversion uses file mime-types for lots of useful things like for web interface browsing of the repository. You can either set up your subversion config to | + | Subversion uses file mime-types for lots of useful things like for web interface browsing of the repository. You can either set up your subversion config to auto-set mime types or you can directly set the mime type on the file before you commit the file using svn propset. |
Sean provides a copy of his Subversion configuration that includes property settings for many file types. You can download and install it with this: | Sean provides a copy of his Subversion configuration that includes property settings for many file types. You can download and install it with this: |