[svnbook] r5583 committed - branches/1.8/zh/book/ch05-repository-admin.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Fri Jan 12 20:11:56 CST 2018


Revision: 5583
          http://sourceforge.net/p/svnbook/source/5583
Author:   wuzhouhui
Date:     2018-01-13 02:11:55 +0000 (Sat, 13 Jan 2018)
Log Message:
-----------
1.8/zh: translation of chapter 5 in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ch05-repository-admin.xml

Modified: branches/1.8/zh/book/ch05-repository-admin.xml
===================================================================
--- branches/1.8/zh/book/ch05-repository-admin.xml	2018-01-11 12:36:12 UTC (rev 5582)
+++ branches/1.8/zh/book/ch05-repository-admin.xml	2018-01-13 02:11:55 UTC (rev 5583)
@@ -1723,10 +1723,14 @@
 </screen>
         </informalexample>
 
+      <!--
         <para>One exception to these rules about subcommands is
           the <command>svnlook youngest</command> subcommand, which
           takes no options and simply prints out the repository's
           youngest revision number:</para>
+      -->
+        <para>有一个例外是子命令 <command>svnlook youngest</command> 不接受
+          任何选项, 只是打印出仓库最年轻的版本号:</para>
 
         <informalexample>
           <screen>
@@ -1737,18 +1741,28 @@
         </informalexample>
 
         <note>
+      <!--
           <para>Keep in mind that the only transactions you can browse
             are uncommitted ones.  Most repositories will have no such
             transactions because transactions are usually either
             committed (in which case, you should access them as
-            revision with the <option>--revision</option>
+            revision with the <option>- -revision</option>
             (<option>-r</option>) option) or aborted and
             removed.</para>
+      -->
+          <para>始终记住, 管理员只能浏览未提交的事务, 但这种事务在大多数仓库中
+            都不存在, 因为事务要么是已提交了的 (此时应该使用选项
+            <option>--revision</option> (<option>-r</option>)), 要么被中止并
+            删除.</para>
         </note>
             
+      <!--
         <para>Output from <command>svnlook</command> is designed to be
           both human- and machine-parsable.  Take, as an example, the
           output of the <command>svnlook info</command> subcommand:</para>
+      -->
+        <para><command>svnlook</command> 的输出既能被人类理解, 也能被程序解析.
+          例如, 假设 <command>svnlook info</command> 的输出是:</para>
 
         <informalexample>
           <screen>
@@ -1762,22 +1776,38 @@
 </screen>
         </informalexample>
 
+      <!--
         <para>The output of <command>svnlook info</command> consists
           of the following, in the order given:</para>
+      -->
+        <para>根据输出顺序, <command>svnlook info</command> 的输出由以下几
+          部分构成:</para>
 
         <orderedlist>
           <listitem>
+      <!--
             <para>The author, followed by a newline</para>
+      -->
+            <para>作者, 然后是换行符</para>
           </listitem>
           <listitem>
+      <!--
             <para>The date, followed by a newline</para>
+      -->
+            <para>日期, 然后是换行符</para>
           </listitem>
           <listitem>
+      <!--
             <para>The number of characters in the log message,
               followed by a newline</para>
+      -->
+            <para>日志消息的字符个数, 然后是换行符</para>
           </listitem>
           <listitem>
+      <!--
             <para>The log message itself, followed by a newline</para>
+      -->
+            <para>日志消息本身的内容, 然后是换行符</para>
           </listitem>
         </orderedlist>
 




More information about the svnbook-dev mailing list