[svnbook] r5796 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Tue Oct 9 09:09:29 CDT 2018


Revision: 5796
          http://sourceforge.net/p/svnbook/source/5796
Author:   wuzhouhui
Date:     2018-10-09 14:09:25 +0000 (Tue, 09 Oct 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-10-05 02:13:05 UTC (rev 5795)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-10-09 14:09:25 UTC (rev 5796)
@@ -6865,6 +6865,7 @@
               <replaceable>component</replaceable></literal></term>
             <listitem>
 
+      <!--
               <para>Specifies the URI component (namespace) for
                 special Subversion resources.  The default is
                 <literal>!svn</literal>, and most
@@ -6875,6 +6876,12 @@
                 break all of the outstanding working copies, and your
                 users will hunt you down with pitchforks and flaming
                 torches.</para>
+      -->
+              <para>为特殊的 Subversion 资源指定 URI 分量 (名字空间). 默认
+                值是 <literal>!svn</literal>, 绝大多数管理员从来不会用到这个
+                配置指令, 除非仓库中有存在名为 <filename>!svn</filename> 的
+                文件. 如果你在服务器投入使用后再修改此值, 那么所有已存在的
+                工作副本都将无法正确工作, 用户也会把怒火发泄到你身份.</para>
 
             </listitem>
           </varlistentry>
@@ -6883,6 +6890,7 @@
             <term><literal>SVNUseUTF8 On|Off</literal></term>
             <listitem>
 
+      <!--
               <para>When set to <literal>On</literal>,
                 <command>mod_dav_svn</command> will communicate with
                 hook scripts using repository root paths encoded in
@@ -6893,6 +6901,13 @@
                 that <command>mod_dav_svn</command> assumes a 7-bit
                 ASCII encoding for its hook script interactions.  This
                 option is available as of Subversion 1.8.</para>
+      -->
+              <para>如果设置为 <literal>On</literal>,
+                <command>mod_dav_svn</command> 将使用 UTF-8 编码的仓库根目录
+                路径与钩子脚本通信, 并且期望脚本的输出 (例如错误消息) 也是使
+                用 UTF-8 编码. 默认值是 <literal>Off</literal>, 这意味着
+                <command>mod_dav_svn</command> 将使用 ASCII 编码的仓库根目录
+                路径与钩子脚本交互. 该配置指令在 Subversion 1.8 引进.</para>
 
               <note>
                 <para>Administrators should ensure that the character




More information about the svnbook-dev mailing list