[svnbook commit] r3549 - * src/en/book/ch06-server-configuration.xml
codesite-noreply at google.com
codesite-noreply at google.com
Thu Jun 18 14:28:57 CDT 2009
Author: cmpilato at gmail.com
Date: Thu Jun 18 12:27:47 2009
New Revision: 3549
Modified:
trunk/src/en/book/ch06-server-configuration.xml
Log:
* src/en/book/ch06-server-configuration.xml
Add '&' to the end of lines meant to be backgrounded in an example
hook script.
Patch by: Dave Lawrence <dlawrence{_AT_}ad-holdings.co.uk>
(Tweaked by me.)
Modified: trunk/src/en/book/ch06-server-configuration.xml
==============================================================================
--- trunk/src/en/book/ch06-server-configuration.xml (original)
+++ trunk/src/en/book/ch06-server-configuration.xml Thu Jun 18 12:27:47 2009
@@ -2750,9 +2750,9 @@
#!/bin/sh
# Post-commit script to replicate newly committed revision to slaves
-svnsync sync http://slave1.example.com/svn-proxy-sync > /dev/null
2>&1
-svnsync sync http://slave2.example.com/svn-proxy-sync > /dev/null
2>&1
-svnsync sync http://slave3.example.com/svn-proxy-sync > /dev/null
2>&1
+svnsync sync http://slave1.example.com/svn-proxy-sync > /dev/null
2>&1 &
+svnsync sync http://slave2.example.com/svn-proxy-sync > /dev/null
2>&1 &
+svnsync sync http://slave3.example.com/svn-proxy-sync > /dev/null
2>&1 &
</programlisting>
<para>The extra bits on the end of each line aren't
@@ -2770,9 +2770,9 @@
# Post-revprop-change script to replicate revprop-changes to slaves
REV=${2}
-svnsync copy-revprops http://slave1.example.com/svn-proxy-sync ${REV} >
/dev/null 2>&1
-svnsync copy-revprops http://slave2.example.com/svn-proxy-sync ${REV} >
/dev/null 2>&1
-svnsync copy-revprops http://slave3.example.com/svn-proxy-sync ${REV} >
/dev/null 2>&1
+svnsync copy-revprops http://slave1.example.com/svn-proxy-sync ${REV} >
/dev/null 2>&1 &
+svnsync copy-revprops http://slave2.example.com/svn-proxy-sync ${REV} >
/dev/null 2>&1 &
+svnsync copy-revprops http://slave3.example.com/svn-proxy-sync ${REV} >
/dev/null 2>&1 &
</programlisting>
<para>The only thing we've left out here is what to do about
More information about the svnbook-dev
mailing list