[svnbook] r3758 committed - * trunk/src/de/book/ch03-advanced-topics.xml...

svnbook at googlecode.com svnbook at googlecode.com
Wed Jul 28 14:15:46 CDT 2010


Revision: 3758
Author: jmfelderhoff at gmx.eu
Date: Wed Jul 28 12:14:59 2010
Log: * trunk/src/de/book/ch03-advanced-topics.xml
   - Fixes ticket #308 (cf. http://www.svnbook.de/report/6).

http://code.google.com/p/svnbook/source/detail?r=3758

Modified:
  /trunk/src/de/book/ch03-advanced-topics.xml

=======================================
--- /trunk/src/de/book/ch03-advanced-topics.xml	Fri Jul  9 08:05:05 2010
+++ /trunk/src/de/book/ch03-advanced-topics.xml	Wed Jul 28 12:14:59 2010
@@ -1357,8 +1357,12 @@

      <!-- ===============================================================  
-->
      <sect2 id="svn.advanced.props.workflow">
+<!--
        <title>Properties and the Subversion Workflow</title>
-
+-->
+      <title>Propertys und der Arbeitsablauf von Subversion</title>
+
+<!--
        <para>Now that you are familiar with all of the
          property-related <command>svn</command> subcommands, let's see
          how property modifications affect the usual Subversion
@@ -1367,7 +1371,19 @@
          result, Subversion provides the same opportunities for
          merging—cleanly or with conflicts—someone
          else's modifications into your own.</para>
-
+-->
+      <para>Jetzt, da Sie mit allen
+        <command>svn</command>-Unterbefehlen vertraut sind, die mit
+        Propertys zu tun haben, wollen wir uns ansehen, welche
+        Auswirkungen Änderungen an Propertys auf den üblichen
+        Arbeitsablauf von Subversion haben. Wie wir bereits früher
+        erwähnten, sind Propertys von Dateien und Verzeichnissen
+        versioniert, genau so wie der Dateiinhalt. Deshalb bietet
+        Subversion dieselben Möglichkeiten für das Zusammenführen der
+        Änderungen anderer mit Ihren eigenen – sauber oder
+        konfliktbehaftet.</para>
+
+<!--
        <para>As with file contents, your property changes are local
          modifications, made permanent only when you commit them to the
          repository with <command>svn commit</command>.  Your property
@@ -1378,7 +1394,21 @@
          the state of your file and directory properties by using the
          <command>svn status</command> and <command>svn diff</command>
          commands.</para>
-
+-->
+      <para>Wie bei Dateiinhalten handelt es sich bei Ihren
+        Property-Änderungen um lokale Modifikationen, die erst dann
+        dauerhaft werden, wenn Sie sie mittels <command>svn
+          commit</command> an das Projektarchiv übergeben. Ihre
+        Property-Änderungen können auch leicht rückgängig gemacht
+        werden – der Befehl <command>svn revert</command> bringt
+        Ihre Dateien und Verzeichnisse wieder in den unbearbeiteten
+        Zustand – und zwar Inhalt, Propertys und alles andere.
+        Auch können Sie durch die Benutzung der Befehls <command>svn
+          status</command> und <command>svn diff</command>
+        interessante Informationen über den Status Ihrer Datei- und
+        Verzeichnis-Propertys erhalten.</para>
+
+<!--
        <screen>
  $ svn status calc/button.c
   M     calc/button.c
@@ -1390,7 +1420,20 @@

  $
  </screen>
-
+-->
+      <screen>
+$ svn status calc/button.c
+ M     calc/button.c
+$ svn diff calc/button.c
+Eigenschaftsänderungen: calc/button.c
+___________________________________________________________________
+Name: copyright
+   + (c) 2006 Red-Bean Software
+
+$
+</screen>
+
+<!--
        <para>Notice how the <command>status</command> subcommand
          displays <literal>M</literal> in the second column instead of
          the first.  That is because we have modified the properties on
@@ -1399,17 +1442,39 @@
          <literal>M</literal> in the first column, too.  (We cover
          <command>svn status</command> in <xref
          linkend="svn.tour.cycle.examine.status" />).</para>
+-->
+      <para>Beachten Sie, dass der Unterbefehl
+        <command>status</command> das <literal>M</literal> in der
+        zweiten statt in der ersten Spalte anzeigt. Das geschieht, da
+        wir zwar die Propertys von <filename>calc/button.c</filename>
+        verändert haben, nicht jedoch dessen Inhalt. Hätten wir beides
+        geändert, würden wir <literal>M</literal> auch in der ersten
+        Spalte sehen. (<command>svn status</command> behandeln wir in
+        <xref linkend="svn.tour.cycle.examine.status" />).</para>

        <sidebar>
+<!--
          <title>Property Conflicts</title>
-
+-->
+        <title>Property-Konflikte</title>
+
+<!--
          <para>As with file contents, local property modifications can
            conflict with changes committed by someone else.  If you
            update your working copy directory and receive property
            changes on a versioned object that clash with your own,
            Subversion will report that the object is in a conflicted
            state.</para>
-
+-->
+        <para>Wie bei Dateiinhalten kann es zu Konflikten zwischen
+          lokalen Änderungen an Propertys und übergebenen Änderungen
+          anderer kommen. Wenn Sie das Verzeichnis Ihrer Arbeitskopie
+          aktualisieren und Property-Änderungen eines versionierten
+          Objektes erhalten, die mit Ihren eigenen kollidieren, wird
+          Subversion melden, dass sich das Objekt in einem
+          Konfliktzustand befindet.</para>
+
+<!--
          <screen>
  $ svn update calc
  M  calc/Makefile.in
@@ -1420,7 +1485,19 @@
  Updated to revision 143.
  $
  </screen>
-
+-->
+        <screen>
+$ svn update calc
+M  calc/Makefile.in
+Konflikt für Eigenschaft »linecount« für »calc/button.c« entdeckt.
+Auswahl: (p) zurückstellen, (df) voller Diff, (e) editieren,
+         (h) Hilfe für weitere Optionen: p
+ C calc/button.c
+Aktualisiert zu Revision 143.
+$
+</screen>
+
+<!--
          <para>Subversion will also create, in the same directory as
            the conflicted object, a file with a
            <filename>.prej</filename> extension that contains the
@@ -1430,7 +1507,19 @@
            <literal>C</literal> in the second column of <command>svn
            status</command> output for that object, and attempts to
            commit your local modifications will fail.</para>
-
+-->
+        <para>Subversion erzeugt im selben Verzeichnis des
+          konfliktbehafteten Objektes eine Datei mit der Endung
+          <filename>.prej</filename>, die Einzelheiten zum Konflikt
+          beinhaltet. Sie sollten sich den Inhalt genau ansehen, um
+          entscheiden zu können, wie der Konflikt aufgelöst werden
+          kann. Bis der Konflikt aufgelöst ist wird in der zweiten
+          Spalte der Ausgabe von <command>svn status</command> für
+          dieses Objekt ein <literal>C</literal> angezeigt und
+          Versuche, Ihre lokalen Änderungen zu übergeben, werden
+          fehlschlagen.</para>
+
+<!--
          <screen>
  $ svn status calc
   C     calc/button.c
@@ -1440,15 +1529,33 @@
  but property has been locally changed from '1267' to '1256'.
  $
  </screen>
-
+-->
+        <screen>
+$ svn status calc
+ C     calc/button.c
+?      calc/button.c.prej
+$ cat calc/button.c.prej
+Versuch, die Eigenschaft »linecount« von »1267« in »1301« zu ändern,
+aber die Eigenschaft wurde lokal von »1267« in »1256« geändert.
+$
+</screen>
+
+<!--
          <para>To resolve property conflicts, simply ensure that the
            conflicting properties contain the values that they should,
            and then use the <command>svn resolved</command> command to
            alert Subversion that you have manually resolved the
            problem.</para>
+-->
+        <para>Um Property-Konflikte aufzulösen, stellen Sie einfach
+          sicher, dass die konfliktbehafteten Propertys die passenden Werte
+          enthalten und verwenden dann den Befehl <command>svn
+            resolved</command>, um Subversion mitzuteilen, dass Sie
+          das Problem manuell gelöst haben.</para>

        </sidebar>

+<!--
        <para>You might also have noticed the nonstandard way that
          Subversion currently displays property differences.  You can
          still use <command>svn diff</command> and redirect its output
@@ -1458,6 +1565,17 @@
          unfortunately, mean that to fully apply a patch generated by
          <command>svn diff</command>, any property modifications will
          need to be applied by hand.</para>
+-->
+      <para>Sie haben vielleicht auch die ungewöhnliche Art und Weise
+        bemerkt, wie Subversion momentan Unterschiede von Propertys
+        darstellt. Sie können immer noch <command>svn diff</command>
+        verwenden und dessen Ausgabe umleiten, um eine Patch-Datei zu
+        erzeugen. Das Programm <command>patch</command> ignoriert
+        Patches für Propertys – es ignoriert regelmäßig alles,
+        was es nicht versteht. Das bedeutet leider, dass für die
+        vollständige Anwendung eines durch <command>svn diff</command>
+        erzeugten Patches sämtliche Änderungen an Propertys manuell
+        nachgezogen werden müssen.</para>

      </sect2>



More information about the svnbook-dev mailing list