You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/01/31 19:24:03 UTC

svn commit: r1441102 - /subversion/site/publish/faq.html

Author: stsp
Date: Thu Jan 31 18:24:03 2013
New Revision: 1441102

URL: http://svn.apache.org/viewvc?rev=1441102&view=rev
Log:
* site/publish/faq.html
  (binary-files): The future is here! Mention libmagic support and remove
   claims that binary file detection might be improved in future releases,
   as it already has been improved.

Modified:
    subversion/site/publish/faq.html

Modified: subversion/site/publish/faq.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/faq.html?rev=1441102&r1=1441101&r2=1441102&view=diff
==============================================================================
--- subversion/site/publish/faq.html (original)
+++ subversion/site/publish/faq.html Thu Jan 31 18:24:03 2013
@@ -2334,8 +2334,7 @@ create</tt> command to specify BDB.</p>
 examined to determine if it is a binary file.  Currently, Subversion
 just looks at the first 1024 bytes of the file; if any of the bytes
 are zero, or if more than 15% are not ASCII printing characters, then
-Subversion calls the file binary.  This heuristic might be improved in
-the future, however.</p>
+Subversion calls the file binary.</p>
 
 <p>If Subversion determines that the file is binary, the file receives
 an svn:mime-type property set to "application/octet-stream".  (You can
@@ -2344,6 +2343,12 @@ href="http://svnbook.red-bean.com/nightl
 >auto-props feature</a> or by setting the property manually with
 <tt>svn propset</tt>.)</p>
 
+<p>Subversion 1.7 and later can optionally be compiled with support for
+<a href="http://www.darwinsys.com/file/">libmagic</a> to detect
+MIME types of binary files which are added to version control.
+This feature is used only for binary files for which no MIME type
+is found via auto-props or the mime-types-file configuration option.</p>
+
 <p>Subversion treats the following files as text:</p>
 
 <ul>