[svnbook] r5935 committed - branches/1.8/zh/book/ref-svnlook.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Sun Jun 16 06:37:01 CDT 2019
Revision: 5935
http://sourceforge.net/p/svnbook/source/5935
Author: wuzhouhui
Date: 2019-06-16 11:36:58 +0000 (Sun, 16 Jun 2019)
Log Message:
-----------
1.8/zh: translation of svnlook reference in progress
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-16 02:01:10 UTC (rev 5934)
+++ branches/1.8/zh/book/ref-svnlook.xml 2019-06-16 11:36:58 UTC (rev 5935)
@@ -369,7 +369,10 @@
<refnamediv>
<refname>svnlook author</refname>
+ <!--
<refpurpose>Print the author.</refpurpose>
+ -->
+ <refpurpose>打印作者.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -378,15 +381,24 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print the author of a revision or transaction in
the repository.</para>
+ -->
+ <para>打印版本号或事务的作者.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
<informalexample>
<screen>
@@ -398,10 +410,17 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
+ <!--
<para><command>svnlook author</command> is handy, but not
very exciting:</para>
+ -->
+ <para><command>svnlook author</command> 用起来很方便, 但打印的信息也很
+ 简单:</para>
<informalexample>
<screen>
@@ -426,7 +445,10 @@
<refnamediv>
<refname>svnlook cat</refname>
+ <!--
<refpurpose>Print the contents of a file.</refpurpose>
+ -->
+ <refpurpose>打印文件的内容.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -435,15 +457,24 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print the contents of a file.</para>
+ -->
+ <para>打印文件的内容.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
<informalexample>
<screen>
@@ -455,11 +486,18 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
+ <!--
<para>This shows the contents of a file in transaction
<literal>ax8</literal>, located
at <filename>/trunk/README</filename>:</para>
+ -->
+ <para>下面的命令把文件 <filename>/trunk/README</filename> 在事务
+ <literal>ax8</literal> 时的内容打印出来:</para>
<informalexample>
<screen>
@@ -495,7 +533,10 @@
<refnamediv>
<refname>svnlook changed</refname>
+ <!--
<refpurpose>Print the paths that were changed.</refpurpose>
+ -->
+ <refpurpose>打印发生变化的路径.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -504,12 +545,20 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print the paths that were changed in a particular
revision or transaction, as well as <quote>svn
update-style</quote> status letters in the first two
columns:</para>
+ -->
+ <para>把版本号或事务中发生变化的路径打印出来, 同时在每一行的前两列打印
+ 状态字符, 这些状态字符和 <command>svn update</command> 的意义相同.
+ </para>
<variablelist>
@@ -516,7 +565,10 @@
<varlistentry>
<term><literal>'A '</literal></term>
<listitem>
+ <!--
<para>Item added to repository</para>
+ -->
+ <para>项目是新增的</para>
</listitem>
</varlistentry>
@@ -523,7 +575,10 @@
<varlistentry>
<term><literal>'D '</literal></term>
<listitem>
+ <!--
<para>Item deleted from repository</para>
+ -->
+ <para>项目被删除了</para>
</listitem>
</varlistentry>
@@ -530,7 +585,10 @@
<varlistentry>
<term><literal>'U '</literal></term>
<listitem>
+ <!--
<para>File contents changed</para>
+ -->
+ <para>文件的内容被修改了</para>
</listitem>
</varlistentry>
@@ -537,7 +595,10 @@
<varlistentry>
<term><literal>'_U'</literal></term>
<listitem>
+ <!--
<para>Properties of item changed; note the leading underscore</para>
+ -->
+ <para>项目的属性被修改了, 注意左边有个下划线</para>
</listitem>
</varlistentry>
@@ -544,22 +605,33 @@
<varlistentry>
<term><literal>'UU'</literal></term>
<listitem>
+ <!--
<para>File contents and properties changed</para>
+ -->
+ <para>文件的内容和属性都被修改了</para>
</listitem>
</varlistentry>
</variablelist>
+ <!--
<para>Files and directories can be distinguished, as
directory paths are displayed with a
trailing <quote><literal>/</literal></quote>
character.</para>
+ -->
+ <para>区别目录路径与文件路径的方法是看路径末尾有没有字符
+ <quote><literal>/</literal></quote>, 末尾带
+ <quote><literal>/</literal></quote> 的路径是目录路径.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
<informalexample>
<screen>
@@ -572,12 +644,19 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
+ <!--
<para>This shows a list of all the changed files and
directories in revision 39 of a test repository. Note
that the first changed item is a directory, as evidenced
by the trailing <literal>/</literal>:</para>
+ -->
+ <para>下面的命令把版本号 39 中发生变化的所有文件和路径都打印出来. 输出中
+ 的第一行是一个目录路径, 因为该路径以 <literal>/</literal> 结尾:</para>
<informalexample>
<screen>
@@ -593,8 +672,11 @@
</screen>
</informalexample>
+ <!--
<para>Here's an example that shows a revision in which a
file was renamed:</para>
+ -->
+ <para>在下面的版本号中, 有一个文件被重命名了:</para>
<informalexample>
<screen>
@@ -604,10 +686,14 @@
</screen>
</informalexample>
+ <!--
<para>Unfortunately, nothing in the preceding output reveals
the connection between the deleted and added files. Use
- the <option>--copy-info</option> option to make this
+ the <option>- -copy-info</option> option to make this
relationship more apparent:</para>
+ -->
+ <para>不幸的是, 上面的输出并没有阐明被删除的文件和被添加的文件之间的
+ 关系, 加上选项 <option>--copy-info</option> 后就清楚多了:</para>
<informalexample>
<screen>
@@ -634,7 +720,10 @@
<refnamediv>
<refname>svnlook date</refname>
+ <!--
<refpurpose>Print the datestamp.</refpurpose>
+ -->
+ <refpurpose>打印提交日期.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -643,15 +732,24 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print the datestamp of a revision or transaction in
a repository.</para>
+ -->
+ <para>打印版本号或事务的提交日期.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
<informalexample>
<screen>
@@ -663,10 +761,16 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
+ <!--
<para>This shows the date of revision 40 of a test
repository:</para>
+ -->
+ <para>下面的命令显示了版本号 40 的提交日期:</para>
<informalexample>
<screen>
@@ -691,7 +795,10 @@
<refnamediv>
<refname>svnlook diff</refname>
+ <!--
<refpurpose>Print differences of changed files and properties.</refpurpose>
+ -->
+ <refpurpose>打印被修改的文件和属性的差异.</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -700,15 +807,24 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para>Print GNU-style differences of changed files and
properties in a repository.</para>
+ -->
+ <para>按照标准差异格式, 打印被修改的文件和属性的差异.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
<informalexample>
<screen>
@@ -727,11 +843,18 @@
<!-- =============================================================== -->
<refsect1>
+ <!--
<title>Examples</title>
+ -->
+ <title>示例</title>
+ <!--
<para>This shows a newly added (empty) file, a modified
binary file, and a renamed (that is, copied and deleted)
file with modifications:</para>
+ -->
+ <para>下面的例子展示了新增的 (空) 文件, 被修改的二进制文件和重命名
+ (重命名可以理解成复制和删除) 后又被修改的文件的差异比较输出:</para>
<informalexample>
<screen>
More information about the svnbook-dev
mailing list