[svnbook] r4729 committed - Translation: svn cat

svnbook at googlecode.com svnbook at googlecode.com
Tue Mar 18 07:58:57 CDT 2014


Revision: 4729
Author:   jmfelderhoff at gmx.eu
Date:     Tue Mar 18 12:58:39 2014 UTC
Log:      Translation: svn cat
http://code.google.com/p/svnbook/source/detail?r=4729

Modified:
  /branches/1.7/de/book/ch09-reference.xml

=======================================
--- /branches/1.7/de/book/ch09-reference.xml	Tue Mar 18 12:45:32 2014 UTC
+++ /branches/1.7/de/book/ch09-reference.xml	Tue Mar 18 12:58:39 2014 UTC
@@ -2216,7 +2216,7 @@

            <informalexample>
              <screen>
---revision (-r) REV
+<xref linkend="svn.ref.svn.sw.revision" />
  </screen>
            </informalexample>
          </refsect1>
@@ -2239,40 +2239,81 @@
              <screen>
  $ svn cat http://svn.red-bean.com/repos/test/readme.txt
  This is a README file.
-You should read this.
+Don't bother reading it.  The boss is a knucklehead.
+
+INSTRUCTIONS
+============
+
+Step 1:  Do this.
+
+Step 2:  Do that.
  $
  </screen>
            </informalexample>

-          <tip>
  <!--
-            <para>If your working copy is out of date (or you have
-              local modifications) and you want to see the
-              <literal>HEAD</literal> revision of a file in your
-              working copy, <command>svn cat -r HEAD  
<replaceable>FILENAME</replaceable></command> will
-              automatically fetch the <literal>HEAD</literal> revision
-              of the specified path:</para>
+          <para>You can view specific versions of files, too.</para>
  -->
-            <para>Falls Ihre Arbeitskopie nicht auf dem neuesten Stand
-              ist (oder falls Sie lokale Änderungen haben) und Sie die
-              <literal>HEAD</literal>-Revision einer Datei in Ihrer
-              Arbeitskopie betrachten möchten, holt <command>svn cat
-              -r HEAD <replaceable>FILENAME</replaceable></command>
-              die <literal>HEAD</literal>-Revision automatisch vom
-              angegebenen Pfad:</para>
-          </tip>
+          <para>Sie können sich auch bestimmte Versionen einer Datei
+            ansehen.</para>

            <informalexample>
              <screen>
-$ cat foo.c
-This file is in my local working copy
-and has changes that I've made.
-$ svn cat -r HEAD foo.c
-Latest revision fresh from the repository!
+$ svn cat -r 3 http://svn.red-bean.com/repos/test/readme.txt
+This is a README file.
+
+INSTRUCTIONS
+============
+
+Step 1:  Do this.
+
+Step 2:  Do that.
  $
  </screen>
            </informalexample>

+          <note>
+<!--
+            <para>You might develop a reflex action of
+              using <command>svn cat</command> to view your working
+              file contents.  But keep in mind that the default peg
+              revision for <command>svn cat</command> when used on a
+              working copy file target is <literal>BASE</literal>, the
+              unmodified base revision of that file.  Don't be
+              surprised when a simple <userinput>svn cat
+              /path/to/file</userinput> invocation fails to display
+              your local modifications to that file!</para>
+-->
+            <para>Es kann sein, dass Sie sich angewöhnen, reflexartig
+              <command>svn cat</command> zu verwenden, um sich den
+              Inhalt der Dateien in Ihrer Arbeitskopie anzusehen.
+              Denken Sie jedoch daran, dass die standardmäßige
+              Peg-Revision für <command>svn cat</command> bei Dateien
+              der Arbeitskopie <literal>BASE</literal> ist, die
+              unmodifiziete Basis-Revision dieser Datei. Seien Sie
+              nicht überrascht, wenn ein einfacher Aufruf von
+              <userinput>svn cat /path/to/file</userinput> Ihnen nicht
+              Ihre lokalen Änderungen an dieser Datei anzeigt!</para>
+          </note>
+
+          <tip>
+<!--
+           <para>If your working copy is out of date (or you have
+              local modifications) and you want to see the
+              <literal>HEAD</literal> revision of a file in your
+              working copy, use the <option>- -revision</option>
+              (<option>-r</option>) option:  <userinput>svn cat -r
+              HEAD <replaceable>FILENAME</replaceable></userinput></para>
+-->
+            <para>Falls Ihre Arbeitskopie nicht mehr aktuell ist (oder
+              falls Sie lokale Änderungen haben) und Sie die
+              <literal>HEAD</literal>-Revision einer Datei in Ihrer
+              Arbeitskopie sehen möchten, verwenden Sie die Option
+              <option>--revision</option> (<option>-r</option>):
+              <userinput>svn cat -r HEAD
+              <replaceable>FILENAME</replaceable></userinput></para>
+          </tip>
+
          </refsect1>
        </refentry>



More information about the svnbook-dev mailing list