How change Subversion's default binary mime-type?
- by lamcro
Subversion sets a binary file's svn:mime-type property to application/octet-stream by default.
I need to change this default to some other mime-type. When I import for the first time this code, I would like Subversion to set mime-type to the one I choose.
The reason is that my code base contains code in binary files (proprietary format), and I have the applications necessary to emulate diff and diff3 for these. But Subversion does not let me due to their default mime-type.
Please note: There is no default extension (*.jar, *.py, etc) for these code files. Some files don't even have an extension. So configuring mime-type by file extension is not possible.