[svnbook] r5896 committed - branches/1.8/zh/book/ref-svn.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Sat Mar 2 22:33:52 CST 2019


Revision: 5896
          http://sourceforge.net/p/svnbook/source/5896
Author:   wuzhouhui
Date:     2019-03-03 04:33:46 +0000 (Sun, 03 Mar 2019)
Log Message:
-----------
1.8/zh: translation of svn reference in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ref-svn.xml

Modified: branches/1.8/zh/book/ref-svn.xml
===================================================================
--- branches/1.8/zh/book/ref-svn.xml	2019-03-02 13:17:04 UTC (rev 5895)
+++ branches/1.8/zh/book/ref-svn.xml	2019-03-03 04:33:46 UTC (rev 5896)
@@ -1340,23 +1340,38 @@
       <varlistentry id="svn.ref.svn.sw.search">
         <term><option>--search</option> <replaceable>ARG</replaceable></term>
         <listitem>
+      <!--
           <para>Filters log messages to show only those that match
             the search pattern <replaceable>ARG</replaceable>.  Log
             messages are displayed only if the provided search
             pattern matches any of the author, date, log message
-            text (unless <option>--quiet</option> is used), or, if
-            the <option>--verbose</option> option is also provided,
-            a changed path.  If multiple <option>--search</option>
+            text (unless <option>- -quiet</option> is used), or, if
+            the <option>- -verbose</option> option is also provided,
+            a changed path.  If multiple <option>- -search</option>
             options are provided, a log message is shown if it
             matches any of the provided search patterns.  If
-            <option>--limit</option> is used, it restricts the
+            <option>- -limit</option> is used, it restricts the
             number of log messages searched, rather than
             restricting the output to a particular number of
             matching log messages.</para>
+      -->
+          <para>从日志消息中过滤出和模式 <replaceable>ARG</replaceable> 匹配
+            的那些消息. 如果日志消息的作者, 日期, 消息的文本内容 (除非指定了
+            选项 <option>--quiet</option>) 或被修改的路径中的任意一条与模式
+            匹配, 该日志消息就被认为是匹配的. 如果选项
+            <option>--search</option> 出现了多次, 只要日志消息和其中的任意一
+            个 <option>--search</option> 匹配, 该日志消息就被认为是匹配的.
+            如果同时还指定了选项 <option>--limit</option>, 那么
+            <option>--limit</option> 限制的是被搜索的日志消息数量, 而不是匹配
+            的日志消息数量.</para>
 
+      <!--
           <para>The search pattern (also called glob or shell wildcard
             pattern) can contain regular characters and the following
             wildcard characters:</para>
+      -->
+          <para>搜索模式 (也被叫作文件名模式或 shell 通配符模式) 可以包含普通
+            字符和下面的通配符:</para>
 
           <variablelist>
             <varlistentry>
@@ -1364,7 +1379,10 @@
                 <literal>?</literal>
               </term>
               <listitem>
+      <!--
                 <para>Matches any single character.</para>
+      -->
+                <para>匹配任意一个字符.</para>
               </listitem>
             </varlistentry>
             <varlistentry>
@@ -1372,7 +1390,10 @@
                 <literal>*</literal>
               </term>
               <listitem>
+      <!--
                 <para>Matches a sequence of arbitrary characters.</para>
+      -->
+                <para>匹配任意一个字符串, 字符串的长度可以为零.</para>
               </listitem>
             </varlistentry>
             <varlistentry>
@@ -1380,8 +1401,11 @@
                 <literal>[ABC]</literal>
               </term>
               <listitem>
+      <!--
                 <para>Matches any of the characters listed inside the
                   brackets.</para>
+      -->
+                <para>匹配方括号内的任意一个字符.</para>
               </listitem>
             </varlistentry>
           </variablelist>
@@ -1391,11 +1415,16 @@
       <varlistentry id="svn.ref.svn.sw.search_and">
         <term><option>--search-and</option> <replaceable>ARG</replaceable></term>
         <listitem>
+      <!--
           <para>The option's argument is combined with the pattern from
-            the previous <option>--search</option>
-            or <option>--search-and</option> option on the command
+            the previous <option>- -search</option>
+            or <option>- -search-and</option> option on the command
             line.  Log message is shown only if it matches the
             combined search pattern.</para>
+      -->
+          <para>该选项的参数和前面的 <option>--search</option> 或
+            <option>--search-and</option> 的参数联合起来, 只有匹配
+            <emphasis>所有</emphasis> 模式的日志消息才被认为是匹配的.</para>
         </listitem>
       </varlistentry>
 
@@ -1402,6 +1431,7 @@
       <varlistentry id="svn.ref.svn.sw.set_depth">
         <term><option>--set-depth</option> <replaceable>ARG</replaceable></term>
         <listitem>
+      <!--
           <para>Sets the sticky depth on a directory in a working copy
             to one of <literal>exclude</literal>, <literal>empty</literal>,
             <literal>files</literal>, <literal>immediates</literal>,
@@ -1408,6 +1438,12 @@
             or <literal>infinity</literal>.  For detailed coverage
             of what these mean and how to use this option, see
             <xref linkend="svn.advanced.sparsedirs" />.</para>
+      -->
+          <para>把目录的粘着 (sticky) 设置成 <literal>exclude</literal>,
+            <literal>empty</literal>, <literal>files</literal>,
+            <literal>immediates</literal> 或 <literal>infinity</literal>,
+            关于这些参数的详细信息以及如何使用它们, 见
+            <xref linkend="svn.advanced.sparsedirs" />.</para>
         </listitem>
       </varlistentry>
 




More information about the svnbook-dev mailing list