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

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Tue Jun 19 09:52:12 CDT 2018


Revision: 5716
          http://sourceforge.net/p/svnbook/source/5716
Author:   wuzhouhui
Date:     2018-06-19 14:52:09 +0000 (Tue, 19 Jun 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-06-17 14:26:55 UTC (rev 5715)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-06-19 14:52:09 UTC (rev 5716)
@@ -2870,7 +2870,7 @@
                 访问权限配置文件, 使用本地 URL (以 <literal>file://</literal>
                 开始) 指定文件的位置. 另外, 还可以用相对的仓库 URL (以
                 <literal>^/</literal> 开始), 使得 <command>svnserve</command>
-                为根据相对 URL 访问仓库内的访问权限配置文件.</para>
+                根据相对 URL 访问仓库内的访问权限配置文件.</para>
 
             </listitem>
           </varlistentry>
@@ -2879,6 +2879,7 @@
             <term><literal>force-username-case</literal></term>
             <listitem>
 
+      <!--
               <para>Specifies the case normalization applied to
                 usernames before comparing them against the rules
                 found in the access file (specified by
@@ -2889,6 +2890,13 @@
                 normalization at all).  By
                 default, <command>svnserve</command> will not perform
                 any case normalization on usernames.</para>
+      -->
+              <para>在和访问权限文件 (由选项 <option>authz-db</option> 指定)
+                里的规则比较之前, 指定用户名的大小写形式, 有效值包括
+                <literal>upper</literal> (用户名的大小写形式),
+                <option>lower</option> (用户名的小写形式) 和
+                <option>none</option> (不改变用户名的大小写形式). 默认情况下,
+                <command>svnserve</command> 不改变用户名的大小写形式.</para>
 
             </listitem>
           </varlistentry>
@@ -2897,6 +2905,7 @@
             <term><literal>groups-db</literal></term>
             <listitem>
 
+      <!--
               <para>Specifies the path of the groups file.  If a
                 regular local path is used, then unless that path
                 begins with a forward-slash character
@@ -2904,7 +2913,13 @@
                 relative to the directory containing
                 the <filename>svnserve.conf</filename> configuration
                 file.</para>
+      -->
+              <para>指定组文件的路径. 如果是一个普通的本地路径, 除非路径以正
+                斜杠 (<literal>/</literal>) 开始, 否则的话路径就看成是相对于
+                包含了 <filename>svnserve.conf</filename> 的目录的相对路径.
+              </para>
 
+      <!--
               <para>You may also specify the location of a groups file
                 which is versioned inside a Subversion repository.
                 Use a local URL (one which begins
@@ -2915,6 +2930,12 @@
                 <command>svnserve</command> to consult for each
                 repository the group file stored at the specified
                 relative URL within that repository.</para>
+      -->
+              <para>还可以把 Subversion 仓库内的文件指定为组文件. 使用本地
+                URL (以 <literal>file://</literal> 开始) 指定文件的位置.
+                另外, 还可以用相对的仓库 URL (以
+                <literal>^/</literal> 开始), 使得 <command>svnserve</command>
+                根据相对 URL 访问仓库内的组文件.</para>
 
             </listitem>
           </varlistentry>




More information about the svnbook-dev mailing list