For background on my question: svn won't diff a file it thinks is binary
$ svn diff data/assets/site/ir_gallery/images.kml
Index: data/assets/site/ir_gallery/images.kml
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/vnd.google-earth.kml+xml
A recent stack overflow answer ( http://stackoverflow.com/questions/2634043/svn-diff-file-marked-as-binary-type ) showed you can force a mime type:
$ svn propset svn:mime-type 'text/plain' data/assets/site/ir_gallery/images.kml
property 'svn:mime-type' set on 'data/assets/site/ir_gallery/images.kml'
That prior answer is incomplete... you also have to:
$ svn commit
Now my new question is: can I set a default, so all future "vnd.google-earth.kml+xml" files are treated as text by svn? The redbook appears silent on this topic: http://svnbook.red-bean.com/en/1.2/svn.advanced.props.html saying only:
if a file's svn:mime-type property is set to a non-text MIME type
(generally, something that doesn't begin with text/, though there are
exceptions)".
What exceptions? Are these exceptions baked into the svn code, or accessible?