[svnbook] r3679 committed - * trunk/src/de/book/appb-svn-for-cvs-users.xml...
svnbook at googlecode.com
svnbook at googlecode.com
Fri Feb 5 11:42:11 CST 2010
Revision: 3679
Author: jmfelderhoff at gmx.eu
Date: Fri Feb 5 09:41:23 2010
Log: * trunk/src/de/book/appb-svn-for-cvs-users.xml
- Binary Files and Translation.
http://code.google.com/p/svnbook/source/detail?r=3679
Modified:
/trunk/src/de/book/appb-svn-for-cvs-users.xml
=======================================
--- /trunk/src/de/book/appb-svn-for-cvs-users.xml Sun Jan 24 23:55:35 2010
+++ /trunk/src/de/book/appb-svn-for-cvs-users.xml Fri Feb 5 09:41:23 2010
@@ -820,8 +820,12 @@
<!-- =================================================================
-->
<!-- =================================================================
-->
<sect1 id="svn.forcvs.binary-and-trans">
+<!--
<title>Binary Files and Translation</title>
-
+-->
+ <title>Binärdateien und Umwandlung</title>
+
+<!--
<para>In the most general sense, Subversion handles binary files
more gracefully than CVS does. Because CVS uses RCS, it can
only store successive full copies of a changing binary file.
@@ -829,12 +833,28 @@
binary differencing algorithm, regardless of whether they
contain textual or binary data. That means all files are
stored differentially (compressed) in the repository.</para>
-
+-->
+ <para>Im Großen und Ganzen geht Subversion mit Binärdateien
+ eleganter um als CVS. Da CVS RCS verwendet, kann es nur
+ aufeinanderfolgende vollständige Kopien einer sich ändernden
+ Binärdatei abspeichern. Subversion jedoch stellt Unterschiede
+ zwischen Dateien mithilfe eines binären Differenzalgorithmus
+ dar. Das bedeutet, dass alle Dateien als (komprimierte)
+ Differenzen im Repository abgespeichert werden.</para>
+
+<!--
<para>CVS users have to mark binary files with
<option>-kb</option> flags to prevent data from being
garbled (due to keyword expansion and line-ending translations).
They sometimes forget to do this.</para>
-
+-->
+ <para>Benutzer von CVS müssen binäre Dateien mit der Option
+ <option>-kb</option> kennzeichnen, um zu verhindern, dass die
+ Daten verfälscht werden (aufgrund von Schlüsselwortersetzung und
+ der Umwandlung von Zeilenenden). Manchmal vergessen sie
+ es.</para>
+
+<!--
<para>Subversion takes the more paranoid route. First, it never
performs any kind of keyword or line-ending translation unless
you explicitly ask it to do so (see <xref
@@ -843,14 +863,34 @@
Subversion treats all file data as literal byte strings, and
files are always stored in the repository in an untranslated
state.</para>
-
+-->
+ <para>Subversion schlägt den paranoideren Weg ein. Erstens
+ macht es keinerlei Schlüsselwortersetzung oder
+ Zeilenendenumwandlung, es sei denn, Sie fordern es ausdrücklich
+ dazu auf (Einzelheiten unter <xref
+ linkend="svn.advanced.props.special.keywords"/> und <xref
+ linkend="svn.advanced.props.special.eol-style"/>). Standardmäßig
+ behandelt Subversion alle Dateiinhalte als Byteketten, und
+ Dateien werden stets ohne Umwandlung im Repository
+ gespeichert.</para>
+
+<!--
<para>Second, Subversion maintains an internal notion of whether a
file is <quote>text</quote> or <quote>binary</quote> data, but
this notion is <emphasis>only</emphasis> extant in the working
copy. During an <command>svn update</command>, Subversion will
perform contextual merges on locally modified text files, but
will not attempt to do so for binary files.</para>
-
+-->
+ <para>Zweitens besitzt Subversion eine interne Auffassung, ob eine
+ Datei <quote>textuellen</quote> oder <quote>binären</quote>
+ Inhalt hat, doch besteht diese Auffassung
+ <emphasis>nur</emphasis> in der Arbeitskopie. Während eines
+ <command>svn update</command> unternimmt Subversion für lokal
+ veränderte Textdateien eine kontextabhängige Zusammenführung,
+ versucht das allerdings nicht bei Binärdateien.</para>
+
+<!--
<para>To determine whether a contextual merge is possible,
Subversion examines the <literal>svn:mime-type</literal>
property. If the file has no <literal>svn:mime-type</literal>
@@ -864,8 +904,23 @@
<literal>svn:mime-type</literal> property on the file being
added. (If Subversion guesses wrong, the user can always remove
or hand-edit the property.)</para>
-
- </sect1>
+-->
+ <para>Um festzustellen, ob eine kontextabhängige Zusammenführung
+ möglich ist, überprüft Subversion das Property
+ <literal>svn:mime-type</literal>. Falls die Datei kein Property
+ <literal>svn:mime-type</literal> besitzt, oder ein textueller
+ MIME-Typ ist (z.B. <literal>text/*</literal>), nimmt Subversion
+ an, dass es sich um eine Textdatei handelt. Anderenfalls nimmt
+ Subversion an, dass die Datei binär ist. Subversion hilft
+ Benutzern auch, indem es einen Algorithmus zur Erkennung von
+ Binärdaten bei den Befehlen <command>svn import</command> und
+ <command>svn add</command> ausführt. Diese Befehle werden eine
+ gute Schätzung machen und (möglicherweise) ein binäres
+ <literal>svn:mime-type</literal> Property auf die hinzuzufügende
+ Datei setzen. (Falls sich Subversion verschätzt, kann der
+ Benutzer stets das Property entfernen oder manuell
+ bearbeiten.)</para>
+ </sect1>
<!-- =================================================================
-->
<!-- =================================================================
-->
More information about the svnbook-dev
mailing list