[svnbook] r4513 committed - Translated rest of chapter 2.

svnbook at googlecode.com svnbook at googlecode.com
Wed Jun 12 16:23:33 CDT 2013


Revision: 4513
Author:   jmfelderhoff at gmx.eu
Date:     Wed Jun 12 14:23:16 2013
Log:      Translated rest of chapter 2.
http://code.google.com/p/svnbook/source/detail?r=4513

Modified:
  /branches/1.6/de/book/ch02-basic-usage.xml

=======================================
--- /branches/1.6/de/book/ch02-basic-usage.xml	Wed Jun 12 03:32:31 2013
+++ /branches/1.6/de/book/ch02-basic-usage.xml	Wed Jun 12 14:23:16 2013
@@ -2394,7 +2394,7 @@
          Änderungen rückgängig machen. Sie könnten versuchen, eine
          Kopie der Datei im Ursprungszustand zu bekommen und deren
          Inhalt über Ihre Änderungen zu kopieren. Sie könnten
-        versuchen, diese Änderrungen erneut mit <userinput>patch
+        versuchen, diese Änderungen erneut mit <userinput>patch
          -R</userinput> rückwärts anzuwenden. Es gibt wahrscheinlich
          noch andere Herangehensweisen, die Sie ausprobieren
          könnten.</para>
@@ -2582,7 +2582,7 @@
          uns noch um diese Konflikte kümmern. Konflikte können
          jederzeit auftreten, wenn Sie versuchen, Änderungen aus dem
          Projektarchiv mit Ihrer Arbeitskopie zusammenzuführen oder zu
-        integrieren (in einem sehr allgemeinen Sinn). Bie hierher
+        integrieren (in einem sehr allgemeinen Sinn). Bis hierher
          wissen Sie, dass <command>svn update</command> genau diese Art
          von Szenario hervorruft – der eigentliche Zweck dieses
          Befehls ist es, Ihre Arbeitskopie mit dem Projektarchiv auf
@@ -2666,7 +2666,7 @@
          Zunächst teilt Ihnen Subversion mit, dass es beim Versuch,
          ausstehende Server-Änderungen in die Datei
          <filename>bar.c</filename> hineinzubringen, festgestellt hat,
-        dass einige dieser Ändeungen mit lokalen Änderungen
+        dass einige dieser Änderungen mit lokalen Änderungen
          kollidieren, die Sie an dieser Datei in Ihrer Arbeitskopie
          vorgenommen, jedoch noch nicht übergeben haben. Vielleicht hat
          jemand dieselbe Textzeile wie Sie geändert. Wie dem auch sei,
@@ -2848,7 +2848,7 @@
              <para>Alle lokalen Änderungen an der zu überprüfenden
                Datei verwerfen, die in Konflikt zu Änderungen vom
                Server stehen. Jedoch werden alle nicht in Konflikt
-              stehehden lokalen Änderungen an dieser Datei
+              stehenden lokalen Änderungen an dieser Datei
                beibehalten.</para>
            </listitem>
          </varlistentry>
@@ -3129,7 +3129,7 @@
            verwenden, um die Datei mit den Konfliktmarken manuell in
            einem Texteditor (nach den Anweisungen in <xref
            linkend="svn.advanced.externaleditors"/> konfiguriert)
-          bearnbeiten. Nachdem Sie die Datei bearbeitet haben und mit
+          bearbeiten. Nachdem Sie die Datei bearbeitet haben und mit
            Ihren Änderungen zufrieden sind, können Sie Subversion
            mitteilen, das sich die bearbeitete Datei nicht mehr im
            Konfliktzustand befindet, indem Sie den Befehl
@@ -3192,7 +3192,7 @@
            detected.</para>

  -->
-        <para>Zum Schluß gibt es noch ein Paar von Kompromissoptionen.
+        <para>Zum Schluss gibt es noch ein Paar von Kompromissoptionen.
            Die Befehle <quote>mine-conflict</quote>
            (<userinput>mc</userinput>)
            und <quote>theirs-conflict</quote>
@@ -3284,7 +3284,7 @@
  -->
            <indexterm>
              <primary>Konflikte</primary>
-            <secondary>Konfliktmarkierungen</secondary>
+            <secondary>Konfliktmarken</secondary>
            </indexterm>


@@ -4176,14 +4176,25 @@
        <emphasis>gehen</emphasis>.</para>

  <!--
-    <para>Several commands can provide you with
-      historical data from the repository:</para>
+    <para>Several commands can provide you with historical data from
+      the repository:</para>
  -->
      <para>Es gibt mehrere Befehle, die Sie mit historischen Daten aus dem
        Projektarchiv versorgen können:</para>

        <variablelist>

+        <varlistentry>
+          <term><command>svn diff</command></term>
+          <listitem>
+<!--
+            <para>Shows line-level details of a particular change</para>
+-->
+            <para>Zeigt die Details einer bestimmten Änderung auf
+              Zeilenebene</para>
+          </listitem>
+        </varlistentry>
+
          <varlistentry>
            <term><command>svn log</command></term>
            <listitem>
@@ -4199,17 +4210,6 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
-          <term><command>svn diff</command></term>
-          <listitem>
-<!--
-            <para>Shows line-level details of a particular change</para>
--->
-            <para>Zeigt die Details einer bestimmten Änderung auf
-              Zeilenebene</para>
-          </listitem>
-        </varlistentry>
-
          <varlistentry>
            <term><command>svn cat</command></term>
            <listitem>
@@ -4238,6 +4238,221 @@
        </variablelist>


+    <!-- ===============================================================  
-->
+    <sect2 id="svn.tour.history.diff">
+<!--
+      <title>Examining the Details of Historical Changes</title>
+-->
+      <title>Detaillierte Untersuchung der Änderungsgeschichte</title>
+
+<!--
+      <para>We've already seen <command>svn diff</command>
+        before—it displays file differences in unified diff
+        format; we used it to show the local modifications made to
+        our working copy before committing to the repository.</para>
+-->
+      <para><command>svn diff</command> ist uns bereits begegnet
+        – es zeigt Dateiunterschiede im unified-diff-Format; wir
+        verwendeten es, um die lokalen Änderungen an unserer
+        Arbeitskopie anzuzeigen, bevor wir sie dem Projektarchiv
+        übergaben.</para>
+
+<!--
+      <para>In fact, it turns out that there are
+        <emphasis>three</emphasis> distinct uses of <command>svn
+        diff</command>:</para>
+-->
+      <para>Tatsächlich stellt sich heraus, dass es
+        <emphasis>drei</emphasis> verschiedene
+        Verwendungsmöglichkeiten für <command>svn diff</command>
+        gibt:</para>
+
+      <itemizedlist>
+
+        <listitem>
+<!--
+          <para>Examining local changes</para>
+-->
+          <para>zum Untersuchen lokaler Änderungen</para>
+        </listitem>
+
+        <listitem>
+<!--
+          <para>Comparing your working copy to the repository</para>
+-->
+	  <para>zum Vergleichen Ihrer Arbeitskopie mit dem
+	    Projektarchiv</para>
+        </listitem>
+
+        <listitem>
+<!--
+          <para>Comparing repository revisions</para>
+-->
+          <para>zum Vergleichen von Projektarchiv-Revisionen</para>
+        </listitem>
+
+      </itemizedlist>
+
+      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
+      <sect3 id="svn.tour.history.diff.local">
+<!--
+        <title>Examining local changes</title>
+-->
+        <title>Untersuchen lokaler Änderungen</title>
+
+<!--
+        <para>As we've seen, invoking <userinput>svn diff</userinput> with
+          no options will compare your working files to the cached
+          <quote>pristine</quote> copies in
+          the <filename>.svn</filename> area:</para>
+-->
+        <para>Wie wir gesehen haben, vergleicht der Aufruf von
+          <userinput>svn diff</userinput> ohne Optionen die
+          Arbeitsdateien mit den zwischengespeicherten
+          <quote>ursprünglichen</quote> Kopien im
+          <filename>.svn</filename>-Bereich:</para>
+
+        <informalexample>
+          <screen>
+$ svn diff
+Index: rules.txt
+===================================================================
+--- rules.txt	(revision 3)
++++ rules.txt	(working copy)
+@@ -1,4 +1,5 @@
+ Be kind to others
+ Freedom = Responsibility
+ Everything in moderation
+-Chew with your mouth open
++Chew with your mouth closed
++Listen when others are speaking
+$
+</screen>
+        </informalexample>
+
+      </sect3>
+
+      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
+      <sect3 id="svn.tour.history.diff.wcrepos">
+<!--
+        <title>Comparing working copy to repository</title>
+-->
+        <title>Vergleichen der Arbeitskopie mit dem Projektarchiv</title>
+
+<!--
+        <para>If a single <option>- -revision</option>
+          (<option>-r</option>) number is passed, your
+          working copy is compared to the specified revision in the
+          repository:</para>
+-->
+        <para>Wird eine einzelne Nummer mit <option>--revision</option>
+          (<option>-r</option>) übergeben, wird die Arbeitskopie mit
+          der angegebenen Revision im Projektarchiv verglichen:</para>
+
+        <informalexample>
+          <screen>
+$ svn diff -r 3 rules.txt
+Index: rules.txt
+===================================================================
+--- rules.txt	(revision 3)
++++ rules.txt	(working copy)
+@@ -1,4 +1,5 @@
+ Be kind to others
+ Freedom = Responsibility
+ Everything in moderation
+-Chew with your mouth open
++Chew with your mouth closed
++Listen when others are speaking
+$
+</screen>
+        </informalexample>
+
+      </sect3>
+
+      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
+      <sect3 id="svn.tour.history.diff.reposrepos">
+<!--
+        <title>Comparing repository revisions</title>
+-->
+        <title>Vergleichen von Projektarchiv-Revisionen</title>
+
+<!--
+        <para>If two revision numbers, separated by a colon, are
+          passed via <option>- -revision</option>
+          (<option>-r</option>), the two revisions are directly
+          compared:</para>
+-->
+        <para>Werden zwei Revisionsnummern durch einen Doppelpunkt
+          getrennt mit <option>--revision</option>
+          (<option>-r</option>) übergeben, werden die beiden
+          Revisionen direkt miteinander verglichen:</para>
+
+        <informalexample>
+          <screen>
+$ svn diff -r 2:3 rules.txt
+Index: rules.txt
+===================================================================
+--- rules.txt	(revision 2)
++++ rules.txt	(revision 3)
+@@ -1,4 +1,4 @@
+ Be kind to others
+-Freedom = Chocolate Ice Cream
++Freedom = Responsibility
+ Everything in moderation
+ Chew with your mouth open
+$
+</screen>
+        </informalexample>
+
+<!--
+        <para>A more convenient way of comparing one revision to the
+          previous revision is to use the <option>- -change</option>
+          (<option>-c</option>) option:</para>
+-->
+        <para>Eine bequemere Möglichkeit, eine Revision mit der
+          Vorgänger-Revision zu vergleichen, bietet die Verwendung der
+          Option <option>--change</option>
+          (<option>-c</option>):</para>
+
+        <informalexample>
+          <screen>
+$ svn diff -c 3 rules.txt
+Index: rules.txt
+===================================================================
+--- rules.txt	(revision 2)
++++ rules.txt	(revision 3)
+@@ -1,4 +1,4 @@
+ Be kind to others
+-Freedom = Chocolate Ice Cream
++Freedom = Responsibility
+ Everything in moderation
+ Chew with your mouth open
+$
+</screen>
+        </informalexample>
+
+<!--
+        <para>Lastly, you can compare repository revisions even when
+          you don't have a working copy on your local machine, just by
+          including the appropriate URL on the command line:</para>
+-->
+        <para>Zu guter Letzt können Sie Revisionen im Projektarchiv auch
+          dann vergleichen, falls Sie gar keine Arbeitskopie auf Ihrem
+          lokalen Rechner haben, indem Sie einfach den entsprechenden
+          URL auf der Kommandozeile angeben:</para>
+
+        <informalexample>
+          <screen>
+$ svn diff -c 5 http://svn.example.com/repos/example/trunk/text/rules.txt
+…
+$
+</screen>
+        </informalexample>
+
+      </sect3>
+
+    </sect2>
+
      <!-- ===============================================================  
-->
      <sect2 id="svn.tour.history.log">
  <!--
@@ -4265,7 +4480,8 @@
          Protokolleintrag:</para>

  <!--
-      <screen>
+      <informalexample>
+        <screen>
  $ svn log
   - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  -
  r3 | sally | 2008-05-15 23:09:28 -0500 (Thu, 15 May 2008) | 1 line
@@ -4281,8 +4497,10 @@
  Initial import
   - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  -
  </screen>
+      </informalexample>
  -->
-      <screen>
+      <informalexample>
+        <screen>
  $ svn log
  ------------------------------------------------------------------------
  r3 | sally | 2008-05-15 23:09:28 -0500 (Thu, 15 May 2008) | 1 line
@@ -4298,6 +4516,7 @@
  Erstimport
  ------------------------------------------------------------------------
  </screen>
+      </informalexample>
  <!--
        <para>Note that the log messages are printed in
          <emphasis>reverse chronological order</emphasis> by default.
@@ -4314,21 +4533,63 @@
          <option>--revision</option> (<option>-r</option>):</para>

  <!--
-      <screen>
-$ svn log -r 5:19    # shows logs 5 through 19 in chronological order
-
-$ svn log -r 19:5    # shows logs 5 through 19 in reverse order
-
-$ svn log -r 8       # shows log for revision 8
-</screen>
+      <table id="svn.tour.history.log.tbl-1">
+        <title>Common log requests</title>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Command</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><userinput>svn log -r 5:19</userinput></entry>
+              <entry>Display logs for revisions 5 through 19 in
+                chronological order</entry>
+            </row>
+            <row>
+              <entry><userinput>svn log -r 19:5</userinput></entry>
+              <entry>Display logs for revisions 5 through 19 in
+                reverse chronological order</entry>
+            </row>
+            <row>
+              <entry><userinput>svn log -r 8</userinput></entry>
+              <entry>Display logs for revision 8 only</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </table>
  -->
-      <screen>
-$ svn log -r 5:19    # zeigt Protokolleintrag 5 bis 19 in chronologischer  
Reihenfolge
-
-$ svn log -r 19:5    # zeigt Protokolleintrag 5 bis 19 in umgekehrter  
Reihenfolge
-
-$ svn log -r 8       # zeigt Protokolleintrag für Revision 8
-</screen>
+      <table id="svn.tour.history.log.tbl-1">
+        <title>Häufige Protokollanfragen</title>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Befehl</entry>
+              <entry>Beschreibung</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><userinput>svn log -r 5:19</userinput></entry>
+              <entry>Anzeige der Protokolleinträge für die Revisionen
+                5 bis 19 in chronologischer Reihenfolge</entry>
+            </row>
+            <row>
+              <entry><userinput>svn log -r 19:5</userinput></entry>
+              <entry>Anzeige der Protokolleinträge für die Revisionen
+                5 bis 19 in umgekehrt chronologischer
+                Reihenfolge</entry>
+            </row>
+            <row>
+              <entry><userinput>svn log -r 8</userinput></entry>
+              <entry>Anzeige des Protokolleintrags nur für Revision
+                8</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </table>

  <!--
        <para>You can also examine the log history of a single file or
@@ -4338,12 +4599,14 @@
          einzigen Datei oder eines einzigen Verzeichnisses ansehen. Zum
          Beispiel:</para>

-      <screen>
+      <informalexample>
+        <screen>
  $ svn log foo.c
  …
  $ svn log http://foo.com/svn/trunk/code/foo.c
  …
  </screen>
+      </informalexample>

  <!--
        <para>These will display log messages <emphasis>only</emphasis>
@@ -4361,7 +4624,7 @@
            Just Committed?</title>
  -->
          <title>Warum zeigt mir svn log nicht, was ich gerade übergeben
-	  habe?</title>
+          habe?</title>

  <!--
          <para>If you make a commit and immediately type <userinput>svn
@@ -4427,7 +4690,8 @@
          einer Revision:</para>

  <!--
-      <screen>
+      <informalexample>
+        <screen>
  $ svn log -r 8 -v
   - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  -
  r8 | sally | 2008-05-21 13:19:25 -0500 (Wed, 21 May 2008) | 1 line
@@ -4440,8 +4704,10 @@

   - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  -
  </screen>
+      </informalexample>
  -->
-      <screen>
+      <informalexample>
+        <screen>
  $ svn log -r 8 -v
  ------------------------------------------------------------------------
  r8 | sally | 2008-05-21 13:19:25 -0500 (Wed, 21 May 2008) | 1 line
@@ -4454,12 +4720,14 @@

  ------------------------------------------------------------------------
  </screen>
+      </informalexample>

  <!--
        <para>
-        <command>svn log</command> also takes a <option>- -quiet</option>
-        (<option>-q</option>) option, which suppresses the body of the
-        log message.  When combined with <option>- -verbose</option>, it
+        <command>svn log</command> also takes
+        a <option>- -quiet</option> (<option>-q</option>) option, which
+        suppresses the body of the log message.  When combined
+        with <option>- -verbose</option>, it
          gives just the names of the changed files.</para>
  -->
        <para>
@@ -4483,11 +4751,13 @@
          <para>Nach ein wenig Arbeit mit Subversion werden die meisten
            Benutzer so etwas begegnen:</para>

-        <screen>
+        <informalexample>
+          <screen>
  $ svn log -r 2
  ------------------------------------------------------------------------
  $
  </screen>
+        </informalexample>

  <!--
          <para>At first glance, this seems like an error.  But recall
@@ -4500,8 +4770,8 @@
            nor any of its children was changed, Subversion will show you
            an empty log.  If you want to see what changed in that
            revision, try pointing <command>svn log</command> directly at
-          the topmost URL of your repository, as in <userinput>svn log -r 2
-          http://svn.collab.net/repos/svn</userinput>.</para>
+          the topmost URL of your repository, as in <userinput>svn log
+          -r 2 ^/</userinput>.</para>
  -->
          <para>Auf den ersten Blick sieht es aus wie ein Fehler. Aber
            seien Sie daran erinnert, dass, während Revisionen über das
@@ -4517,217 +4787,13 @@
            Revision geändert hat, versuchen Sie <command>svn
            log</command> direkt auf den obersten URL Ihres Projektarchivs
            zeigen zu lassen, wie in <userinput>svn log -r 2
-          http://svn.collab.net/repos/svn</userinput>.</para>
+          ^/</userinput>.</para>

        </sidebar>

      </sect2>

      <!-- ===============================================================  
-->
-    <sect2 id="svn.tour.history.diff">
-<!--
-      <title>Examining the Details of Historical Changes</title>
--->
-      <title>Detaillierte Untersuchung der Änderungsgeschichte</title>
-
-<!--
-      <para>We've already seen <command>svn diff</command>
-        before—it displays file differences in unified diff
-        format; we used it to show the local modifications made to
-        our working copy before committing to the repository.</para>
--->
-      <para><command>svn diff</command> ist uns bereits begegnet
-        – es zeigt Dateiunterschiede im unified-diff-Format; wir
-        verwendeten es, um die lokalen Änderungen an unserer
-        Arbeitskopie anzuzeigen, bevor wir sie dem Projektarchiv
-        übergaben.</para>
-
-<!--
-      <para>In fact, it turns out that there are
-        <emphasis>three</emphasis> distinct uses of <command>svn
-        diff</command>:</para>
--->
-      <para>Tatsächlich stellt sich heraus, dass es
-        <emphasis>drei</emphasis> verschiedene
-        Verwendungsmöglichkeiten für <command>svn diff</command>
-        gibt:</para>
-
-      <itemizedlist>
-
-        <listitem>
-<!--
-          <para>Examining local changes</para>
--->
-          <para>zum Untersuchen lokaler Änderungen</para>
-        </listitem>
-
-        <listitem>
-<!--
-          <para>Comparing your working copy to the repository</para>
--->
-	  <para>zum Vergleichen Ihrer Arbeitskopie mit dem
-	    Projektarchiv</para>
-        </listitem>
-
-        <listitem>
-<!--
-          <para>Comparing one repository to another</para>
--->
-          <para>zum Vergleichen von Revisionen im Projektarchiv</para>
-        </listitem>
-
-      </itemizedlist>
-
-      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
-      <sect3 id="svn.tour.history.diff.local">
-<!--
-        <title>Examining local changes</title>
--->
-        <title>Untersuchen lokaler Änderungen</title>
-
-<!--
-        <para>As we've seen, invoking <userinput>svn diff</userinput> with
-          no options will compare your working files to the cached
-          <quote>pristine</quote> copies in
-          the <filename>.svn</filename> area:</para>
--->
-        <para>Wie wir gesehen haben, vergleicht der Aufruf von
-          <userinput>svn diff</userinput> ohne Optionen die
-          Arbeitsdateien mit den zwischengespeicherten
-          <quote>ursprünglichen</quote> Kopien im
-          <filename>.svn</filename>-Bereich:</para>
-
-        <screen>
-$ svn diff
-Index: rules.txt
-===================================================================
---- rules.txt   (revision 3)
-+++ rules.txt   (working copy)
-@@ -1,4 +1,5 @@
- Be kind to others
- Freedom = Responsibility
- Everything in moderation
--Chew with your mouth open
-+Chew with your mouth closed
-+Listen when others are speaking
-$
-</screen>
-
-      </sect3>
-
-      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
-      <sect3 id="svn.tour.history.diff.wcrepos">
-<!--
-        <title>Comparing working copy to repository</title>
--->
-        <title>Vergleichen der Arbeitskopie mit dem Projektarchiv</title>
-
-<!--
-        <para>If a single <option>- -revision</option>
-          (<option>-r</option>) number is passed, your
-          working copy is compared to the specified revision in the
-          repository:</para>
--->
-        <para>Wird eine einzelne Nummer mit <option>--revision</option>
-          (<option>-r</option>) übergeben, wird die Arbeitskopie mit
-          der angegebenen Revision im Projektarchiv verglichen:</para>
-
-        <screen>
-$ svn diff -r 3 rules.txt
-Index: rules.txt
-===================================================================
---- rules.txt   (revision 3)
-+++ rules.txt   (working copy)
-@@ -1,4 +1,5 @@
- Be kind to others
- Freedom = Responsibility
- Everything in moderation
--Chew with your mouth open
-+Chew with your mouth closed
-+Listen when others are speaking
-$
-</screen>
-
-      </sect3>
-
-      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
-      <sect3 id="svn.tour.history.diff.reposrepos">
-<!--
-        <title>Comparing repository to repository</title>
--->
-        <title>Vergleichen von Projektarchiv mit Projektarchiv</title>
-
-<!--
-        <para>If two revision numbers, separated by a colon, are
-          passed via <option>- -revision</option>
-          (<option>-r</option>), the two revisions are directly
-          compared:</para>
--->
-        <para>Werden zwei Revisionsnummern durch einen Doppelpunkt
-          getrennt mit <option>--revision</option>
-          (<option>-r</option>) übergeben, werden die beiden
-          Revisionen direkt miteinander verglichen:</para>
-
-        <screen>
-$ svn diff -r 2:3 rules.txt
-Index: rules.txt
-===================================================================
---- rules.txt   (revision 2)
-+++ rules.txt   (revision 3)
-@@ -1,4 +1,4 @@
- Be kind to others
--Freedom = Chocolate Ice Cream
-+Freedom = Responsibility
- Everything in moderation
- Chew with your mouth open
-$
-</screen>
-
-<!--
-        <para>A more convenient way of comparing one revision to the
-          previous revision is to use the <option>- -change</option>
-          (<option>-c</option>) option:</para>
--->
-        <para>Eine bequemere Möglichkeit, eine Revision mit der
-          Vorgänger-Revision zu vergleichen, bietet die Verwendung der
-          Option <option>--change</option>
-          (<option>-c</option>):</para>
-
-        <screen>
-$ svn diff -c 3 rules.txt
-Index: rules.txt
-===================================================================
---- rules.txt   (revision 2)
-+++ rules.txt   (revision 3)
-@@ -1,4 +1,4 @@
- Be kind to others
--Freedom = Chocolate Ice Cream
-+Freedom = Responsibility
- Everything in moderation
- Chew with your mouth open
-$
-</screen>
-
-<!--
-        <para>Lastly, you can compare repository revisions even when
-          you don't have a working copy on your local machine, just by
-          including the appropriate URL on the command line:</para>
--->
-        <para>Zu guter Letzt können Sie Revisionen im Projektarchiv auch
-          dann vergleichen, falls Sie gar keine Arbeitskopie auf Ihrem
-          lokalen Rechner haben, indem Sie einfach den entsprechenden
-          URL auf der Kommandozeile angeben:</para>
-
-        <screen>
-$ svn diff -c 5 http://svn.example.com/repos/example/trunk/text/rules.txt
-…
-$
-</screen>
-
-      </sect3>
-
-    </sect2>
-
      <!-- ===============================================================  
-->
      <sect2 id="svn.tour.history.browsing">
  <!--
@@ -4750,7 +4816,8 @@

        <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
        <sect3 id="svn.tour.history.browsing.cat">
-         <title>svn cat</title>
+        <title>svn cat</title>
+

  <!--
          <para>If you want to examine an earlier version of a file and
@@ -4762,7 +4829,8 @@
            zwei Dateien, können Sie <command>svn cat</command>
            verwenden:</para>

-        <screen>
+        <informalexample>
+          <screen>
  $ svn cat -r 2 rules.txt
  Be kind to others
  Freedom = Chocolate Ice Cream
@@ -4770,6 +4838,7 @@
  Chew with your mouth open
  $
  </screen>
+        </informalexample>

  <!--
          <para>You can also redirect the output directly into a
@@ -4778,10 +4847,12 @@
          <para>Sie können die Ausgabe auch direkt in eine Datei
            umleiten:</para>

-        <screen>
+        <informalexample>
+          <screen>
  $ svn cat -r 2 rules.txt > rules.txt.v2
  $
  </screen>
+        </informalexample>

        </sect3>

@@ -4799,14 +4870,15 @@
            befinden, ohne die Dateien auf Ihren lokalen Rechner
            herunterladen zu müssen:</para>

-        <screen>
-$ svn list http://svn.collab.net/repos/svn
+        <informalexample>
+          <screen>
+$ svn list http://svn.example.com/repo/project
  README
  branches/
-clients/
  tags/
  trunk/
  </screen>
+        </informalexample>

  <!--
          <para>If you want a more detailed listing, pass the
@@ -4818,14 +4890,16 @@
            (<option>-v</option>), um eine Ausgabe ähnlich der folgenden
            zu bekommen:</para>

-        <screen>
-$ svn list -v http://svn.collab.net/repos/svn
+        <informalexample>
+          <screen>
+$ svn list -v http://svn.example.com/repo/project
+  23351 sally                 Feb 05 13:26 ./
    20620 harry            1084 Jul 13  2006 README
    23339 harry                 Feb 04 01:40 branches/
-  21282 sally                 Aug 27 09:41 developer-resources/
    23198 harry                 Jan 23 17:17 tags/
    23351 sally                 Feb 05 13:26 trunk/
  </screen>
+        </informalexample>

  <!--
          <para>The columns tell you the revision at which the file or
@@ -4840,22 +4914,24 @@

          <warning>
  <!--
-          <para>The <userinput>svn list</userinput> command with no  
arguments
-          defaults to the <emphasis>repository URL</emphasis> of the
-          current working directory, <emphasis>not</emphasis> the
-          local working copy directory.  After all, if you want a
-          listing of your local directory, you could use just plain
-          <command>ls</command> (or any reasonable non-Unixy
-          equivalent).</para>
+          <para>The <userinput>svn list</userinput> command with no
+            arguments defaults to the <emphasis>repository
+            URL</emphasis> of the current working
+            directory, <emphasis>not</emphasis> the local working copy
+            directory.  After all, if you want a listing of your local
+            directory, you could use just plain
+            <command>ls</command> (or any reasonable non-Unixy
+            equivalent).</para>
  -->
            <para>Der Befehl <userinput>svn list</userinput> ohne
-          Argumente verwendet standardmäßig den
-          <emphasis>Projektarchiv-URL</emphasis> des aktuellen
-          Arbeitsverzeichnisses und <emphasis>nicht</emphasis> das
-          Verzeichnis der lokalen Arbeitskopie. Schließlich können
-          Sie, falls Sie eine Auflistung des lokalen Verzeichnisses
-          möchten, das einfache <command>ls</command> (oder irgendein
-          vernünftiges nicht-unixartiges Äquivalent) benutzen.</para>
+            Argumente verwendet standardmäßig den
+            <emphasis>Projektarchiv-URL</emphasis> des aktuellen
+            Arbeitsverzeichnisses und <emphasis>nicht</emphasis> das
+            Verzeichnis der lokalen Arbeitskopie. Schließlich können
+            Sie, falls Sie eine Auflistung des lokalen Verzeichnisses
+            möchten, das einfache <command>ls</command> (oder
+            irgendein vernünftiges nicht-unixartiges Äquivalent)
+            benutzen.</para>
          </warning>

        </sect3>
@@ -4872,39 +4948,37 @@

  <!--
        <para>In addition to all of the previous commands, you can use
-        <command>svn update</command> and <command>svn
-        checkout</command> with the <option>- -revision</option> option
-        to take an entire working copy <quote>back in time</quote>:
-        <footnote>
-          <para>See?  We told you that Subversion was a time  
machine.</para>
-        </footnote>
-        </para>
+        the <option>- -revision</option> (<option>-r</option>) option
+        with <command>svn update</command> to take an entire working
+        copy <quote>back in time</quote>:<footnote><para>See?  We told
+        you that Subversion was a time
+        machine.</para></footnote></para>
  -->
-      <para>Zusätzlich zu den obigen Befehlen können Sie <command>svn
-        update</command> und <command>svn checkout</command> mit der
-        Option <option>--revision</option> verwenden, um eine
-        vollständige Arbeitskopie <quote>zeitlich
-        zurückzusetzen</quote>:
-        <footnote>
-          <para>Sehen Sie? Wir haben Ihnen gesagt, dass Subversion
-            eine Zeitmaschine sei.</para>
-        </footnote>
-        </para>
+      <para>Zusätzlich zu den obigen Befehlen können Sie die Option
+        <option>--revision</option> (<option>-r</option>) mit
+        <command>svn update</command> verwenden, um eine vollständige
+        Arbeitskopie <quote>zeitlich zurückzusetzen</quote>:<footnote>
+        <para>Sehen Sie? Wir haben Ihnen gesagt, dass Subversion eine
+        Zeitmaschine sei.</para></footnote></para>

  <!--
-      <screen>
-$ svn checkout -r 1729 # Checks out a new working copy at r1729
+      <informalexample>
+        <screen>
+# Make the current directory look like it did in r1729.
+$ svn update -r 1729
  …
-$ svn update -r 1729 # Updates an existing working copy to r1729
-…
+$
  </screen>
+      </informalexample>
  -->
-      <screen>
-$ svn checkout -r 1729 # Checkt eine neue Arbeitskopie von r1729 aus
+      <informalexample>
+        <screen>
+# Lass das aktuelle Verzeichnis aussehen wie in r1729.
+$ svn update -r 1729
  …
-$ svn update -r 1729 # Aktualisiert eine bestehende Arbeitskopie auf r1729
-…
+$
  </screen>
+      </informalexample>

        <tip>
  <!--
@@ -4928,45 +5002,105 @@
            gemacht wird.</para>
        </tip>

+<!--
+      <para>If you'd prefer to create a whole new working copy from an
+        older snapshot, you can do so by modifying the typical
+        <command>svn checkout</command> command.  As with <command>svn
+        update</command>, you can provide
+        the <option>- -revision</option> (<option>-r</option>) option.
+        But for reasons that we cover in
+        <xref linkend="svn.advanced.pegrevs" />, you might instead want
+        to specify the target revision as part of Subversion's
+        expanded URL syntax.</para>
+
+-->
+      <para>Sollten Sie es bevorzugen, eine vollständige neue
+        Arbeitskopie aus einem älteren Schnappschuss zu erzeugen,
+        können Sie das, indem Sie den üblichen Befehl <command>svn
+        checkout</command> modifizieren. Wie bei <command>svn
+        update</command>, können Sie die Option
+        <option>--revision</option> (<option>-r</option>) mitgeben.
+        Aus Gründen, die wir in <xref linkend="svn.advanced.pegrevs"
+        /> erörtern werden, sollten Sie stattdessen die Zielrevision
+        als Teil der erweiterten URL-Syntax von Subversion
+        angeben.</para>
+
+<!--
+      <informalexample>
+        <screen>
+# Checkout the trunk from r1729.
+$ svn checkout http://svn.example.com/svn/repo/trunk@1729 trunk-1729
+…
+# Checkout the current trunk as it looked in r1729.
+$ svn checkout http://svn.example.com/svn/repo/trunk -r 1729 trunk-1729
+…
+$
+</screen>
+      </informalexample>
+-->
+      <informalexample>
+        <screen>
+# Den Trunk von r1729 auschecken.
+$ svn checkout http://svn.example.com/svn/repo/trunk@1729 trunk-1729
+…
+# Den aktuellen Trunk auschecken, wie er in r1729 aussah.
+$ svn checkout http://svn.example.com/svn/repo/trunk -r 1729 trunk-1729
+…
+$
+</screen>
+      </informalexample>
+
+      <!-- ### TODO: This changes a bit in 1.7 -->
+
  <!--
        <para>Lastly, if you're building a release and wish to bundle up
          your files from Subversion but don't want those
-        pesky <filename>.svn</filename> directories in the way,
-        you can use <command>svn export</command> to create a local
-        copy of all or part of your repository
-        sans <filename>.svn</filename> directories.  As
-        with <command>svn update</command> and
-        <command>svn checkout</command>, you can also pass the
-        <option>- -revision</option> option to <command>svn
-        export</command>:</para>
+        pesky <filename>.svn</filename> directories in the way, you
+        can use <command>svn export</command> to create a local copy
***The diff for this file has been truncated for email.***


More information about the svnbook-dev mailing list