[svnbook] r4737 committed - Translation: Creating a Branch
svnbook at googlecode.com
svnbook at googlecode.com
Sat Mar 22 12:48:16 CDT 2014
Revision: 4737
Author: jmfelderhoff at gmx.eu
Date: Sat Mar 22 17:48:01 2014 UTC
Log: Translation: Creating a Branch
http://code.google.com/p/svnbook/source/detail?r=4737
Modified:
/branches/1.7/de/book/ch04-branching-and-merging.xml
=======================================
--- /branches/1.7/de/book/ch04-branching-and-merging.xml Sat Mar 22
10:31:27 2014 UTC
+++ /branches/1.7/de/book/ch04-branching-and-merging.xml Sat Mar 22
17:48:01 2014 UTC
@@ -313,68 +313,84 @@
<!--
<para>Creating a branch is very simple—you make a copy of
- the project in the repository using the <command>svn
- copy</command> command. Subversion is able to copy not only
- single files, but whole directories as well. In this case,
- you want to make a copy of the
- <filename>/calc/trunk</filename> directory. Where should the
- new copy live? Wherever you wish—it's a matter of
- project policy. Let's say that your team has a policy of
- creating branches in the <filename>/calc/branches</filename>
- area of the repository, and you want to name your branch
- <literal>my-calc-branch</literal>. You'll want to create a
- new directory,
- <filename>/calc/branches/my-calc-branch</filename>, which
- begins its life as a copy of
- <filename>/calc/trunk</filename>.</para>
+ your project tree in the repository using the <command>svn
+ copy</command> command. Since your project's source code is
+ rooted in the <filename>/calc/trunk</filename> directory, it's
+ that directory that you'll copy. Where should the new
+ copy live? Wherever you wish. The repository location in
+ which branches are stashed is left by Subversion as a matter
+ of project policy. Finally, your branch will need a name to
+ distinguish it from other branches. Once again, the name you
+ choose is unimportant to Subversion—you can use whatever
+ name works best for you and your team.</para>
-->
<para>Es ist sehr einfach, einen Zweig zu erzeugen – Sie
erstellen mit dem Befehl <command>svn copy</command> eine
- Kopie des Projektes im Projektarchiv. Subversion kann nicht nur
- Dateien, sondern auch komplette Verzeichnisse kopieren. In
- diesem Fall möchten Sie eine Kopie des Verzeichnisses
- <filename>/calc/trunk</filename> machen. Wo soll die neue
- Kopie angelegt werden? Wo Sie wünschen – es ist eine
- Frage der Projektkonventionen. Sagen wir mal, dass Ihr Team
- die Konvention vereinbart hat, Zweige im Bereich
- <filename>/calc/branches</filename> des Projektarchivs anzulegen,
- und Sie Ihren Zweig <literal>my-calc-branch</literal> nennen
- möchten. Sie werden ein neues Verzeichnis
- <filename>/calc/branches/my-calc-branch</filename> anlegen,
- das als Kopie von <filename>/calc/trunk</filename>
- beginnt.</para>
+ Kopie des Projekt-Baumes im Projektarchiv. Da der Quelltext
+ Ihres Projektes seine Wurzel im Verzeichnis
+ <filename>/calc/trunk</filename> hat, werden Sie diese
+ Verzeichnis kopieren. Wo soll die neue Kopie angelegt werden?
+ Wohin Sie wünschen. Der Ort im Projektarchiv, in dem Zweige
+ gespeichert werden sollen, wird von Subversion den
+ Projektrichtlinien überlassen. Schließlich benötigt Ihr Zweig
+ noch einen Namen, um ihn von anderen Zweigen zu unterscheiden.
+ Auch diesmal ist der Name, den Sie wählen, für Subversion
+ unwichtig – Sie können einen Namen verwenden, der am
+ besten für Sie und Ihr Team geeignet ist.</para>
+
+<!--
+ <para>Let's assume that your team (like most) has a policy of
+ creating branches in the <filename>branches</filename>
+ directory that is a sibling of the project's trunk
+ (the <filename>/calc/branches</filename> directory in our
+ scenario). Lacking inspiration, you settle
+ on <literal>my-calc-branch</literal> as the name you wish to
+ give your branch. This means that you'll create a new
+ directory, <filename>/calc/branches/my-calc-branch</filename>,
+ which begins its life as a copy
+ of <filename>/calc/trunk</filename>.</para>
+-->
+ <para>Nehmen wir an, dass Ihr Team (wie die meisten) die
+ Konvention vereinbart hat, Zweige im Verzeichnis
+ <filename>branches</filename>, das ein Geschwister-Verzeichnis
+ des Stamms ist (in unserem Szenario das Verzeichnis
+ <filename>/calc/branches</filename>). Aus Mangel an Phantasie
+ wählen Sie als Namen für Ihren Zweig
+ <literal>my-calc-branch</literal>. Das heißt, sie legen ein
+ neues Verzeichnis
+ <filename>/calc/branches/my-calc-branch</filename> an, das als
+ Kopie von <filename>/calc/trunk</filename> beginnt.</para>
<!--
<para>You may already have seen <command>svn copy</command> used
to copy one file to another within a working copy. But it can
- also be used to do a <quote>remote</quote> copy entirely
- within the repository. Just copy one URL to another:</para>
+ also be used to do a <firstterm>remote
+ copy</firstterm>—a copy that immediately results in a
+ newly committed repository revision and for which no working
+ copy is required at all. Just copy one URL to another:</para>
-->
<para>Sie haben vielleicht schon gesehen, wie mit <command>svn
- copy</command> in einer Arbeitskopie eine Datei auf eine
- andere kopiert wird. Es kann allerdings auch verwendet werden,
- um eine <quote>entfernte</quote> Kopie innerhalb des
- Projektarchivs durchzuführen. Kopieren Sie einfach einen URL auf
+ copy</command> innerhalb einer Arbeitskopie eine Datei auf
+ eine andere kopiert wird. Es kann allerdings auch verwendet
+ werden, um eine <firstterm>entfernte Kopie</firstterm>
+ durchzuführen: eine Kopie die unmittelbar eine neue Revision
+ des Projektarchivs zur Folge hat, und für die überhaupt keine
+ Arbeitskopie notwendig ist. Kopieren Sie einfach einen URL auf
einen anderen:</para>
-<!--
<informalexample>
<screen>
$ svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/branches/my-calc-branch \
+<!--
-m "Creating a private branch of /calc/trunk."
Committed revision 341.
-</screen>
- </informalexample>
-->
- <informalexample>
- <screen>
-$ svn copy http://svn.example.com/repos/calc/trunk \
- http://svn.example.com/repos/calc/branches/my-calc-branch \
-m "Privaten Zweig von /calc/trunk angelegt."
Revision 341 übertragen.
+$
</screen>
</informalexample>
More information about the svnbook-dev
mailing list