[svnbook] r4706 committed - Translation: continue with basic usage
svnbook at googlecode.com
svnbook at googlecode.com
Fri Mar 7 07:23:58 CST 2014
Revision: 4706
Author: jmfelderhoff at gmx.eu
Date: Fri Mar 7 13:23:39 2014 UTC
Log: Translation: continue with basic usage
http://code.google.com/p/svnbook/source/detail?r=4706
Modified:
/branches/1.7/de/book/ch02-basic-usage.xml
=======================================
--- /branches/1.7/de/book/ch02-basic-usage.xml Fri Mar 7 07:21:00 2014 UTC
+++ /branches/1.7/de/book/ch02-basic-usage.xml Fri Mar 7 13:23:39 2014 UTC
@@ -1936,10 +1936,10 @@
<indexterm>
<primary>svn</primary>
- <secondary>subcommands</secondary>
<!--
- <secondary>Unterbefehle</secondary>
+ <secondary>subcommands</secondary>
-->
+ <secondary>Unterbefehle</secondary>
<tertiary>diff</tertiary>
</indexterm>
<indexterm>
@@ -2247,7 +2247,6 @@
Reverted 'README'
-->
Rückgängig gemacht: »README«
-
$ svn status README
$
</screen>
@@ -2801,9 +2800,6 @@
merge and edit changes, the rest of which allow you to
simply pick a version of the file and move along.</para>
-->
- <indexterm>
- </indexterm>
-
<para>Es gibt mehrere unterschiedliche Wege, um Konflikte
interaktiv aufzulösen – von denen Ihnen zwei erlauben,
Änderungen selektiv zusammenzuführen und zu editieren und
@@ -2921,7 +2917,7 @@
<tertiary>postponing</tertiary>
-->
<primary>Konflikte</primary>
- <secondary>Auflösen</secondary>
+ <secondary>Auflösung</secondary>
<tertiary>aufschieben</tertiary>
</indexterm>
@@ -2974,18 +2970,15 @@
<itemizedlist>
+ <indexterm>
<!--
- <indexterm>
<primary>conflicts</primary>
<secondary>conflict markers</secondary>
- </indexterm>
-->
- <indexterm>
<primary>Konflikte</primary>
<secondary>Konfliktmarken</secondary>
</indexterm>
-
<listitem>
<!--
<para>Subversion prints a <computeroutput>C</computeroutput>
@@ -4732,7 +4725,10 @@
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<sect3 id="svn.tour.history.browsing.list">
- <title>svn list</title>
+<!--
+ <title>Listing versioned directories</title>
+-->
+ <title>Auflistung versionierter Verzeichnisse</title>
<!--
<para>The <command>svn list</command> command shows you what
@@ -4835,21 +4831,14 @@
<para>Sehen Sie? Wir haben Ihnen gesagt, dass Subversion eine
Zeitmaschine sei.</para></footnote></para>
-<!--
<informalexample>
<screen>
+<!--
# Make the current directory look like it did in r1729.
-$ svn update -r 1729
-Updating '.':
-…
-$
-</screen>
- </informalexample>
-->
- <informalexample>
- <screen>
# Lass das aktuelle Verzeichnis aussehen wie in r1729.
$ svn update -r 1729
+Updating '.':
…
$
</screen>
@@ -4900,24 +4889,17 @@
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
…
+<!--
+# Checkout the current trunk as it looked in r1729.
+-->
# Den aktuellen Trunk auschecken, wie er in r1729 aussah.
$ svn checkout http://svn.example.com/svn/repo/trunk -r 1729 trunk-1729
…
@@ -4925,51 +4907,41 @@
</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. The basic syntax
- of this subcommand is identical to that of the <command>svn
+ your versioned files and directories, you can use <command>svn
+ export</command> to create a local copy of all or part of your
+ repository without any <filename>.svn</filename>
+ administrative directories included. The basic syntax of this
+ subcommand is identical to that of <command>svn
checkout</command>:</para>
-->
- <para>Wenn Sie am Ende ein Release bauen und die Dateien aus
- Subversion zu einem Bündel schnüren möchten, ohne allerdings
- diese verdammten <filename>.svn</filename>-Verzeichnisse dabei
- zu haben, können Sie <command>svn export</command> verwenden,
- um eine lokale Kopie des gesamten oder teilweisen Projektarchivs
- ohne <filename>.svn</filename>-Verzeichnisse zu erhalten. Die
+ <para>Wenn Sie am Ende ein Release bauen und die versionierten
+ Dateien und Verzeichnisse zu einem Bündel schnüren möchten, können
+ Sie <command>svn export</command> verwenden, um eine lokale
+ Kopie des gesamten oder teilweisen Projektarchivs ohne
+ irgendwelche
+ <filename>.svn</filename>-Verzeichnisse zu erhalten. Die
Syntax ist grundsätzlich identisch zu der von <command>svn
checkout</command>:</para>
-<!--
<informalexample>
<screen>
+<!--
# Export the trunk from the latest revision.
+-->
+# Den Trunk aus der letzten Revision exportieren.
$ svn export http://svn.example.com/svn/repo/trunk trunk-export
…
+<!--
# Export the trunk from r1729.
+-->
+# Den Trunk aus r1729 exportieren.
$ svn export http://svn.example.com/svn/repo/trunk@1729 trunk-1729
…
+<!--
# Export the current trunk as it looked in r1729.
-$ svn export http://svn.example.com/svn/repo/trunk -r 1729 trunk-1729
-…
-$
-</screen>
- </informalexample>
-->
- <informalexample>
- <screen>
-# Den Trunk aus der letzten Revision exportieren.
-$ svn export http://svn.example.com/svn/repo/trunk trunk-export
-…
-# Den Trunk aus r1729 exportieren.
-$ svn export http://svn.example.com/svn/repo/trunk@1729 trunk-1729
-…
# Den aktuellen Trunk exportieren, wie er in in r1729 aussah.
$ svn export http://svn.example.com/svn/repo/trunk -r 1729 trunk-1729
…
@@ -5001,6 +4973,7 @@
paar Verwaltungsaufgaben für Ihre Arbeitskopie durch.</para>
+ <!-- ===============================================================
-->
<sect2 id="svn.tour.cleanup.disposal">
<!--
<title>Disposing of a Working Copy</title>
@@ -5067,7 +5040,7 @@
so as safely as possible. Before changing the working copy,
Subversion logs its intentions in a private <quote>to-do
list</quote>, of sorts. Next, it performs those actions to
- affect the desired change, holding a lock on the relevant part
+ effect the desired change, holding a lock on the relevant part
of the working copy while it works. This prevents other
Subversion clients from accessing the working copy mid-change.
Finally, Subversion releases its lock and cleans up its
@@ -5307,123 +5280,84 @@
<informalexample>
<screen>
$ svn list -Rv svn://svn.example.com/trunk/
- 4 harry Feb 06 14:34 ./
- 4 harry 23 Feb 06 14:34 COPYING
- 4 harry 41 Feb 06 14:34 Makefile
- 4 harry 33 Feb 06 14:34 README
- 4 harry Feb 06 14:34 code/
- 4 harry 51 Feb 06 14:34 code/bar.c
- 4 harry 124 Feb 06 14:34 code/foo.c
+ 13 harry Sep 06 10:34 ./
+ 13 harry 27 Sep 06 10:34 COPYING
+ 13 harry 41 Sep 06 10:32 Makefile
+ 13 harry 53 Sep 06 10:34 README
+ 13 harry Sep 06 10:32 code/
+ 13 harry 54 Sep 06 10:32 code/bar.c
+ 13 harry 130 Sep 06 10:32 code/foo.c
+$
</screen>
</informalexample>
<!--
- <para>Your collaborator Harry has renamed the file
- <filename>bar.c</filename> to <filename>baz.c</filename>. You
- are still working on <filename>bar.c</filename> in your
- working copy, but you don't know yet that the file has been
- renamed in the repository.</para>
+ <para>Later, in revision 14, your collaborator Harry renames the file
+ <filename>bar.c</filename> to <filename>baz.c</filename>.
+ Unfortunately, you don't realize this yet. As it turns out,
+ you are busy in your working copy composing a different set of
+ changes, some of which also involve modifications
+ to <filename>bar.c</filename>:</para>
-->
- <para>Ihr Kollege Harry hat die Datei <filename>bar.c</filename>
- in <filename>baz.c</filename> umbenannt. Sie arbeiten immer
- noch an <filename>bar.c</filename> in Ihrer Arbeitskopie, doch
- wissen noch nicht, dass die Datei im Projektarchiv umbenannt
- wurde.</para>
+ <para>Später, in Revision 14, benennt Ihr Kollege Harry die
+ Datei <filename>bar.c</filename> in <filename>baz.c</filename>
+ um. Sie merken das noch nicht. Wie sich herausstellt, sind Sie
+ in Ihrer Arbeitskopie damit beschäftigt, eine Menge
+ unterschiedlicher änderungen vorzunehmen, von denen einige
+ auch <filename>bar.c</filename> berühren:</para>
-<!--
- <para>The log message to Harry's commit looked like this:</para>
--->
- <para>Die Protokollmeldung für Harrys Übergabe sah so aus:</para>
-
-<!--
- <informalexample>
- <screen>
-$ svn log -r5 svn://svn.example.com/trunk
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-r5 | harry | 2009-02-06 14:42:59 +0000 (Fri, 06 Feb 2009) | 2 lines
-Changed paths:
- M /trunk/Makefile
- D /trunk/code/bar.c
- A /trunk/code/baz.c (from /trunk/code/bar.c:4)
-
-Rename bar.c to baz.c, and adjust Makefile accordingly.
-</screen>
- </informalexample>
--->
- <informalexample>
- <screen>
-$ svn log -r5 svn://svn.example.com/trunk
-------------------------------------------------------------------------
-r5 | harry | 2009-02-06 14:42:59 +0000 (Fri, 06 Feb 2009) | 2 lines
-Geänderte Pfade:
- M /trunk/Makefile
- D /trunk/code/bar.c
- A /trunk/code/baz.c (from /trunk/code/bar.c:4)
-
-bar.c nach baz.c umbenannt und Makefile entsprechend angepasst.
-</screen>
- </informalexample>
-
-<!--
- <para>The local changes you have made look like this:</para>
--->
- <para>Die von Ihnen vorgenommenen Änderungen sehen so aus:</para>
-
<informalexample>
<screen>
$ svn diff
Index: code/foo.c
===================================================================
---- code/foo.c (revision 4)
-+++ code/foo.c (working copy)
+--- code/foo.c (revision 13)
++++ code/foo.c (working copy)
@@ -3,5 +3,5 @@
int main(int argc, char *argv[])
{
- printf("I don't like being moved around!\n%s", bar());
-- return 0;
-+ return 1;
+ printf("I don't like being moved around!\n%s", bar());
+- return 0;
++ return 1;
}
Index: code/bar.c
===================================================================
---- code/bar.c (revision 4)
-+++ code/bar.c (working copy)
+--- code/bar.c (revision 13)
++++ code/bar.c (working copy)
@@ -1,4 +1,4 @@
const char *bar(void)
{
-- return "Me neither!\n";
-+ return "Well, I do like being moved around!\n";
+- return "Me neither!\n";
++ return "Well, I do like being moved around!\n";
}
+$
</screen>
</informalexample>
<!--
- <para>Your changes are all based on revision 4. They cannot be
- committed because Harry has already checked in revision 5:</para>
+ <para>You first realize that someone else has
+ changed <filename>bar.c</filename> when your own commit
+ attempt fails:</para>
-->
- <para>Ihre Änderungen bauen alle auf Revision 4 auf. Sie können
- nicht übergeben werden, da Harry bereits Revision 5 übergeben
- hat:</para>
+ <para>Sie bemerken erst, dass jemand anderes
+ <filename>bar.c</filename> geändert hat, als Ihr eigener
+ Übertragungsversuch scheitert:</para>
-<!--
<informalexample>
<screen>
$ svn commit -m "Small fixes"
+<!--
Sending code/bar.c
-Sending code/foo.c
-Transmitting file data ..
-svn: Commit failed (details follow):
-svn: File not found: transaction '5-5', path '/trunk/code/bar.c'
-</screen>
- </informalexample>
+svn: E155011: Commit failed (details follow):
+svn: E155011: File '/home/svn/project/code/bar.c' is out of date
+svn: E160013: File not found: transaction '14-e', path '/code/bar.c'
-->
- <informalexample>
- <screen>
-$ svn commit -m "Small fixes"
Sende code/bar.c
-Sende code/foo.c
Übertrage Daten ..
-svn: Übertragen schlug fehl (Details folgen):
-svn: Datei nicht gefunden: Transaktion »5-5«, Pfad »/trunk/code/bar.c«
+svn: E155011: Übertragen schlug fehl (Details folgen):
+svn: E155011: Datei »/home/svn/project/code/bar.c« ist veraltet
+svn: E160013: Datei nicht gefunden: Transaktion »14-e«, Pfad »/code/bar.c«
+$
</screen>
</informalexample>
<!-- XXX: That error message should be cleaned up! -->
@@ -5440,7 +5374,6 @@
Baumkonflikt, so dass Sie die Gelegenheit bekommen, die
Situation abzuschätzen und entsprechend aufzulösen.</para>
-<!--
<informalexample>
<screen>
$ svn update
@@ -5448,18 +5381,11 @@
C code/bar.c
A code/baz.c
U Makefile
-Updated to revision 5.
+<!--
+Updated to revision 14.
Summary of conflicts:
Tree conflicts: 1
-</screen>
- </informalexample>
-->
- <informalexample>
- <screen>
-$ svn update
- C code/bar.c
-A code/baz.c
-U Makefile
Aktualisiert zu Revision 5.
Konfliktübersicht:
Baumkonflikte: 1
@@ -5477,47 +5403,46 @@
<command>svn status</command> enthüllt weitere Details zum
Konflikt:</para>
-<!--
<informalexample>
<screen>
$ svn status
M code/foo.c
A + C code/bar.c
> local edit, incoming delete upon update
-M code/baz.c
-</screen>
- </informalexample>
+<!--
+Summary of conflicts:
+ Tree conflicts: 1
-->
- <informalexample>
- <screen>
-$ svn status
-M code/foo.c
-A + C code/bar.c
- > lokal editiert, eingehend gelöscht bei Aktualisierung
-M code/baz.c
+Konfliktübersicht:
+ Baumkonflikte: 1
+$
</screen>
</informalexample>
<!--
- <para>Note how bar.c is automatically scheduled for re-addition
- in your working copy, which simplifies things in case you want
- to keep the file.</para>
+ <para>Note how <filename>bar.c</filename> is automatically
+ scheduled for re-addition in your working copy, which
+ simplifies things in case you want to keep the file.</para>
-->
- <para>Beachten Sie, wie bar.c automatisch in Ihrer Arbeitskopie
- zum erneuten Hinzufügen vorgemerkt wird, was die Sache
- vereinfacht, sollten sie sich entscheiden, die Datei zu
- behalten.</para>
+ <para>Beachten Sie, wie <filename>bar.c</filename> automatisch
+ in Ihrer Arbeitskopie zum erneuten Hinzufügen vorgemerkt wird,
+ was die Sache vereinfacht, sollten sie sich entscheiden, die
+ Datei zu behalten.</para>
<!--
- <para>Because a move in Subversion is implemented as a copy operation
- followed by a delete operation, and these two operations cannot
- be easily related to one another during an update, all Subversion
- can warn you about is an incoming delete operation on a locally
- modified file.
- This delete operation <emphasis>may</emphasis> be part of a move,
- or it could be a genuine delete operation. Talking to your
- collaborators, or, as a last resort, <command>svn log</command>,
- is a good way to find out what has actually happened.</para>
+ <para>Because a move in Subversion is implemented as a copy
+ operation followed by a delete operation, and these two
+ operations cannot be easily related to one another during an
+ update, all Subversion can warn you about is an incoming
+ delete operation on a locally modified file. This delete
+ operation <emphasis>may</emphasis> be part of a move, or it
+ could be a genuine delete operation. Determining exactly what
+ semantic change was made to the repository is
+ important—you want to know just how your own edits fit
+ into the overall trajectory of the project. So read log
+ messages, talk to your collaborators, study the line-based
+ differences—do whatever you must do—to determine
+ your best course of action.</para>
-->
<para>Da eine Verschiebung in Subversion als eine Kopie mit
anschließender Löschung implementiert ist, und diese beiden
@@ -5525,51 +5450,40 @@
in Beziehung setzen lassen, kann Sie Subversion lediglich
über eine hereinkommende Löschung einer lokal modifizierten
Datei warnen. Diese Löschung <emphasis>kann</emphasis> Teil
- einer Verschiebung sein oder eine tatsächliche Löschung. Um
- herauszufinden, was wirklich passiert ist, empfiehlt es sich,
- mit Ihren Kollegen Rücksprache zu halten, oder, als letzte
- Möglichkeit, <command>svn log</command> zu befragen.</para>
+ einer Verschiebung sein oder eine tatsächliche Löschung. Es
+ ist wichtig, herauszufinden, welche semantische Änderung genau
+ am Projektarchiv vorgenommen wurde – Sie sollten wissen,
+ wie sich Ihre änderungen in das Gesamtbild des Projektes
+ einpassen lassen. Lesen Sie also die Protokokllnachrichten,
+ halten Sie mit Ihren Kollegen Rückspracher, begutachten Sie
+ die zeilenbasierten Änderungen – machen Sie, was auch
+ immer zu tun ist – um Ihre nächsten Schritte zu
+ bestimmen.</para>
<!--
- <para>Both <filename>foo.c</filename> and <filename>baz.c</filename>
- are reported as locally modified in the output of
- <command>svn status</command>. You made the changes to
- <filename>foo.c</filename> yourself, so this should not be
- surprising. But why is <filename>baz.c</filename> reported as
- locally modified?</para>
+ <para>In this case, Harry's commit log message tells you what
+ you need to know.</para>
-->
- <para>Sowohl <filename>foo.c</filename> als auch
- <filename>baz.c</filename> werden in der Ausgabe von
- <command>svn status</command> als lokal modifiziert angezeigt.
- Sie selbst haben Änderungen an <filename>foo.c</filename>
- vorgenommen, das sollte Sie nicht überraschen. Aber warum wird
- <filename>baz.c</filename> als lokal modifiziert
- angezeigt?</para>
+ <para>In diesem Fall verrät Ihnen die Protokollnachricht der
+ Übertragung von Harry alles, was Sie wissen müssen.</para>
+
+ <informalexample>
+ <screen>
+$ svn log -r14 ^/trunk
+------------------------------------------------------------------------
+r14 | harry | 2011-09-06 10:38:17 -0400 (Tue, 06 Sep 2011) | 1 line
<!--
- <para>The answer is that despite the limitations of the move
- implementation, Subversion was smart enough to transfer your
- local edits in <filename>bar.c</filename>
- into <filename>baz.c</filename>:</para>
+Changed paths:
-->
- <para>Die Antwort ist, dass, trotz der Einschränkungen bei der
- Implementierung der Verschiebung, Subversion klug genug war,
- Ihre lokalen Änderungen an <filename>bar.c</filename> nach
- <filename>baz.c</filename> zu übertragen:</para>
+Geänderte Pfade:
+ M /Makefile
+ D /code/bar.c
+ A /code/baz.c (from /code/bar.c:13)
- <informalexample>
- <screen>
-$ svn diff code/baz.c
-Index: code/baz.c
-===================================================================
---- code/baz.c (revision 5)
-+++ code/baz.c (working copy)
-@@ -1,4 +1,4 @@
- const char *bar(void)
- {
-- return "Me neither!\n";
-+ return "Well, I do like being moved around!\n";
- }
+Rename bar.c to baz.c, and adjust Makefile accordingly.
+------------------------------------------------------------------------
+$
</screen>
</informalexample>
@@ -5618,22 +5532,26 @@
Konflikt stehenden Änderung in der Vorgeschichte des
Projektarchivs beginnen sollten.</para>
-<!--
<informalexample>
<screen>
-$ svn info code/bar.c | tail -n 4
+$ svn info code/bar.c
+<!--
+Path: code/bar.c
+-->
+Pfad: code/bar.c
+Name: bar.c
+URL: http://svn.example.com/svn/repo/trunk/code/bar.c
+…
+<!--
Tree conflict: local edit, incoming delete upon update
Source left: (file) ^/trunk/code/bar.c at 4
Source right: (none) ^/trunk/code/bar.c at 5
-</screen>
- </informalexample>
-->
- <informalexample>
- <screen>
-$ svn info code/bar.c | tail -n 4
Baumkonflikt: lokal editiert, eingehend gelöscht bei Aktualisierung
Quelle links: (Datei) ^/trunk/code/bar.c at 4
Quelle rechts: (nichts) ^/trunk/code/bar.c at 5
+
+$
</screen>
</informalexample>
@@ -5647,20 +5565,18 @@
nicht übergeben werden, bevor der Konflikt aufgelöst
wird:</para>
-<!--
<informalexample>
<screen>
$ svn commit -m "Small fixes"
-svn: Commit failed (details follow):
-svn: Aborting commit: 'code/bar.c' remains in conflict
-</screen>
- </informalexample>
+<!--
+svn: E155015: Commit failed (details follow):
+svn: E155015: Aborting commit: '/home/svn/project/code/bar.c' remains in
confl
+ict
-->
- <informalexample>
- <screen>
-$ svn commit -m "Small fixes"
-svn: Übertragen schlug fehl (Details folgen):
-svn: Übertragung abgebrochen: »code/bar.c« bleibt im Konflikt
+svn: E155015: Übertragen schlug fehl (Details folgen):
+svn: E155015: Übertragung abgebrochen: »/home/svn/project/code/bar.c«
bleibt
+im Konflikt
+$
</screen>
</informalexample>
More information about the svnbook-dev
mailing list