[svnbook commit] r3106 - trunk/src/en/book
cmpilato
noreply at red-bean.com
Fri Jun 6 06:37:09 CDT 2008
Author: cmpilato
Date: Fri Jun 6 06:37:06 2008
New Revision: 3106
Log:
* src/en/book/ch05-repository-admin.xml
(Repository Replication): In the svnsync bookkeeping sidebar,
s/pdel/propdel, and add an example of changing svn:sync-from-url.
Modified:
trunk/src/en/book/ch05-repository-admin.xml
Modified: trunk/src/en/book/ch05-repository-admin.xml
==============================================================================
--- trunk/src/en/book/ch05-repository-admin.xml (original)
+++ trunk/src/en/book/ch05-repository-admin.xml Fri Jun 6 06:37:06 2008
@@ -2736,7 +2736,7 @@
repository:</para>
<screen>
-$ svn pdel --revprop -r0 svn:sync-lock http://svn.example.com/svn-mirror
+$ svn propdel --revprop -r0 svn:sync-lock http://svn.example.com/svn-mirror
property 'svn:sync-lock' deleted from repository revision 0
$
</screen>
@@ -2761,7 +2761,17 @@
best to use fully qualified source repository URLs when
initializing a mirror repository rather than those that
refer to only hostnames or IP addresses (which can change
- over time).</para>
+ over time). But here again, if you need an existing mirror
+ to start referring to a different URL for the same source
+ repository, you can change the bookkeeping property which
+ houses that information:</para>
+
+ <screen>
+$ svn propset --revprop -r0 svn:sync-from-url <replaceable>NEW-SOURCE-URL</replaceable> \
+ http://svn.example.com/svn-mirror
+property 'svn:sync-from-url' set on repository revision 0
+$
+</screen>
<para>Another interesting thing about these special
bookkeeping properties is that <command>svnsync</command>
More information about the svnbook-dev
mailing list