[svnbook] r5938 committed - branches/1.8/zh/book/ref-svnlook.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Tue Jun 25 09:39:01 CDT 2019
Revision: 5938
http://sourceforge.net/p/svnbook/source/5938
Author: wuzhouhui
Date: 2019-06-25 14:38:50 +0000 (Tue, 25 Jun 2019)
Log Message:
-----------
1.8/zh: svnlook reference translated, but review still needed
Modified Paths:
--------------
branches/1.8/zh/book/ref-svnlook.xml
Modified: branches/1.8/zh/book/ref-svnlook.xml
===================================================================
--- branches/1.8/zh/book/ref-svnlook.xml 2019-06-23 11:20:31 UTC (rev 5937)
+++ branches/1.8/zh/book/ref-svnlook.xml 2019-06-25 14:38:50 UTC (rev 5938)
@@ -1595,9 +1595,15 @@
-->
<title>示例</title>
+ <!--
<para>This shows the value of the <quote>seasonings</quote> property
on the file <filename>/trunk/sandwich</filename> in the
<literal>HEAD</literal> revision:</para>
+ -->
+ <para>下面的命令展示了在仓库 <filename>/var/svn/repos</filename> 中,
+ 文件 <filename>/trunk/sandwich</filename> 在版本号
+ <literal>HEAD</literal> 时, 属性 <literal>seasonings</literal>
+ 的值:</para>
<informalexample>
<screen>
@@ -1606,9 +1612,13 @@
</screen>
</informalexample>
+ <!--
<para>This shows the inherited values of the <literal>
svn:auto-props</literal> property on the directory
<filename>/trunk</filename> in revision 14:</para>
+ -->
+ <para>下面的命令展示了 <filename>/trunk</filename> 在版本号 14 时,
+ 属性 <literal>svn:auto-props</literal> 的值:</para>
<informalexample>
<screen>
@@ -1638,8 +1648,11 @@
<refnamediv>
<refname>svnlook proplist (plist, pl)</refname>
+ <!--
<refpurpose>Print the names and values of versioned file and
directory properties.</refpurpose>
+ -->
+ <refpurpose>打印文件和目录上的属性名和属性值.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -1648,17 +1661,28 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>List the properties of a path in the repository. With
- <option>--verbose</option> (<option>-v</option>), show the
+ <option>- -verbose</option> (<option>-v</option>), show the
property values too.</para>
+ -->
+ <para>列出仓库中某一路径上的所有属性. 如果添加了选项
+ <option>--verbose</option> (<option>-v</option>), 则还会列出属性值.
+ </para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
<informalexample>
<screen>
@@ -1674,11 +1698,18 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
+ <!--
<para>This shows the names of properties set on the file
<filename>/trunk/README</filename> in the
<literal>HEAD</literal> revision:</para>
+ -->
+ <para>下面的命令列出了文件 <filename>/trunk/README</filename> 在版本号
+ <literal>HEAD</literal> 时的所有属性:</para>
<informalexample>
<screen>
@@ -1688,8 +1719,12 @@
</screen>
</informalexample>
+ <!--
<para>This is the same command as in the preceding example,
but this time showing the property values as well:</para>
+ -->
+ <para>还是同样的命令, 但是这次添加了选项 <option>--verbose</option>
+ (<option>-v</option>):</para>
<informalexample>
<screen>
@@ -1699,8 +1734,11 @@
</screen>
</informalexample>
+ <!--
<para>This shows the properties inherited by a directory:
</para>
+ -->
+ <para>下面的命令还列出了继承而来的属性:</para>
<informalexample>
<screen>
@@ -1736,7 +1774,10 @@
<refnamediv>
<refname>svnlook tree</refname>
+ <!--
<refpurpose>Print the tree.</refpurpose>
+ -->
+ <refpurpose>打印目录树.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -1745,16 +1786,27 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print the tree, starting at
<replaceable>PATH_IN_REPOS</replaceable> (if supplied; at
the root of the tree otherwise), optionally showing node
revision IDs.</para>
+ -->
+ <para>从 <replaceable>PATH_IN_REPOS</replaceable> 开始打印目录 (如果
+ 没有指定 <replaceable>PATH_IN_REPOS</replaceable>, 则命令仓库的根
+ 目录), 还可以选择是否打印节点的版本号 ID.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
<informalexample>
<screen>
@@ -1769,10 +1821,16 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Example</title>
+ -->
+ <title>示例</title>
+ <!--
<para>This shows the tree output for revision 13 in our
sample repository:</para>
+ -->
+ <para>下面的命令输出了在版本号 13 时, 仓库的目录树:</para>
<informalexample>
<screen>
@@ -1791,10 +1849,15 @@
</screen>
</informalexample>
- <para>Use the <option>--show-ids</option> option to include
+ <!--
+ <para>Use the <option>- -show-ids</option> option to include
node revision IDs (unique internal identifiers for
specific nodes in Subversion's versioned filesystem
implementation):</para>
+ -->
+ <para>如果添加了选项 <option>--show-ids</option>, 则还会输出节点的
+ 版本号 ID (版本号 ID 是 Subversion 版本化文件系统内部的标识符, 用
+ 于唯一地标识文件系统中的一个节点):</para>
<informalexample>
<screen>
@@ -1813,11 +1876,16 @@
</screen>
</informalexample>
+ <!--
<para>For output which lends itself more readily to being
- parsed by scripts, use the <option>--full-paths</option>
+ parsed by scripts, use the <option>- -full-paths</option>
option, which causes <command>svnlook</command> to print
the full repository path of each tree item and to not use
indentation to indicate hierarchy:</para>
+ -->
+ <para>为了能让第三方脚本更方便地解析命令的输出, 可以加上选项
+ <option>--full-paths</option>, 该选项将使得 <command>svnlook</command>
+ 为每一项打印完整的仓库路径, 而且不会使用缩进来表示层次关系:</para>
<informalexample>
<screen>
@@ -1852,8 +1920,11 @@
<refnamediv>
<refname>svnlook uuid</refname>
+ <!--
<refpurpose>Print the repository's
<literal>UUID</literal>.</refpurpose>
+ -->
+ <refpurpose>打印仓库的 UUID.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -1862,8 +1933,12 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print the <literal>UUID</literal> for the repository.
The <literal>UUID</literal> is the repository's
<emphasis>u</emphasis>niversal <emphasis>u</emphasis>nique
@@ -1870,17 +1945,27 @@
<emphasis>id</emphasis>entifier. The Subversion client
uses this identifier to differentiate between one
repository and another.</para>
+ -->
+ <para>打印仓库的 UUID, UUID 是仓库的通用唯一标识符 (Universal Unique
+ IDentifier), Subversion 使用 UUID 来区分不同的仓库.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
<para>None</para>
+ -->
+ <title>选项</title>
+ <para>无</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
<informalexample>
<screen>
@@ -1905,7 +1990,10 @@
<refnamediv>
<refname>svnlook youngest</refname>
+ <!--
<refpurpose>Print the youngest revision number.</refpurpose>
+ -->
+ <refpurpose>打印最年轻的版本号.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -1914,23 +2002,39 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print the youngest revision number of a repository.</para>
+ -->
+ <para>打印仓库中最年轻的版本号.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
<para>None</para>
+ -->
+ <title>选项</title>
+ <para>无</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
+ <!--
<para>This shows the youngest revision of our sample
repository:</para>
+ -->
+ <para>下面的命令输出仓库中最年轻的版本号:</para>
<informalexample>
<screen>
More information about the svnbook-dev
mailing list