How do I tell Subversion (svn) to treat a file as a binary file?
If 'svn add' guesses the incorrect type and gives you an error like the following:
svn: E200009: File 'qt/examples/dialogs/configdialog/images/config.png' has inconsistent newlines
svn: E135000: Inconsistent line ending style
then the workaround is to add the file without properties and then set the properties in a second step:
svn add --no-auto-props qt/examples/dialogs/configdialog/images/config.png
svn propset svn:mime-type image/png qt/examples/dialogs/configdialog/images/config.png