[svnbook] r4503 committed - Translation: Fix your mistakes
svnbook at googlecode.com
svnbook at googlecode.com
Sun Jun 9 10:58:58 CDT 2013
Revision: 4503
Author: jmfelderhoff at gmx.eu
Date: Sun Jun 9 08:58:42 2013
Log: Translation: Fix your mistakes
http://code.google.com/p/svnbook/source/detail?r=4503
Modified:
/branches/1.6/de/book/ch02-basic-usage.xml
=======================================
--- /branches/1.6/de/book/ch02-basic-usage.xml Sun Jun 9 03:54:43 2013
+++ /branches/1.6/de/book/ch02-basic-usage.xml Sun Jun 9 08:58:42 2013
@@ -2368,112 +2368,129 @@
<!-- ===============================================================
-->
<sect2 id="svn.tour.cycle.revert">
<!--
- <title>Undoing Working Changes</title>
+ <title>Fix Your Mistakes</title>
-->
- <title>Zurücknehmen von Änderungen in der Arbeitskopie</title>
-
+ <title>Beheben Sie Ihre Fehler</title>
<!--
<para>Suppose while viewing the output of <command>svn
diff</command> you determine that all the changes you made to
a particular file are mistakes. Maybe you shouldn't have
changed the file at all, or perhaps it would be easier to make
- different changes starting from scratch.</para>
+ different changes starting from scratch. You could edit the
+ file again and unmake all those changes. You could try to
+ find a copy of how the file looked before you changed it, and
+ then copy its contents atop your modified version. You
+ could attempt to apply those changes to the file again in
+ reverse using <userinput>patch -R</userinput>. And there are
+ probably other approaches you could take.</para>
-->
<para>Angenommen, Sie stellen beim Ansehen der Ausgabe von
<command>svn diff</command> fest, dass alle Änderungen, die
Sie an einer bestimmten Datei gemacht haben, fehlerhaft waren.
Vielleicht hätten Sie die Datei überhaupt nicht ändern sollen,
- oder es wäre einfacher, von Anfang an unterschiedliche
- Änderungen zu machen.</para>
-
+ oder es wäre einfacher, noch einmal bei Null
+ anzufangen. Sie könnten die Datei erneut bearbeiten und alle
+ Änderungen rückgängig machen. Sie könnten versuchen, eine
+ Kopie der Datei im Ursprungszustand zu bekommen und deren
+ Inhalt über Ihre Änderungen zu kopieren. Sie könnten
+ versuchen, diese Änderrungen erneut mit <userinput>patch
+ -R</userinput> rückwärts anzuwenden. Es gibt wahrscheinlich
+ noch andere Herangehensweisen, die Sie ausprobieren
+ könnten.</para>
+
<!--
- <para>This is a perfect opportunity to use <command>svn
- revert</command>:</para>
+ <indexterm>
+ <primary>svn</primary>
+ <secondary>subcommands</secondary>
+ <tertiary>revert</tertiary>
+ </indexterm>
+
+ <para>Fortunately in Subversion, undoing your work and starting
+ over from scratch doesn't require such acrobatics. Just use
+ the <command>svn revert</command> command:</para>
-->
- <para>Dies ist die perfekte Gelegenheit, <command>svn
- revert</command> zu benutzen:</para>
+ <indexterm>
+ <primary>svn</primary>
+ <secondary>Unterbefehle</secondary>
+ <tertiary>revert</tertiary>
+ </indexterm>
+
+ <para>In Subversion bedarf das Rückgängigmachen
+ und bei Null anfangen glücklicherweise nicht derartiger
+ Akrobatik. Verwenden Sie einfach den Befehl <command>svn
+ revert</command>:</para>
<!--
- <screen>
+ <informalexample>
+ <screen>
+$ svn status README
+M README
$ svn revert README
Reverted 'README'
+$ svn status README
+$
</screen>
+ </informalexample>
-->
- <screen>
+ <informalexample>
+ <screen>
+$ svn status README
+M README
$ svn revert README
Rückgängig gemacht: »README«
+$ svn status README
+$
</screen>
+ </informalexample>
<!--
- <para>Subversion reverts the file to its premodified state by
- overwriting it with the cached <quote>pristine</quote> copy
- from the <filename>.svn</filename> area. But also note that
+ <para>In this example, Subversion has reverted the file to its
+ premodified state by overwriting it with the pristine version
+ of the file cached in the text-base area. But note that
<command>svn revert</command> can undo
- <emphasis>any</emphasis> scheduled operations—for
+ <emphasis>any</emphasis> scheduled operation—for
example, you might decide that you don't want to add a new
file after all:</para>
-->
- <para>Subversion stellt die Datei wieder so her, wie sie vor der
- Änderung war, indem sie mit der
- <quote>unveränderten</quote> Kopie aus dem Cache im
- <filename>.svn</filename>-Bereich überschrieben wird. Beachten
- Sie aber auch, dass <command>svn revert</command>
- <emphasis>jegliche</emphasis> vorgemerkten Operationen
- rückgängig machen kann – z.B. könnten Sie sich
- entscheiden, eine neue Datei erst gar nicht hinzufügen zu
+ <para>In diesem Beispiel hat Subversion die Datei wieder so her,
+ wie sie vor der Änderung war, indem sie mit der unveränderten
+ Version der Datei aus dem Cache der Text-Base überschrieben
+ wurde. Beachten Sie aber auch, dass <command>svn
+ revert</command> <emphasis>jegliche</emphasis> vorgemerkten
+ Operationen rückgängig machen kann – z.B. könnten Sie
+ sich entscheiden, eine neue Datei erst gar nicht hinzufügen zu
wollen:</para>
-<!--
- <screen>
-$ svn status foo
-? foo
-$ svn add foo
-A foo
-
-$ svn revert foo
-Reverted 'foo'
-
-$ svn status foo
-? foo
+<!--
+ <informalexample>
+ <screen>
+$ svn status new-file.txt
+? new-file.txt
+$ svn add new-file.txt
+A new-file.txt
+$ svn revert new-file.txt
+Reverted 'new-file.txt'
+$ svn status new-file.txt
+? new-file.txt
+$
</screen>
+ </informalexample>
-->
- <screen>
-$ svn status foo
-? foo
-
-$ svn add foo
-A foo
-
-$ svn revert foo
-Rückgängig gemacht: »foo«
-
-$ svn status foo
-? foo
+ <informalexample>
+ <screen>
+$ svn status new-file.txt
+? new-file.txt
+$ svn add new-file.txt
+A new-file.txt
+$ svn revert new-file.txt
+Rückgängig gemacht: »new-file.txt«
+$ svn status new-file.txt
+? new-file.txt
+$
</screen>
-
- <note>
-<!--
- <para><userinput>svn revert
<replaceable>item</replaceable></userinput> has exactly the same
- effect as deleting <replaceable>item</replaceable> from
- your working copy and then running <userinput>svn update -r
- BASE <replaceable>item</replaceable></userinput>. However,
- if you're reverting a file, <command>svn revert</command>
- has one very noticeable difference—it doesn't have
- to communicate with the repository to restore your
- file.</para>
--->
- <para><userinput>svn revert
<replaceable>item</replaceable></userinput>
- hat genau denselben Effekt, wie
- <replaceable>item</replaceable> aus der Arbeitskopie zu
- löschen und dann <command>svn update -r BASE</command>
- <replaceable>item</replaceable> aufzurufen. Allerdings hat
- <command>svn revert</command> beim Rückgängigmachen einer
- Datei einen merklichen Unterschied – es muss beim
- Wiederherstellen der Datei nicht Verbindung mit dem
- Projektarchiv aufnehmen.</para>
- </note>
+ </informalexample>
<!--
<para>Or perhaps you mistakenly removed a file from version
@@ -2483,7 +2500,8 @@
Versionsverwaltung gelöscht:</para>
<!--
- <screen>
+ <informalexample>
+ <screen>
$ svn status README
$ svn delete README
@@ -2493,10 +2511,12 @@
Reverted 'README'
$ svn status README
-
+$
</screen>
+ </informalexample>
-->
- <screen>
+ <informalexample>
+ <screen>
$ svn status README
$ svn delete README
@@ -2506,8 +2526,24 @@
Rückgängig gemacht: »README«
$ svn status README
+$
+</screen>
+ </informalexample>
-</screen>
+<!--
+ <para>The <command>svn revert</command> command offers salvation
+ for imperfect people. It can save you huge amounts of time
+ and energy that would otherwise be spent manually unmaking
+ changes or, worse, disposing of your working copy and checking
+ out a fresh one just to have a clean slate to work with
+ again.</para>
+-->
+ <para>Der Befehl <command>svn revert</command> bietet die
+ Rettung für unvollkommene Menschen. Er kann Ihnen jede Menge
+ Zeit und Energie einzusparen helfen, die ansonsten beim
+ manuellen Rückgängigmachen entstanden wäre, oder noch
+ schlimmer, wenn Sie Ihre Arbeitskopie durch eine frische
+ hätten ersetzen müssen, um noch einmal neu anzufangen.</para>
</sect2>
More information about the svnbook-dev
mailing list