[svnbook] r4855 committed - Translation: svnsync initialize
svnbook at googlecode.com
svnbook at googlecode.com
Mon Jul 21 04:21:19 CDT 2014
Revision: 4855
Author: jmfelderhoff at gmx.eu
Date: Mon Jul 21 09:21:03 2014 UTC
Log: Translation: svnsync initialize
http://code.google.com/p/svnbook/source/detail?r=4855
Modified:
/branches/1.7/de/book/ch09-reference.xml
=======================================
--- /branches/1.7/de/book/ch09-reference.xml Mon Jul 21 08:55:00 2014 UTC
+++ /branches/1.7/de/book/ch09-reference.xml Mon Jul 21 09:21:03 2014 UTC
@@ -15642,7 +15642,8 @@
<title>Synopsis</title>
-->
<title>Aufruf</title>
- <para><literal>svnsync initialize MIRROR_URL
SOURCE_URL</literal></para>
+ <para><literal>svnsync initialize MIRROR_URL
+ SOURCE_URL</literal></para>
</refsect1>
<refsect1>
<!--
@@ -15652,22 +15653,18 @@
<!--
<para><command>svnsync initialize</command> verifies that a
- repository meets the requirements of a new mirror
- repository—that it has no previous existing version
- history and that it allows revision property
- modifications—and records the initial administrative
+ repository meets the basic requirements of a new mirror
+ repository and records the initial administrative
information that associates the mirror repository with the
source repository (specified
by <replaceable>SOURCE_URL</replaceable>). This is the
first <command>svnsync</command> operation you run on a
would-be mirror repository.</para>
-->
- <para><command>svnsync initialize</command> überprüft,
- ob ein Projektarchiv die Voraussetzungen eines neuen
- Spiegel-Projektarchivs erfüllt – dass es keine bereits
- bestehende Versionsgeschichte hat und dass es Änderungen
- an Revisions-Eigenschaften zulässt – und legt die
- anfängliche Verwaltungsinformation an, welche das
+ <para><command>svnsync initialize</command> überprüft, ob
+ ein Projektarchiv die Mindestvoraussetzungen eines neuen
+ Spiegel-Projektarchivs erfüllt und legt die anfängliche
+ Verwaltungsinformation an, welche das
Spiegel-Projektarchiv mit dem Quell-Projektarchiv (durch
<replaceable>SOURCE_URL</replaceable> angegeben)
verknüpft. Dies ist der erste
@@ -15692,8 +15689,57 @@
<replaceable>SOURCE_URL</replaceable> den URL des
Unterverzeichnisses des Quell-Projektarchivs an, das Sie
spiegeln möchten.</para>
- </refsect1>
+<!--
+ <para>By default, the aforementioned basic requirements of a
+ mirror are that it allows revision property modifications
+ and that it contains no version history. However, as of
+ Subversion 1.7, you may now optionally disable the
+ verification that the target repository is empty using
+ the <option>- -allow-non-empty</option> option. While the
+ use of this option should not become habitual (as it
+ bypasses a valuable safeguard mechanism), it does aid in
+ one very common use-case: initializing a copy of a
+ repository as a mirror of the original. This is
+ especially handy when setting up new mirrors of
+ repositories which contain a large amount of version
+ history. Rather than initialize a brand new repository as
+ a mirror and then syncronize all of the history into it,
+ administrators will find it <emphasis>significantly</emphasis>
+ faster to first make a copy of the mature repository
+ (perhaps using <command>svnadmin hotcopy</command>) and
+ then use <command>svnsync initialize
+ - -allow-non-empty</command> to initialize that copy as a
+ mirror which is now already up-to-date with the
+ original.</para>
+-->
+ <para>Standardmäßig bestehen die oben erwähnten
+ Mindestvoraussetyungen eines Spiegels darin, dass die
+ Bearbeitung von Revisionseigenschaften erlaubt sind und
+ dass es keinerlei Versionshistorie beinhaltet. Seit
+ Subversion 1.7 können Sie jedoch mit der Option
+ <option>--allow-non-empty</option> die Überprüfung
+ unterbinden, dass ein Projektarchiv leer ist.
+ Obwohl die Verwendung dieser Option nicht zur Gewohnheit
+ werden sollte (da sie einen wertvollen
+ Sicherheitsmechanismus umgeht), hilft sie bei einem sehr
+ häufigen Anwendungsfall: die Initialisierung einer Kopie
+ eines Projektarchivs als Spiegel des Originals. Dies ist
+ besonders praktisch, wenn neue Spiegel von Projektarchiven
+ aufgesetzt werden, die bereits eine umfangreiche
+ Versionshistorie beinhalten. Statt ein brandneues
+ Projektarchiv als Spiegel zu initialisieren und
+ anschließend die gesamte Historie hineinzusynchronisieren,
+ werden es Administratoren als
+ <emphasis>deutlich</emphasis> schneller empfinden,
+ zunächst eine Kopie des vollentwickelten Projektarchivs zu
+ machen (vielleicht mit <command>svnadmin
+ hotcopy</command>), um anschließend mit <command>svnsync
+ initialize --allow-non-empty</command> diese Kopie als
+ Spiegel zu initialisieren, der dann bereits aktuell in
+ Bezug auf das Original ist.</para>
+
+ </refsect1>
<refsect1>
<!--
@@ -15703,15 +15749,20 @@
<informalexample>
<screen>
---config-dir DIR
---no-auth-cache
---non-interactive
---quiet (-q)
---source-password ARG
---source-username ARG
---sync-password ARG
---sync-username ARG
---trust-server-cert
+<xref linkend="svn.ref.svnsync.sw.allow_non_empty" />
+<xref linkend="svn.ref.svnsync.sw.config_dir" />
+<xref linkend="svn.ref.svnsync.sw.config_option" />
+<xref linkend="svn.ref.svnsync.sw.disable_locking" />
+<xref linkend="svn.ref.svnsync.sw.no_auth_cache" />
+<xref linkend="svn.ref.svnsync.sw.non_interactive" />
+<xref linkend="svn.ref.svnsync.sw.quiet" />
+<xref linkend="svn.ref.svnsync.sw.source_password" />
+<xref linkend="svn.ref.svnsync.sw.source_prop_encoding" />
+<xref linkend="svn.ref.svnsync.sw.source_username" />
+<xref linkend="svn.ref.svnsync.sw.steal_lock" />
+<xref linkend="svn.ref.svnsync.sw.sync_password" />
+<xref linkend="svn.ref.svnsync.sw.sync_username" />
+<xref linkend="svn.ref.svnsync.sw.trust_server_cert" />
</screen>
</informalexample>
</refsect1>
@@ -15732,8 +15783,8 @@
<informalexample>
<screen>
-$ svnsync initialize file:///var/svn/repos-mirror
http://svn.example.com/repos
-<!--
+$ svnsync initialize file:///var/svn/repos-mirror \
+ http://svn.example.com/repos<!--
svnsync: Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook
-->
@@ -15756,8 +15807,8 @@
<informalexample>
<screen>
-$ svnsync initialize file:///var/svn/repos-mirror
http://svn.example.com/repos
-<!--
+$ svnsync initialize file:///var/svn/repos-mirror \
+ http://svn.example.com/repos<!--
Copied properties for revision 0.
-->
Eigenschaften für Revision 0 kopiert.
More information about the svnbook-dev
mailing list