<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bzflag.org/index.php?action=history&amp;feed=atom&amp;title=Mime-types</id>
	<title>Mime-types - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bzflag.org/index.php?action=history&amp;feed=atom&amp;title=Mime-types"/>
	<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Mime-types&amp;action=history"/>
	<updated>2026-05-19T12:30:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=8582&amp;oldid=prev</id>
		<title>JeffM2501: This is a development resource not a design document, really it&#039;s just instructions on how to setup SVN clients</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=8582&amp;oldid=prev"/>
		<updated>2013-02-10T08:26:11Z</updated>

		<summary type="html">&lt;p&gt;This is a development resource not a design document, really it&amp;#039;s just instructions on how to setup SVN clients&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:26, 10 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Design Documents&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Development&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bzflag_wiki-bz_:diff:1.41:old-6955:rev-8582:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>JeffM2501</name></author>
	</entry>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=6955&amp;oldid=prev</id>
		<title>Learner: link to the auto-props page</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=6955&amp;oldid=prev"/>
		<updated>2010-02-23T18:39:08Z</updated>

		<summary type="html">&lt;p&gt;link to the auto-props page&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:39, 23 February 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Auto-props|&lt;/ins&gt;auto-set mime types&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;or you can directly set the mime type on the file before you commit the file using svn propset.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sean provides a copy of his Subversion configuration that includes property settings for many file types.  You can download and install it with this:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sean provides a copy of his Subversion configuration that includes property settings for many file types.  You can download and install it with this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Learner</name></author>
	</entry>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=6954&amp;oldid=prev</id>
		<title>Learner: show how to manually set properties too</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=6954&amp;oldid=prev"/>
		<updated>2010-02-23T18:33:41Z</updated>

		<summary type="html">&lt;p&gt;show how to manually set properties too&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:33, 23 February 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [sean@bz (Wed May 28 13:31:55) bzflag]$ svn commit some_new_file.c&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [sean@bz (Wed May 28 13:31:55) bzflag]$ svn commit some_new_file.c&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ... no mime type error ...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ... no mime type error ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;That said, if one wanted to manually add or change a file&#039;s properties:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; [sean@bz (Wed May 29 13:50:51) bzflag]$ svn add some_file.odd&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; A         some_new_file.c&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; [sean@bz (Wed May 29 13:50:51) bzflag]$ svn propset svn:mime-type text/plain some_file.odd&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; [sean@bz (Wed May 29 13:50:51) bzflag]$ svn propset svn:eol-style native some_file.odd&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bzflag_wiki-bz_:diff:1.41:old-6953:rev-6954:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Learner</name></author>
	</entry>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=6953&amp;oldid=prev</id>
		<title>Learner: explain the mime-type issue</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Mime-types&amp;diff=6953&amp;oldid=prev"/>
		<updated>2010-02-23T18:11:42Z</updated>

		<summary type="html">&lt;p&gt;explain the mime-type issue&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[category:Design Documents]]&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Sean provides a copy of his Subversion configuration that includes property settings for many file types.  You can download and install it with this:&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;curl http://bzflag.org/~sean/subversion.config &amp;gt; ~/.subversion/config&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Once installed, run &amp;#039;&amp;#039;svn revert&amp;#039;&amp;#039; on your new file and then add it again.  The properties should be set if the config file is installed properly and it&amp;#039;s a recognized file type.&lt;br /&gt;
&lt;br /&gt;
This problem usually looks like this:&lt;br /&gt;
&lt;br /&gt;
 [sean@bz (Wed May 28 13:27:55) bzflag]$ svn commit some_new_file.c&lt;br /&gt;
 Sending      some_new_file.c&lt;br /&gt;
 Transmitting file data ...svn: Commit failed (details follow):&lt;br /&gt;
 svn: MERGE request failed on &amp;#039;/svnroot/bzflag/trunk/bzflag&amp;#039;&lt;br /&gt;
 svn: &amp;#039;pre-commit&amp;#039; hook failed with error output:&lt;br /&gt;
 /var/local/mastertree/service-svn/hook-scripts/check-mime-type.pl:&lt;br /&gt;
 &lt;br /&gt;
 bzflag/trunk/bzflag/some_new_file.c : svn:mime-type is not set&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
    Every added file must have the svn:mime-type property set. In&lt;br /&gt;
    addition text files must have the svn:eol-style property set.&lt;br /&gt;
    &lt;br /&gt;
    For binary files try running&lt;br /&gt;
    svn propset svn:mime-type application/octet-stream path/of/file&lt;br /&gt;
    &lt;br /&gt;
    For text files try&lt;br /&gt;
    svn propset svn:mime-type text/plain path/of/file&lt;br /&gt;
    svn propset svn:eol-style native path/of/file&lt;br /&gt;
    &lt;br /&gt;
    You may want to consider uncommenting the auto-props section&lt;br /&gt;
    in your ~/.subversion/config file. Read the Subversion book&lt;br /&gt;
    (http://svnbook.red-bean.com/), Chapter 7, Properties section,&lt;br /&gt;
    Automatic Property Setting subsection for more help.&lt;br /&gt;
&lt;br /&gt;
 [sean@bz (Wed May 28 13:28:55) bzflag]$ svn revert some_new_file.c&lt;br /&gt;
 Reverted &amp;#039;some_new_file.c&amp;#039;&lt;br /&gt;
 [sean@bz (Wed May 28 13:29:55) bzflag]$ curl http://bzflag.org/~sean/subversion.config &amp;gt; ~/.subversion/config&lt;br /&gt;
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current&lt;br /&gt;
                                  Dload  Upload   Total   Spent    Left  Speed&lt;br /&gt;
 100 10810  100 10810    0     0  30099      0 --:--:-- --:--:-- --:--:-- 81278&lt;br /&gt;
 [sean@bz (Wed May 28 13:30:55) bzflag]$ svn add some_new_file.c&lt;br /&gt;
 A         some_new_file.c&lt;br /&gt;
 [sean@bz (Wed May 28 13:31:55) bzflag]$ svn commit some_new_file.c&lt;br /&gt;
 ... no mime type error ...&lt;/div&gt;</summary>
		<author><name>Learner</name></author>
	</entry>
</feed>