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

svnbook at googlecode.com svnbook at googlecode.com
Mon Nov 8 02:09:47 CST 2010


Revision: 3813
Author: jmfelderhoff at gmx.eu
Date: Mon Nov  8 00:08:46 2010
Log: * trunk/src/de/book/ch03-advanced-topics.xml
   - Ticket #137 (Discovering Locks), cf.
     http://www.svnbook.de/ticket/137.

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

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

=======================================
--- /trunk/src/de/book/ch03-advanced-topics.xml	Tue Nov  2 11:21:15 2010
+++ /trunk/src/de/book/ch03-advanced-topics.xml	Mon Nov  8 00:08:46 2010
@@ -5016,12 +5016,23 @@

      <!-- ===============================================================  
-->
      <sect2 id="svn.advanced.locking.discovery">
+<!--
        <title>Discovering Locks</title>
-
+-->
+      <title>Entdecken von Sperren</title>
+
+<!--
        <para>When a commit fails due to someone else's locks, it's
          fairly easy to learn about them.  The easiest way is to run
-        <userinput>svn status --show-updates</userinput>:</para>
-
+        <userinput>svn status - -show-updates</userinput>:</para>
+-->
+      <para>Falls eine Übertragung aufgrund der Sperre von jemand
+        anderen fehlschlägt, ist es ziemlich einfach, Informationen
+        darüber zu erhalten. Die einfachste Möglichkeit ist,
+        <userinput>svn status --show-updates</userinput>
+        aufzurufen:</para>
+
+<!--
        <screen>
  $ svn status -u
  M              23   bar.c
@@ -5030,6 +5041,16 @@
  Status against revision:     105
  $
  </screen>
+-->
+      <screen>
+$ svn status -u
+M              23   bar.c
+M    O         32   raisin.jpg
+       *       72   foo.h
+Status bezogen auf Revision:     105
+$
+</screen>
+<!--

        <para>In this example, Sally can see not only that her copy of
          <filename>foo.h</filename> is out of date, but also that one of the
@@ -5041,7 +5062,21 @@
          prevent it.  Sally is left wondering who made the lock, when,
          and why.  Once again, <command>svn info</command> has the
          answers:</para>
-
+-->
+
+      <para>In diesem Beispiel kann Sally nicht nur sehen, dass ihre
+        Kopie von <filename>foo.h</filename> nicht mehr aktuell ist,
+        sondern auch, dass eine der zwei geänderten Dateien, die sie
+        übertragen wollte, im Projektarchiv gesperrt ist. Das Symbol
+        <literal>O</literal> steht für <quote>Other</quote>, was
+        bedeutet, dass eine Sperre auf der Datei liegt, die von jemand
+        anderen angelegt wurde. Wenn sie eine Übertragung versuchte,
+        würde die Sperre auf <filename>raisin.jpg</filename> das
+        verhindern. Sally fragt sich jetzt nur noch, wer die Sperre
+        wann und warum angelegt hat. Auch hierzu liefert <command>svn
+          info</command> die Antwort:</para>
+
+<!--
        <screen>
  $ svn info http://svn.example.com/repos/project/raisin.jpg
  Path: raisin.jpg
@@ -5059,8 +5094,28 @@
  Lock Comment (1 line):
  Need to make a quick tweak to this image.
  $
+</screen>
+-->
+      <screen>
+$ svn info http://svn.example.com/repos/project/raisin.jpg
+Pfad: raisin.jpg
+Name: raisin.jpg
+URL: http://svn.example.com/repos/project/raisin.jpg
+UID des Projektarchivs: edb2f264-5ef2-0310-a47a-87b0ce17a8ec
+Revision: 105
+Knotentyp: Datei
+Letzter Autor: sally
+Letzte geänderte Rev: 32
+Letztes Änderungsdatum: 2006-01-25 12:43:04 -0600 (Sun, 25 Jan 2006)
+Sperrmarke: opaquelocktoken:fc2b4dee-98f9-0310-abf3-653ff3226e6b
+Sperreigner: harry
+Sperre erzeugt: 2006-02-16 13:29:18 -0500 (Thu, 16 Feb 2006)
+Sperrkommentar (1 Zeile):
+Need to make a quick tweak to this image.
+$
  </screen>

+<!--
        <para>Just as you can use <command>svn info</command> to examine
          objects in the working copy, you can also use it to examine
          objects in the repository.  If the main argument to
@@ -5074,7 +5129,24 @@
          information reflects the latest version of an object in the
          repository, and any mention of a lock describes the current
          lock on the object.</para>
-
+-->
+      <para>Ebenso, wie Sie <command>svn info</command> zum
+        Untersuchen von Objekten in der Arbeitskopie verwenden können,
+        erlaubt es Ihnen, Objekte im Projektarchiv zu untersuchen.
+        Falls das Hauptargument von <command>svn info</command> ein
+        Pfad der Arbeitskopie ist, wird die gesamte
+        zwischengespeicherte Information der Arbeitskopie angezeigt;
+        die Erwähnung irgendeiner Sperre bedeutet, dass die
+        Arbeitskopie eine Sperrmarke hält (falls eine Datei von einem
+        anderen Benutzer oder in einer anderen Arbeitskopie gesperrt
+        ist, zeigt <command>svn info</command> mit einem Pfad der
+        Arbeitskopie keinerlei Informationen über Sperren an). Falls
+        das Hauptargument zu <command>svn info</command> ein URL ist,
+        spiegelt die Information die letzte Version eines Objektes im
+        Projektarchiv wider, und die Erwähnung einer Sperre beschreibt
+        die aktuelle Sperre auf dem Objekt.</para>
+
+<!--
        <para>So in this particular example, Sally can see that Harry
          locked the file on February 16 to <quote>make a quick
          tweak.</quote>  It being June, she suspects that he probably
@@ -5082,6 +5154,15 @@
          and ask him to release the lock.  If he's unavailable, she
          might try to forcibly break the lock herself or ask an
          administrator to do so.</para>
+-->
+      <para>In diesem konkreten Beispiel kann Sally sehen, dass Harry
+        die Datei am 16. Februar gesperrt hat, um <quote>eine schnelle
+          Optimierung</quote> zu machen. Da es nun Juni ist, vermutet
+        sie, dass er wahrscheinlich die Sperre vergessen hat. Sie
+        könnte Harry anrufen, um sich zu beschweren und ihn
+        aufzufordern, die Datei freizugeben. Sollte er nicht
+        erreichbar sein, könnte sie versuchen, selber die Freigabe zu
+        erzwingen oder einen Administrator darum zu bitten.</para>

      </sect2>



More information about the svnbook-dev mailing list