[svnbook] r5784 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Thu Sep 20 00:04:07 CDT 2018
Revision: 5784
http://sourceforge.net/p/svnbook/source/5784
Author: wuzhouhui
Date: 2018-09-20 05:04:02 +0000 (Thu, 20 Sep 2018)
Log Message:
-----------
1.8/zh: translation of chapter 6 in progress
Modified Paths:
--------------
branches/1.8/zh/book/ch06-server-configuration.xml
Modified: branches/1.8/zh/book/ch06-server-configuration.xml
===================================================================
--- branches/1.8/zh/book/ch06-server-configuration.xml 2018-09-19 04:58:02 UTC (rev 5783)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-09-20 05:04:02 UTC (rev 5784)
@@ -6048,6 +6048,7 @@
</programlisting>
</informalexample>
+ <!--
<para>The extra bits on the end of each line aren't
necessary, but they're a sneaky way to allow the sync
commands to run in the background so that the Subversion
@@ -6057,6 +6058,12 @@
post-revprop-change hook as well so
that when a user, say, modifies a log message, the slave
servers get that change also:</para>
+ -->
+ <para>每一行末尾的 <literal>&</literal> 并非绝对必需, 添加它的
+ 目的是为了让命令在后台执行, 于是 Subversion 客户端就不必等待
+ post-commit 脚本里的命令全部执行完毕. 除了 post-commit 钩子脚本,
+ 管理员还要编写 post-revprop-change 钩子脚本, 以便用户修改了版本
+ 号属性 (例如日志消息) 后, 从服务器也能接收到这个修改:</para>
<informalexample>
<programlisting>
More information about the svnbook-dev
mailing list