[svnbook] r4832 committed - Translation: svnlook filesize and svnlook history

svnbook at googlecode.com svnbook at googlecode.com
Mon Jun 2 02:06:17 CDT 2014


Revision: 4832
Author:   jmfelderhoff at gmx.eu
Date:     Mon Jun  2 07:06:03 2014 UTC
Log:      Translation: svnlook filesize and svnlook history
http://code.google.com/p/svnbook/source/detail?r=4832

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

=======================================
--- /branches/1.7/de/book/ch09-reference.xml	Wed May 21 16:20:05 2014 UTC
+++ /branches/1.7/de/book/ch09-reference.xml	Mon Jun  2 07:06:03 2014 UTC
@@ -12876,7 +12876,7 @@

        <variablelist>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.copy_info">
            <term><option>--copy-info</option></term>
            <listitem>
  <!--
@@ -12889,7 +12889,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.diff_copy_from">
            <term><option>--diff-copy-from</option></term>
            <listitem>
  <!--
@@ -12901,7 +12901,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.extensions">
            <term><option>--extensions</option> (<option>-x</option>)  
<replaceable>ARG</replaceable></term>
            <listitem>
  <!--
@@ -12978,7 +12978,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.full_paths">
            <term><option>--full-paths</option></term>
            <listitem>
  <!--
@@ -12992,7 +12992,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.limit">
            <term><option>--limit</option> (<option>-l</option>)  
<replaceable>ARG</replaceable></term>
            <listitem>
  <!--
@@ -13004,7 +13004,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.no_diff_deleted">
            <term><option>--no-diff-deleted</option></term>
            <listitem>
  <!--
@@ -13023,7 +13023,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.no_diff_added">
            <term><option>--no-diff-added</option></term>
          <listitem>
  <!--
@@ -13041,8 +13041,8 @@
              (leeren) Datei hinzugefügt hätten.</para>
            </listitem>
          </varlistentry>
-
-        <varlistentry>
+
+        <varlistentry id="svn.ref.svnlook.sw.non_recursive">
            <term><option>--non-recursive</option>  
(<option>-N</option>)</term>
            <listitem>
  <!--
@@ -13052,7 +13052,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.revision">
            <term><option>--revision</option> (<option>-r</option>)</term>
            <listitem>
  <!--
@@ -13064,7 +13064,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.revprop">
            <term><option>--revprop</option></term>
            <listitem>
  <!--
@@ -13082,9 +13082,8 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
-          <term><option>--transaction</option>
-            (<option>-t</option>)</term>
+        <varlistentry id="svn.ref.svnlook.sw.transaction">
+          <term><option>--transaction</option> (<option>-t</option>)</term>
            <listitem>
  <!--
              <para>Specifies a particular transaction ID that you wish to
@@ -13095,7 +13094,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.show_ids">
            <term><option>--show-ids</option></term>
            <listitem>
  <!--
@@ -13107,7 +13106,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.verbose">
            <term><option>--verbose</option> (<option>-v</option>)</term>
            <listitem>
  <!--
@@ -13123,7 +13122,7 @@
            </listitem>
          </varlistentry>

-        <varlistentry>
+        <varlistentry id="svn.ref.svnlook.sw.xml">
            <term><option>--xml</option></term>
            <listitem>
              <para></para>
@@ -13196,8 +13195,8 @@

            <informalexample>
              <screen>
---revision (-r) REV
---transaction (-t) TXN
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.transaction" />
  </screen>
            </informalexample>
          </refsect1>
@@ -13272,8 +13271,8 @@

            <informalexample>
              <screen>
---revision (-r) REV
---transaction (-t) TXN
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.transaction" />
  </screen>
            </informalexample>
          </refsect1>
@@ -13433,9 +13432,9 @@

            <informalexample>
              <screen>
---copy-info
---revision (-r) REV
---transaction (-t) TXN
+<xref linkend="svn.ref.svnlook.sw.copy_info" />
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.transaction" />
  </screen>
            </informalexample>
          </refsect1>
@@ -13501,8 +13500,7 @@

            <informalexample>
              <screen>
-$ svnlook changed -r 64 --copy-info /var/svn/repos
-<!--
+$ svnlook changed -r 64 --copy-info /var/svn/repos <!--
  A + trunk/vendors/baker/toast.txt
      (from trunk/vendors/baker/bread.txt:r63)
  D   trunk/vendors/baker/bread.txt
@@ -13564,8 +13562,8 @@

            <informalexample>
              <screen>
---revision (-r) REV
---transaction (-t) TXN
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.transaction" />
  </screen>
            </informalexample>
          </refsect1>
@@ -13642,12 +13640,12 @@

            <informalexample>
              <screen>
---diff-copy-from
---no-diff-added
---no-diff-deleted
---revision (-r) REV
---transaction (-t) TXN
---extensions (-x) ARG
+<xref linkend="svn.ref.svnlook.sw.diff_copy_from" />
+<xref linkend="svn.ref.svnlook.sw.no_diff_added" />
+<xref linkend="svn.ref.svnlook.sw.no_diff_deleted" />
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.transaction" />
+<xref linkend="svn.ref.svnlook.sw.extensions" />
  </screen>
            </informalexample>
          </refsect1>
@@ -13659,72 +13657,159 @@
            <title>Beispiele</title>

  <!--
-          <para>This shows a newly added (empty) file, a deleted
-            file, and a copied file:</para>
+          <para>This shows a newly added (empty) file, a modified
+            binary file, and a renamed (that is, copied and deleted)
+            file with modifications:</para>
  -->
-          <para>Dies zeigt eine frisch hinzugefügte (leere) und
-            eine kopierte Datei sowie je zwei gelöschte und geänderte
-            Dateien:</para>
+          <para>Dies zeigt eine frisch hinzugefügte (leere) Datei,
+            eine geänderte binäre Datei und eine umbenannte (d.h.,
+            kopierte und gelöschte) Datei mit Änderungen:</para>

            <informalexample>
              <screen>
-$ svnlook diff -r 40 /var/svn/repos/
-<!--
-Copied: egg.txt (from rev 39, trunk/vendors/deli/pickle.txt)
-
-Added: trunk/vendors/deli/soda.txt
-==============================================================================
-
-Modified: trunk/vendors/deli/sandwich.txt
-==============================================================================
-- - trunk/vendors/deli/sandwich.txt	(original)
-+++ trunk/vendors/deli/sandwich.txt	2003-02-22 17:45:04.000000000 -0600
+$ svnlook diff -r 40 /var/svn/repos <!--
+Copied: trunk/relish.txt (from rev 39, trunk/vendors/deli/pickle.txt)
+-->
+Kopiert: trunk/relish.txt (von Rev 39, trunk/vendors/deli/pickle.txt)
+===================================================================
+--- trunk/relish.txt	                        (rev 0)
++++ trunk/relish.txt	2013-01-29 20:39:17 UTC (rev 40)
  @@ -0,0 +1 @@
-+Don't forget the mayo!
-
++Pickle relish is mostly made from cucumbers.
+<!--
+Deleted: trunk/vendors/deli/pickle.txt
+-->
+Gelöscht: trunk/vendors/deli/pickle.txt
+===================================================================
+--- trunk/vendors/deli/pickle.txt	                        (rev 39)
++++ trunk/vendors/deli/pickle.txt	2013-01-29 20:39:17 UTC (rev 49)
+@@ -1 +0,0 @@
+-Pickles are mostly made from cucumbers.
+<!--
  Modified: trunk/vendors/deli/logo.jpg
-==============================================================================
+-->
+Geändert: trunk/vendors/deli/logo.jpg
+=================================================================== <!--
  (Binary files differ)
+-->
+(Binärdateien sind unterschiedlich)
+<!--
+Added: trunk/vendors/deli/soda.txt
+-->
+Hinzugefügt: trunk/vendors/deli/soda.txt
+===================================================================
+$
+</screen>
+          </informalexample>

-Deleted: trunk/vendors/deli/chips.txt
-==============================================================================
+<!--
+          <para>By default, <command>svnlook diff</command> will treat
+            copied files very much like any other added file,
+            displaying in their entirety the contents of the new file
+            and merely using a different label to draw the copy/add
+            distinction.  However, you can use the
+            <option>- -diff-copy-from</option> option to cause
+            <command>svnlook diff</command> to consider a copied
+            file as worthy of mention only if it differs from the file
+            from which it was copied, and to actually describe those
+            differences.</para>
+-->
+          <para>Standardmäßig behandelt <command>svnlook
+            diff</command> kopierte Dateien genau so wie irgendeine
+            hinzugefügte Datei, indem es den gesamten Inhalt der neuen
+            Datei anzeigt und lediglich eine unterschiedliche
+            Etikettierung zur Unterscheidung des Kopierens/Hinzufügens
+            verwendet. Allerdings können Sie die Option
+            <option>--diff-copy-from</option> benutzen, um
+            <command>svnlook diff</command> mitzuteilen, dass eine
+            Kopierte Datei nur dann erwähnt wird, falls sie sich von
+            der Ursprungsdatei unterscheidet und dann die Unterschiede
+            aufzuzeigen.</para>

+          <informalexample>
+            <screen>
+$ svnlook diff -r 40 /var/svn/repos --diff-copy-from <!--
+Copied: trunk/relish.txt (from rev 39, trunk/vendors/deli/pickle.txt)
+-->
+Kopiert: trunk/relish.txt (von Rev 39, trunk/vendors/deli/pickle.txt)
+===================================================================
+--- trunk/vendors/deli/pickle.txt	2013-01-29 20:39:17 UTC (rev 39)
++++ trunk/relish.txt	2013-01-29 20:47:40 UTC (rev 3)
+@@ -1 +1 @@
+-Pickles are mostly made from cucumbers.
++Pickle relish is mostly made from cucumbers.
+<!--
  Deleted: trunk/vendors/deli/pickle.txt
-==============================================================================
  -->
-Kopiert: egg.txt (von Rev 39, trunk/vendors/deli/pickle.txt)
-
+Gelöscht: trunk/vendors/deli/pickle.txt
+===================================================================
+--- trunk/vendors/deli/pickle.txt	(rev 39)
++++ trunk/vendors/deli/pickle.txt	2013-01-29 20:39:17 UTC (rev 40)
+@@ -1 +0,0 @@
+-Pickles are mostly made from cucumbers.
+<!--
+Modified: trunk/vendors/deli/logo.jpg
+-->
+Geändert: trunk/vendors/deli/logo.jpg
+=================================================================== <!--
+(Binary files differ)
+-->
+(Binärdateien sind unterschiedlich)
+<!--
+Added: trunk/vendors/deli/soda.txt
+-->
  Hinzugefügt: trunk/vendors/deli/soda.txt
   
==============================================================================
+$
+</screen>
+          </informalexample>

-Geändert: trunk/vendors/deli/sandwich.txt
-==============================================================================
---- trunk/vendors/deli/sandwich.txt	(original)
-+++ trunk/vendors/deli/sandwich.txt	2003-02-22 17:45:04.000000000 -0600
+<!--
+          <para>Use the <option>- -no-diff-deleted</option> option to
+            silence output regarding deleted files.</para>
+-->
+          <para>Verwenden Sie die Option
+            <option>--no-diff-deleted</option>, um die Ausgabe
+            gelöschter Dateien zu unterbinden.</para>
+
+          <informalexample>
+            <screen>
+$ svnlook diff -r 40 /var/svn/repos --no-diff-deleted <!--
+Copied: trunk/relish.txt (from rev 39, trunk/vendors/deli/pickle.txt)
+-->
+Kopiert: trunk/relish.txt (von Rev 39, trunk/vendors/deli/pickle.txt)
+===================================================================
+--- trunk/relish.txt	                        (rev 0)
++++ trunk/relish.txt	2013-01-29 20:39:17 UTC (rev 40)
  @@ -0,0 +1 @@
-+Don't forget the mayo!
-
++Pickle relish is mostly made from cucumbers.
+<!--
+Modified: trunk/vendors/deli/logo.jpg
+-->
  Geändert: trunk/vendors/deli/logo.jpg
-==============================================================================
+=================================================================== <!--
+(Binary files differ)
+-->
  (Binärdateien sind unterschiedlich)
-
-Gelöscht: trunk/vendors/deli/chips.txt
+<!--
+Added: trunk/vendors/deli/soda.txt
+-->
+Hinzugefügt: trunk/vendors/deli/soda.txt
   
==============================================================================
-
-Gelöscht: trunk/vendors/deli/pickle.txt
-==============================================================================
+$
  </screen>
            </informalexample>

  <!--
-          <para>If a file has a nontextual
-            <literal>svn:mime-type</literal> property, the
-            differences are not explicitly shown.</para>
+          <para>Note that in each of the previous examples, when a
+            file has a nontextual <literal>svn:mime-type</literal>
+            property, the differences are not explicitly shown.</para>
  -->
-          <para>Falls eine Datei eine Eigenschaft
-            <literal>svn:mime-type</literal> besitzt das nicht
-            textuell ist, werden die Unterschiede nicht explizit
-            aufgezeigt.</para>
+          <para>Beachten Sie in jedem der vorangegangenen Beispiele,
+            dass für eine Datei, die die Eigenschaft
+            <literal>svn:mime-type</literal> besitzt, die nicht
+            textuell ist, die Unterschiede nicht explizit aufgezeigt
+            werden.</para>
          </refsect1>
        </refentry>

@@ -13778,8 +13863,8 @@

            <informalexample>
              <screen>
---revision (-r) REV
---transaction (-t) TXN
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.transaction" />
  </screen>
            </informalexample>
          </refsect1>
@@ -13803,6 +13888,93 @@
  trunk/vendors/deli/
  </screen>
            </informalexample>
+
+        </refsect1>
+      </refentry>
+
+      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
+      <refentry id="svn.ref.svnlook.c.filesize">
+
+        <indexterm>
+          <primary>svnlook</primary>
+<!--
+          <secondary>subcommands</secondary>
+-->
+          <secondary>Unterbefehle</secondary>
+          <tertiary>filesize</tertiary>
+        </indexterm>
+
+        <refnamediv>
+          <refname>svnlook filesize</refname>
+<!--
+          <refpurpose>Print the size (in bytes) of a versioned
+            file.</refpurpose>
+-->
+          <refpurpose>Ausgabe der Größe (in Bytes) einer versionierten
+            Datei.</refpurpose>
+        </refnamediv>
+        <refsect1>
+<!--
+          <title>Synopsis</title>
+-->
+          <title>Aufruf</title>
+          <para><literal>svnlook filesize REPOS_PATH
+            PATH_IN_REPOS</literal></para>
+        </refsect1>
+        <refsect1>
+<!--
+          <title>Description</title>
+-->
+          <title>Beschreibung</title>
+
+<!--
+          <para>Print the file size (in bytes) of the file located
+            at <replaceable>PATH_IN_REPOS</replaceable> in the HEAD
+            revision of the repository identified
+            by <replaceable>REPOS_PATH</replaceable> as a base-10
+            integer followed by an end-of-line character.  Use
+            the <option>- -revision</option> (<option>-r</option>)
+            and <option>- -transaction</option> (<option>-t</option>)
+            options to specify a version of the file other than HEAD
+            whose file size you wish to display.</para>
+-->
+          <para>Gibt die Größe (in Bytes) der Datei bei
+            <replaceable>PATH_IN_REPOS</replaceable> in der Revision
+            HEAD des durch <replaceable>REPOS_PATH</replaceable>
+            identifizierten Projektarchivs by as a base-10
+            integer followed by an end-of-line character.  Use
+            the <option>--revision</option> (<option>-r</option>)
+            and <option>--transaction</option> (<option>-t</option>)
+            options to specify a version of the file other than HEAD
+            whose file size you wish to display.</para>
+        </refsect1>
+
+        <refsect1>
+          <title>Options</title>
+
+          <informalexample>
+            <screen>
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.transaction" />
+</screen>
+          </informalexample>
+        </refsect1>
+
+        <refsect1>
+          <title>Examples</title>
+
+          <para>The following demonstrates how to display the size of
+            the <filename>trunk/vendors/deli/soda.txt</filename> file
+            as it appeared in revision 40 of our sample
+            repository:</para>
+
+          <informalexample>
+            <screen>
+$ svnlook filesize -r 40 /var/svn/repos trunk/vendors/deli/soda.txt
+23
+$
+</screen>
+          </informalexample>

          </refsect1>
        </refentry>
@@ -13923,9 +14095,9 @@

            <informalexample>
              <screen>
---limit (-l) NUM
---revision (-r) REV
---show-ids
+<xref linkend="svn.ref.svnlook.sw.limit" />
+<xref linkend="svn.ref.svnlook.sw.revision" />
+<xref linkend="svn.ref.svnlook.sw.show_ids" />
  </screen>
            </informalexample>
          </refsect1>


More information about the svnbook-dev mailing list