[svnbook] r4722 committed - Translation: Automatic Property Setting
svnbook at googlecode.com
svnbook at googlecode.com
Fri Mar 14 01:34:04 CDT 2014
Revision: 4722
Author: jmfelderhoff at gmx.eu
Date: Fri Mar 14 06:34:00 2014 UTC
Log: Translation: Automatic Property Setting
http://code.google.com/p/svnbook/source/detail?r=4722
Modified:
/branches/1.7/de/book/ch03-advanced-topics.xml
=======================================
--- /branches/1.7/de/book/ch03-advanced-topics.xml Fri Mar 14 06:12:02 2014
UTC
+++ /branches/1.7/de/book/ch03-advanced-topics.xml Fri Mar 14 06:34:00 2014
UTC
@@ -2529,9 +2529,14 @@
<literal>svn:mime-type</literal> property to the MIME type it
found. If no mapping file is configured, or no mapping for
your file's extension could be found, Subversion will fall
- back to its
- own very basic heuristic to determine whether the file
- contains nontextual content. If so, it automatically sets the
+ back to heuristic algorithms to determine the file's MIME
+ type. Depending on how it is built, Subversion 1.7 can make
+ use of file scanning libraries<footnote><para>Currently,
+ libmagic is the support library used to accomplish
+ this.</para></footnote> to detect a file's type based on its
+ content. Failing all else, Subversion will employ its own
+ very basic heuristic to determine whether the file contains
+ nontextual content. If so, it automatically sets the
<literal>svn:mime-type</literal> property on that file to
<literal>application/octet-stream</literal> (the generic
<quote>this is a collection of bytes</quote> MIME type). Of
@@ -2552,12 +2557,19 @@
setzt es die Eigenschaft <literal>svn:mime-type</literal> Ihrer
Datei auf den gefundenen MIME-Typen. Falls keine Datei
konfiguriert oder kein passender Typ für die Dateiendung
- gefunden wurde, verwendet Subversion stattdessen seine recht
- einfache Heuristik, um festzustellen, ob die Datei
- nicht-textuellen Inhalt hat. Falls das der Fall ist, wird
- automatisch die Eigenschaft <literal>svn:mime-type</literal>
- dieser Datei auf <literal>application/octet-stream</literal>
- gesetzt (der allgemeine <quote>dies ist eine Ansammlung von
+ gefunden wurde, verwendet Subversion stattdessen heuristische
+ Algorithmen, um den MIME-Typen der Datei zu ermitteln.
+ Abhängig davon, wie es gebaut wurde, kann Subversion 1.7
+ Dateiprüfungs-Bibliotheken verwenden<footnote><para>Momentan
+ wird hierfür die Bibliothek libmagic
+ verwendet.</para></footnote>, um den Dateitypen aufgrund des
+ Inhalts zu bestimmen. Falls all das fehlschlägt, benutzt
+ Subversion seine eigene recht einfache Heuristik, um
+ festzustellen, ob die Datei nicht-textuellen Inhalt hat. Falls
+ das der Fall ist, wird automatisch die Eigenschaft
+ <literal>svn:mime-type</literal> dieser Datei auf
+ <literal>application/octet-stream</literal> gesetzt (der
+ allgemeine <quote>dies ist eine Ansammlung von
Bytes</quote>-MIME-Type). Falls Subversion falsch rät, oder
falls Sie den Wert der Eigenschaft
<literal>svn:mime-type</literal> präziser setzen möchten
More information about the svnbook-dev
mailing list