subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1441102 - /subversion/site/publish/faq.html
Date Thu, 31 Jan 2013 18:24:03 GMT
Author: stsp
Date: Thu Jan 31 18:24:03 2013
New Revision: 1441102

* 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
--- 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="
 >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="">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>

View raw message