[svnbook commit] r3551 - * trunk/src/de/book/ch09-reference.xml

codesite-noreply at google.com codesite-noreply at google.com
Sat Jun 20 01:29:01 CDT 2009


Author: jmfelderhoff at gmx.eu
Date: Fri Jun 19 23:12:10 2009
New Revision: 3551

Modified:
    trunk/src/de/book/ch09-reference.xml

Log:
* trunk/src/de/book/ch09-reference.xml
   - Ticket #262 command "svn diff" (cf. http://www.svnbook.de/report/6).


Modified: trunk/src/de/book/ch09-reference.xml
==============================================================================
--- trunk/src/de/book/ch09-reference.xml	(original)
+++ trunk/src/de/book/ch09-reference.xml	Fri Jun 19 23:12:10 2009
@@ -3096,7 +3096,11 @@

          <refnamediv>
            <refname>svn diff</refname>
+<!--
            <refpurpose>This displays the differences between two revisions  
or paths.</refpurpose>
+-->
+          <refpurpose>Anzeige der Unterschiede zwischen zwei
+            Revisionen oder Pfaden.</refpurpose>
          </refnamediv>
          <refsect1>
  <!--
@@ -3117,16 +3121,27 @@
            <itemizedlist>

              <listitem>
+<!--
                <para>Display the differences between two paths.  You can
                use <command>svn diff</command> in the following ways:</para>
+-->
+              <para>Anzeige der Unterschiede zwischen zwei Pfaden. Sie
+                können <command>svn diff</command> wie folgt
+                verwenden: </para>
              </listitem>

              <listitem>
+<!--
                <para>Use just <command>svn diff</command> to display local
                  modifications in a working copy.</para>
+-->
+              <para>Verwenden Sie nur <command>svn diff</command>, um
+                lokale Änderungen in einer Arbeitskopie anzuzeigen.
+              </para>
              </listitem>

              <listitem>
+<!--
                <para>Display the changes made to
                  <replaceable>TARGET</replaceable>s as they are seen in
                  <replaceable>REV</replaceable> between two revisions.
@@ -3144,9 +3159,31 @@
                  M-1</literal>.  Using <literal>-c -M</literal> does the
                  reverse: <literal>-r M:N</literal> where <literal>N =
                  M-1</literal>.</para>
+-->
+              <para>Anzeige der Änderungen an
+                <replaceable>TARGET</replaceable>s in
+                <replaceable>REV</replaceable> zwischen zwei
+                Revisionen. Alle <replaceable>TARGET</replaceable>s
+                können entweder nur Pfade in der Arbeitskopie oder nur
+                <replaceable>URL</replaceable>s sein. Falls
+                <replaceable>TARGET</replaceable>s Pfade in der
+                Arbeitskopie sind, ist der Standardwert von
+                <replaceable>N</replaceable> <literal>BASE</literal>
+                und <replaceable>M</replaceable> die Arbeitskopie;
+                falls <replaceable>TARGET</replaceable>s
+                <replaceable>URL</replaceable>s sind, muss
+                <replaceable>N</replaceable> angegeben werden, und der
+                Standardwert von <replaceable>M</replaceable> ist
+                <literal>HEAD</literal>. Die Option <literal>-c
+                M</literal> ist äquivalent zu <literal>-r
+                N:M</literal>,  wobei <literal>N = M-1</literal>. Die
+                Verwendung von <literal>-c -M</literal> bewirkt den
+                umgekehrten Fall: <literal>-r M:N</literal>,  wobei
+                <literal>N = M-1</literal>.</para>
              </listitem>

              <listitem>
+<!--
                <para>Display the differences between
                  <replaceable>OLD-TGT</replaceable> as it was seen in
                  <replaceable>OLDREV</replaceable> and
@@ -3168,59 +3205,129 @@
                  <replaceable>N</replaceable> and
                  <replaceable>NEWREV</replaceable> default to
                  <replaceable>M</replaceable>.</para>
+-->
+              <para>Anzeige der Unterschiede zwischen
+                <replaceable>OLD-TGT</replaceable> in
+                <replaceable>OLDREV</replaceable> und
+                <replaceable>NEW-TGT</replaceable> in
+                <replaceable>NEWREV</replaceable>.  Sind
+                <replaceable>PATH</replaceable>s angegeben, sind sie
+                relativ zu to <replaceable>OLD-TGT</replaceable> und
+                <replaceable>NEW-TGT</replaceable>, und die Ausgabe
+                wird auf Unterschiede für diese Pfade beschränkt.
+                <replaceable>OLD-TGT</replaceable> und
+                <replaceable>NEW-TGT</replaceable> können Pfade in der
+                Arbeitskopie sein oder
+                <replaceable>URL[@REV]</replaceable>.  Der
+                Standardwert von <replaceable>NEW-TGT</replaceable>
+                ist <replaceable>OLD-TGT</replaceable>, falls nicht
+                angegeben. <literal>-r N</literal> setzt den
+                Standardwert von <replaceable>OLDREV</replaceable> auf
+                <literal>N</literal>; <literal>-r N:M</literal> setzt
+                den Standardwert von <replaceable>OLDREV</replaceable>
+                auf <replaceable>N</replaceable> und
+                <replaceable>NEWREV</replaceable> auf
+                <replaceable>M</replaceable>.</para>
              </listitem>

            </itemizedlist>

+<!--
            <para><userinput>svn diff OLD-URL[@OLDREV]
              NEW-URL[@NEWREV]</userinput> is shorthand for <userinput>svn
-            diff --old=OLD-URL[@OLDREV]
+            diff - -old=OLD-URL[@OLDREV]
+            - -new=NEW-URL[@NEWREV].</userinput></para>
+-->
+          <para><userinput>svn diff OLD-URL[@OLDREV]
+            NEW-URL[@NEWREV]</userinput> ist die Kurzform für
+            <userinput>svn diff --old=OLD-URL[@OLDREV]
              --new=NEW-URL[@NEWREV].</userinput></para>

+<!--
            <para><userinput>svn diff -r N:M URL</userinput> is shorthand
-            for <userinput>svn diff -r N:M --old=URL
+            for <userinput>svn diff -r N:M - -old=URL
+            - -new=URL</userinput>.</para>
+-->
+          <para><userinput>svn diff -r N:M URL</userinput> ist die
+            Kurzform für <userinput>svn diff -r N:M --old=URL
              --new=URL</userinput>.</para>

+<!--
            <para><userinput>svn diff [-r N[:M]] URL1[@N]
              URL2[@M]</userinput> is shorthand for <userinput>svn diff [-r
-            N[:M]] --old=URL1 --new=URL2</userinput>.</para>
+            N[:M]] - -old=URL1 - -new=URL2</userinput>.</para>
+-->
+          <para><userinput>svn diff [-r N[:M]] URL1[@N]
+            URL2[@M]</userinput> ist die Kurzform für <userinput>svn
+            diff [-r N[:M]] --old=URL1 --new=URL2</userinput>.</para>

+<!--
            <para>If <replaceable>TARGET</replaceable> is a URL, then
              revs <literal>N</literal> and <literal>M</literal> can be  
given either via the
-            <option>--revision</option> option or by using the
+            <option>- -revision</option> option or by using the
              <quote>@</quote> notation as described earlier.</para>
+-->
+          <para>Falls <replaceable>TARGET</replaceable> ein URL ist,
+            können die Revisionen <literal>N</literal> und
+            <literal>M</literal> entweder mir der Option
+            <option>--revision</option> oder in der Notation
+            <quote>@</quote> angegeben werden, wie vorher
+            beschrieben.</para>

+<!--
            <para>If <replaceable>TARGET</replaceable> is a working copy
              path, the default behavior (when no
-            <option>--revision</option> option is provided) is to
+            <option>- -revision</option> option is provided) is to
              display the differences between the base and working
              copies of <replaceable>TARGET</replaceable>.  If a
-            <option>--revision</option> option is specified in this
+            <option>- -revision</option> option is specified in this
              scenario, though, it means:</para>
+-->
+          <para>Falls es sich bei <replaceable>TARGET</replaceable> um
+            einen Pfad in der Arbeitskopie handelt, besteht das
+            Standardverhalten (sofern die Option
+            <option>--revision</option> nicht angegeben wird) darin,
+            die Unterschiede zwischen der Basisversion und der
+            Arbeitskopie von <replaceable>TARGET</replaceable>
+            auszugeben. Wird in diesem Fall jedoch die Option
+            <option>--revision</option> angegeben, bedeutet das:
+          </para>

            <variablelist>

              <varlistentry>
                <term><option>--revision N:M</option></term>
                <listitem>
+<!--
                  <para>The server compares
                    <replaceable>TARGET at N</replaceable>
                    and
                    <replaceable>TARGET at M</replaceable>.</para>
+-->
+                <para>Der Server vergleicht
+                  <replaceable>TARGET at N</replaceable>
+                  und
+                  <replaceable>TARGET at M</replaceable>.</para>
                </listitem>
              </varlistentry>

              <varlistentry>
                <term><option>--revision N</option></term>
                <listitem>
+<!--
                  <para>The client compares
                    <replaceable>TARGET at N</replaceable>
                    against the working copy.</para>
+-->
+                <para>Der Client vergleicht
+                  <replaceable>TARGET at N</replaceable>
+                  mit der Arbeitskopie.</para>
                </listitem>
              </varlistentry>

            </variablelist>

+<!--
            <para>If the alternate syntax is used, the server compares
              <replaceable>URL1</replaceable> and
              <replaceable>URL2</replaceable> at revisions
@@ -3229,16 +3336,37 @@
              <replaceable>N</replaceable> or
              <replaceable>M</replaceable> is omitted, a value of
              <literal>HEAD</literal> is assumed.</para>
+-->
+          <para>Wird die alternative Syntax verwendet, vergleicht der
+            Server <replaceable>URL1</replaceable> und
+            <replaceable>URL2</replaceable> in Revision
+            <replaceable>N</replaceable> bzw.
+            <replaceable>M</replaceable>. Wird entweder
+            <replaceable>N</replaceable> oder
+            <replaceable>M</replaceable> ausgelassen, wird der Wert
+            <literal>HEAD</literal> angenommen.</para>

+<!--
            <para>By default, <command>svn diff</command> ignores the
              ancestry of files and merely compares the contents of the
              two files being compared.  If you use
-            <option>--notice-ancestry</option>, the ancestry of the
+            <option>- -notice-ancestry</option>, the ancestry of the
              paths in question will be taken into consideration when
              comparing revisions (i.e., if you run <command>svn
              diff</command> on two files with identical contents but
              different ancestry, you will see the entire contents of
              the file as having been removed and added again).</para>
+-->
+          <para>Standardmäßig ignoriert <command>svn diff</command>
+            die Herkunft von Dateien und vergleicht lediglich den
+            Inhalt der beiden Dateien. Falls Sie
+            <option>--notice-ancestry</option> verwenden, wird die
+            Herkunft der Pfade beim Vergleich der Revisionen
+            berücksichtigt (d.h., falls Sie <command>svn
+            diff</command> auf zwei Dateien gleichen Inhalts jedoch
+            unterschiedlicher Herkunft anwenden, wird es dargstellt,
+            als sei der gesamte Inhalt entfernt und wieder hinzugefügt
+            worden).</para>

          </refsect1>
          <refsect1>
@@ -3254,7 +3382,10 @@
            <title>Changes</title>
  -->
            <title>Änderungen</title>
+<!--
            <para>Nothing</para>
+-->
+          <para>Nichts</para>
          </refsect1>

          <refsect1>
@@ -3262,8 +3393,13 @@
            <title>Accesses repository</title>
  -->
            <title>Repository-Zugriff</title>
+<!--
            <para>For obtaining differences against anything but
              <literal>BASE</literal> revision in your working copy</para>
+-->
+          <para>Beim Ermitteln von Unterschieden zu allem, was nicht
+            die <literal>BASE</literal>-Revision in Ihrer Arbeitskopie
+            ist</para>
          </refsect1>

          <refsect1>
@@ -3295,86 +3431,174 @@
  -->
            <title>Beispiele</title>

+<!--
            <para>Compare <literal>BASE</literal> and your working copy
              (one of the most popular uses of <command>svn
              diff</command>):</para>
+-->
+          <para>Vergleich von <literal>BASE</literal> und Ihrer
+            Arbeitskopie (eine der beliebtesten Anwendungen von
+            <command>svn diff</command>):</para>

+<!--
            <screen>
  $ svn diff COMMITTERS
  Index: COMMITTERS
  ===================================================================
---- COMMITTERS	(revision 4404)
+- - - COMMITTERS	(revision 4404)
  +++ COMMITTERS	(working copy)
  </screen>
+-->
+          <screen>
+$ svn diff COMMITTERS
+Index: COMMITTERS
+===================================================================
+--- COMMITTERS	(Revision 4404)
++++ COMMITTERS	(Arbeitskopie)
+…
+</screen>

+<!--
            <para>See what changed in the file
              <filename>COMMITTERS</filename> revision 9115:</para>
+-->
+          <para>Betrachten der Änderungen in der Datei
+            <filename>COMMITTERS</filename>, Revision 9115:</para>

+<!--
            <screen>
  $ svn diff -c 9115 COMMITTERS
  Index: COMMITTERS
  ===================================================================
---- COMMITTERS	(revision 3900)
+- - - COMMITTERS	(revision 3900)
  +++ COMMITTERS	(working copy)
  </screen>
+-->
+          <screen>
+$ svn diff -c 9115 COMMITTERS
+Index: COMMITTERS
+===================================================================
+--- COMMITTERS	(Revision 3900)
++++ COMMITTERS	(Arbeitskopie)
+…
+</screen>


+<!--
            <para>See how your working copy's modifications compare
              against an older revision:</para>
+-->
+          <para>Die Änderungen in der Arbeitskopie mit einer
+            älteren Revision vergleichen:</para>

+<!--
            <screen>
  $ svn diff -r 3900 COMMITTERS
  Index: COMMITTERS
  ===================================================================
---- COMMITTERS	(revision 3900)
+- - - COMMITTERS	(revision 3900)
  +++ COMMITTERS	(working copy)
  </screen>
+-->
+          <screen>
+$ svn diff -r 3900 COMMITTERS
+Index: COMMITTERS
+===================================================================
+--- COMMITTERS	(Revision 3900)
++++ COMMITTERS	(Arbeitskopie)
+…
+</screen>

+<!--
            <para>Compare revision 3000 to revision 3500 using  
<quote>@</quote>
              syntax:</para>
+-->
+          <para>Vergleich von Revision 3000 mit Revision 3500 unter
+            Verwendung der <quote>@</quote>-Syntax:</para>

+<!--
            <screen>
  $ svn diff http://svn.collab.net/repos/svn/trunk/COMMITTERS@3000 \
             http://svn.collab.net/repos/svn/trunk/COMMITTERS@3500
  Index: COMMITTERS
  ===================================================================
---- COMMITTERS	(revision 3000)
+- - - COMMITTERS	(revision 3000)
  +++ COMMITTERS	(revision 3500)
  …
  </screen>
+-->
+          <screen>
+$ svn diff http://svn.collab.net/repos/svn/trunk/COMMITTERS@3000 \
+           http://svn.collab.net/repos/svn/trunk/COMMITTERS@3500
+Index: COMMITTERS
+===================================================================
+--- COMMITTERS	(Revision 3000)
++++ COMMITTERS	(Revision 3500)
+…
+</screen>

+<!--
            <para>Compare revision 3000 to revision 3500 using range
              notation (pass only the one URL in this
              case):</para>
+-->
+          <para>Vergleich von Revision 3000 mit Revision 3500 unter
+            Verwendung der Bereichsschreibweise (in diesem Fall wird
+            nur ein URL angegeben):</para>

+<!--
            <screen>
  $ svn diff -r 3000:3500 http://svn.collab.net/repos/svn/trunk/COMMITTERS
  Index: COMMITTERS
  ===================================================================
---- COMMITTERS	(revision 3000)
+- - - COMMITTERS	(revision 3000)
  +++ COMMITTERS	(revision 3500)
  </screen>
+-->
+          <screen>
+$ svn diff -r 3000:3500 http://svn.collab.net/repos/svn/trunk/COMMITTERS
+Index: COMMITTERS
+===================================================================
+--- COMMITTERS	(Revision 3000)
++++ COMMITTERS	(Revision 3500)
+…
+</screen>


+<!--
            <para>Compare revision 3000 to revision 3500 of all the files in
              <filename>trunk</filename> using range notation:</para>
+-->
+          <para>Vergleich der Revision 3000 mit Revision 3500 aller
+            Dateien in <filename>trunk</filename> unter Verwendung der
+            Bereichsschreibweise:</para>

            <screen>
  $ svn diff -r 3000:3500 http://svn.collab.net/repos/svn/trunk
            </screen>


+<!--
            <para>Compare revision 3000 to revision 3500 of only three
              files in <filename>trunk</filename> using range
              notation:</para>
+-->
+          <para>Vergleich der Revision 3000 mit Revision 3500 von nur
+            drei Dateien in <filename>trunk</filename> unter
+            Verwendung der Bereichsschreibweise:</para>

            <screen>
  $ svn diff -r 3000:3500 --old http://svn.collab.net/repos/svn/trunk \
             COMMITTERS README HACKING
            </screen>

+<!--
            <para>If you have a working copy, you can obtain the
              differences without typing in the long URLs:</para>
+-->
+          <para>Falls Sie eine Arbeitskopie haben, können Sie die
+            Unterschiede ermitteln, ohne die langen URLs
+            einzugeben:</para>

            <screen>
  $ svn diff -r 3000:3500 COMMITTERS
@@ -3382,12 +3606,19 @@
  ===================================================================
  --- COMMITTERS	(revision 3000)
  +++ COMMITTERS	(revision 3500)
+…
  </screen>

-          <para>Use <option>--diff-cmd</option>
+<!--
+          <para>Use <option>- -diff-cmd</option>
              <replaceable>CMD</replaceable> <option>-x</option> to
              pass arguments directly to the external diff
              program:</para>
+-->
+          <para>Verwendung von <option>--diff-cmd</option>
+            <replaceable>CMD</replaceable> <option>-x</option>, um
+            Argumente direkt an das externe diff-Programm zu
+            übergeben:</para>

            <screen>
  $ svn diff --diff-cmd /usr/bin/diff -x "-i -b" COMMITTERS
@@ -3398,10 +3629,17 @@
  >
  </screen>

-          <para>Lastly, you can use the <option>--xml</option> option
-            along with the <option>--summarize</option> option to view
+<!--
+          <para>Lastly, you can use the <option>- -xml</option> option
+            along with the <option>- -summarize</option> option to view
              XML describing the changes that occurred between
              revisions, but not the contents of the diff itself:</para>
+-->
+          <para>Schließlich können Sie die Option
+            <option>--xml</option>  zusammen mit der Option
+            <option>--summarize</option> verwenden, um die Änderungen
+            zwischen den Revisionen, nicht jedoch den Inhalt des
+            eigentlichen Diffs, in XML anzusehen:</para>

            <screen>
  $ svn diff --summarize --xml http://svn.red-bean.com/repos/test@r2 \


More information about the svnbook-dev mailing list