[svnbook] r5956 committed - branches/1.8/zh/book/ref-svnmucc.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Sun Jul 28 05:05:54 CDT 2019
Revision: 5956
http://sourceforge.net/p/svnbook/source/5956
Author: wuzhouhui
Date: 2019-07-28 10:05:47 +0000 (Sun, 28 Jul 2019)
Log Message:
-----------
1.8/zh: translation of svnmucc reference in progress
Modified Paths:
--------------
branches/1.8/zh/book/ref-svnmucc.xml
Modified: branches/1.8/zh/book/ref-svnmucc.xml
===================================================================
--- branches/1.8/zh/book/ref-svnmucc.xml 2019-07-24 09:05:54 UTC (rev 5955)
+++ branches/1.8/zh/book/ref-svnmucc.xml 2019-07-28 10:05:47 UTC (rev 5956)
@@ -1,10 +1,14 @@
<!-- -*- sgml -*- -->
<reference id="svn.ref.svnmucc">
+ <!--
<title>svnmucc Reference—Subversion Multiple URL Command Client</title>
+ -->
+ <title>svnmucc 参考手册—Subversion 多 URL 命令行客户端</title>
<partintro>
+ <!--
<para>The Subversion Multiple URL Command Client
(<command>svnmucc</command>) is a tool that can make arbitrary
changes to the repository without the use of a working copy. As
@@ -16,10 +20,22 @@
to perform working-copy-less file content and versioned property
modifications, which is functionality not currently offered
by <command>svn</command>.</para>
+ -->
+ <para>Subversion 多 URL 命令行客户端 (<command>svnmucc</command>)
+ 允许用户在没有工作副本的情况下, 向仓库提交任意地修改. 对于远程提交
+ 这个特性而言, <command>svnmucc</command> 提供的功能类似于
+ <command>svn</command>, 但要远远强于后者, 例如
+ <command>svnmucc</command> 可以在一次提交中执行多种不同类型的操作.
+ <command>svnmucc</command> 甚至可以在没有工作副本的前提下修改文件
+ 内容和版本化属性, 而这是 <command>svn</command> 所不具备的.</para>
+ <!--
<para>This reference describes the <command>svnmucc</command> tool,
and the various remote modification actions you can perform
using it.</para>
+ -->
+ <para>本章介绍命令行工具 <command>svnmucc</command>, 以及用户可以用它
+ 完成哪些远程操作.</para>
</partintro>
@@ -35,19 +51,27 @@
<refnamediv>
<refname>svnmucc</refname>
+ <!--
<refpurpose>Perform one or more Subversion repository
URL-based ACTIONs, committing the result as a (single) new
revision.</refpurpose>
+ -->
+ <refpurpose>基于 URL, 对 Subversion 仓库执行一个或多个操作, 在一个版本
+ 号中提交所有的修改.</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <para><literal>svnmucc ACTION...</literal></para>
+ <para><literal>svnmucc <replaceable>ACTION...</replaceable></literal></para>
</refsynopsisdiv>
<!-- =============================================================== -->
<refsect1 id="svn.ref.svnmucc.re.desc">
+ <!--
<title>Description</title>
+ -->
+ <title>描述</title>
+ <!--
<para><command>svnmucc</command> is a program for modifying
Subversion-versioned data without the use of a working copy.
It allows operations to be performed directly against the
@@ -57,16 +81,29 @@
atomically committing the results of those combined
<replaceable>ACTION</replaceable>s as a single new
revision.</para>
+ -->
+ <para>利用 <command>svnmucc</command>, 用户可以在没有工作副本的情况下向
+ 仓库提交修改. 它允许用户基于 URL, 直接操作仓库. 每一次调用
+ <command>svnmucc</command> 都可以执行一个或多个
+ <replaceable>ACTION</replaceable>, 并且操作产生的所有修改都是在同一个
+ 版本号中完成提交.</para>
</refsect1>
<!-- =============================================================== -->
<refsect1 id="svn.ref.svnmucc.re.actions">
+ <!--
<title>Actions</title>
+ -->
+ <title>操作</title>
+ <!--
<para><command>svnmucc</command> supports the following
actions (and related arguments), which may be combined into
ordered sequences on the command line:</para>
+ -->
+ <para><command>svnmucc</command> 支持的操作 (及其参数) 有以下这些, 它们
+ 可以以各种组合出现在命令行上:</para>
<variablelist>
@@ -75,10 +112,15 @@
<replaceable>SRC-URL</replaceable>
<replaceable>DST-URL</replaceable></term>
<listitem>
+ <!--
<para>Copy the file or directory located
at <replaceable>SRC-URL</replaceable> in
revision <replaceable>REV</replaceable>
to <replaceable>DST-URL</replaceable>.</para>
+ -->
+ <para>把版本号为 <replaceable>REV</replaceable> 且位于
+ <replaceable>SRC-URL</replaceable> 的文件或目录复制到
+ <replaceable>DST-URL</replaceable>.</para>
</listitem>
</varlistentry>
@@ -85,6 +127,7 @@
<varlistentry>
<term>mkdir <replaceable>URL</replaceable></term>
<listitem>
+ <!--
<para>Create a new directory at <replaceable>URL</replaceable>.
The parent directory of <replaceable>URL</replaceable>
must already exist (or have been created by a
@@ -92,6 +135,11 @@
command does not offer the ability to automatically
create any missing intermediate parent
directories.</para>
+ -->
+ <para>在 <replaceable>URL</replaceable> 创建一个新目录.
+ <replaceable>URL</replaceable> 的父目录必须已经存在 (或者说
+ 父目录将会被前面的 <command>svnmucc</command> 操作创建),
+ 命令无法自动创建中间目录.</para>
</listitem>
</varlistentry>
@@ -99,9 +147,13 @@
<term>mv <replaceable>SRC-URL</replaceable>
<replaceable>DST-URL</replaceable></term>
<listitem>
+ <!--
<para>Move the file or directory located
at <replaceable>SRC-URL</replaceable> to
<replaceable>DST-URL</replaceable>.</para>
+ -->
+ <para>把位于 <replaceable>SRC-URL</replaceable> 的文件或目录移动到
+ <replaceable>DST-URL</replaceable>.</para>
</listitem>
</varlistentry>
@@ -108,8 +160,11 @@
<varlistentry>
<term>rm <replaceable>URL</replaceable></term>
<listitem>
+ <!--
<para>Delete the file or directory located
at <replaceable>URL</replaceable>.</para>
+ -->
+ <para>删除位于 <replaceable>URL</replaceable> 的文件或目录.</para>
</listitem>
</varlistentry>
@@ -117,6 +172,7 @@
<term>put <replaceable>SRC-FILE</replaceable>
<replaceable>URL</replaceable></term>
<listitem>
+ <!--
<para>Add a new file—or modify an existing
one—located at <replaceable>URL</replaceable>,
copying the contents of the local file
@@ -126,6 +182,13 @@
be <literal>-</literal> to instruct
<command>svnmucc</command> to read from standard input
rather than a local filesystem file.</para>
+ -->
+ <para>在 <replaceable>URL</replaceable> 添加一个新文件, 或者修改
+ 位于 <replaceable>URL</replaceable> 的已经存在的文件, 命令把
+ 本地文件 <replaceable>SRC-FILE</replaceable> 的内容复制到新
+ 文件或已有的文件上. 如果 <replaceable>SRC-FILE</replaceable>
+ 是 <literal>-</literal>, <command>svnmucc</command> 将从标准
+ 输入中读取文件内容.</para>
</listitem>
</varlistentry>
@@ -134,10 +197,15 @@
<replaceable>VALUE</replaceable>
<replaceable>URL</replaceable></term>
<listitem>
+ <!--
<para>Set the value of the
property <replaceable>NAME</replaceable> on the
target <replaceable>URL</replaceable>
to <replaceable>VALUE</replaceable>.</para>
+ -->
+ <para>把 <replaceable>URL</replaceable> 的属性
+ <replaceable>NAME</replaceable> 的值设置成
+ <replaceable>VALUE</replaceable>.</para>
</listitem>
</varlistentry>
@@ -146,11 +214,16 @@
<replaceable>FILE</replaceable>
<replaceable>URL</replaceable></term>
<listitem>
+ <!--
<para>Set the value of the
property <replaceable>NAME</replaceable> on the
target <replaceable>URL</replaceable>
to the contents of the file
<replaceable>FILE</replaceable>.</para>
+ -->
+ <para>把 <replaceable>URL</replaceable> 的属性
+ <replaceable>NAME</replaceable> 的值设置成文件
+ <replaceable>FILE</replaceable> 的内容.</para>
</listitem>
</varlistentry>
@@ -158,8 +231,12 @@
<term>propdel <replaceable>NAME</replaceable>
<replaceable>URL</replaceable></term>
<listitem>
+ <!--
<para>Delete the property <replaceable>NAME</replaceable>
from the target <replaceable>URL</replaceable>.</para>
+ -->
+ <para>删除 <replaceable>URL</replaceable> 上的属性
+ <replaceable>NAME</replaceable>.</para>
</listitem>
</varlistentry>
@@ -168,12 +245,18 @@
<!-- =============================================================== -->
<refsect1 id="svn.ref.svnmucc.re.sw">
+ <!--
<title>Options</title>
+ -->
+ <title>选项</title>
+ <!--
<para>Options specified on the <command>svnmucc</command>
command line are global to all actions performed by that
command line. The following is a list of the options
supported by this tool:</para>
+ -->
+ <para><command>svnmucc</command> 的选项都是全局的, 包括:</para>
<variablelist>
@@ -181,10 +264,15 @@
<term><option>--config-dir</option>
<replaceable>DIR</replaceable></term>
<listitem>
+ <!--
<para>Read configuration information from the specified
directory instead of the default location
(<filename>.subversion</filename> in the user's home
directory).</para>
+ -->
+ <para>告诉 <command>svnmucc</command> 从指定的目录中读取配置信息,
+ 而不是从默认目录 (用户家目录里的 <filename>.subversion</filename>)
+ 中读取.</para>
</listitem>
</varlistentry>
@@ -192,6 +280,7 @@
<term><option>--config-option</option>
<replaceable>CONFSPEC</replaceable></term>
<listitem>
+ <!--
<para>Set, for the duration of the command, the value
of a runtime configuration option.
<replaceable>CONFSPEC</replaceable> is a
@@ -211,9 +300,24 @@
any) you wish to assign to the option. For example, to
temporarily disable the use of the compression in the
HTTP protocol,
- use <option>--config-option=servers:global:http-compression=no</option>.
+ use <option>- -config-option=servers:global:http-compression=no</option>.
You can use this option multiple times to change
multiple option values simultaneously.</para>
+ -->
+ <para>在命令运行期间, 设置运行时配置选项的值.
+ <replaceable>CONFSPEC</replaceable> 是一个字符串, 指定了运行时
+ 配置选项的名字空间, 选项名和选项值, 格式是
+ <replaceable>FILE</replaceable>:<replaceable>SECTION</replaceable>:<replaceable>OPTION</replaceable>=[<replaceable>VALUE</replaceable>].
+ 其中, <replaceable>FILE</replaceable> 和
+ <replaceable>SECTION</replaceable> 分别是运行时配置文件
+ (<filename>config</filename> 或 <filename>servers</filename>)
+ 和节, 它们包含了用户希望修改的选项.
+ <replaceable>OPTION</replaceable> 是选项名,
+ <replaceable>VALUE</replaceable> 是选项值 (如果有的话). 例如,
+ 为了临时禁止 HTTP 压缩, 可以写成
+ <option>--config-option=servers:global:http-compression=no</option>.
+ 选项 <option>--config-option</option> 可以在命令行上出现多次,
+ 从而同时修改多个选项.</para>
</listitem>
</varlistentry>
@@ -221,6 +325,7 @@
<term><option>--extra-args</option> (<option>-X</option>)
<replaceable>ARGFILE</replaceable></term>
<listitem>
+ <!--
<para>Read additional would-be command-line arguments
from <replaceable>ARGFILE</replaceable>, one argument
per line. As a special consideration,
@@ -228,6 +333,11 @@
<literal>-</literal> to indicate that additional
arguments should be read instead from standard
input.</para>
+ -->
+ <para>从文件 <replaceable>ARGFILE</replaceable> 读取额外的命令行
+ 参数, 每行一个. 如果 <replaceable>ARGFILE</replaceable> 是
+ <literal>-</literal>, <command>svnmucc</command> 将从标准输入
+ 中读取额外的命令行参数.</para>
</listitem>
</varlistentry>
@@ -235,8 +345,12 @@
<term><option>--file</option> (<option>-F</option>)
<replaceable>MSGFILE</replaceable></term>
<listitem>
+ <!--
<para>Use the contents of the <replaceable>MSGFILE</replaceable>
as the log message for the commit.</para>
+ -->
+ <para>从文件 <replaceable>MSGFILE</replaceable> 中读取日志消息.
+ </para>
</listitem>
</varlistentry>
@@ -244,7 +358,10 @@
<term><option>--help</option> (<option>-h</option>,
<option>-?</option>)</term>
<listitem>
+ <!--
<para>Show program usage information and exit.</para>
+ -->
+ <para>显示命令的帮助信息, 然后退出.</para>
</listitem>
</varlistentry>
@@ -252,8 +369,11 @@
<term><option>--message</option> (<option>-m</option>)
<replaceable>MSG</replaceable></term>
<listitem>
+ <!--
<para>Use <replaceable>MSG</replaceable> as the log
message for the commit.</para>
+ -->
+ <para>使用 <replaceable>MSG</replaceable> 作为日志消息.</para>
</listitem>
</varlistentry>
@@ -260,9 +380,13 @@
<varlistentry>
<term><option>--no-auth-cache</option></term>
<listitem>
+ <!--
<para>Prevent caching of authentication information
(e.g., username and password) in the Subversion
runtime configuration directories.</para>
+ -->
+ <para>禁止在 Subversion 运行时配置目录中缓存认证信息
+ (例如用户名和密码).</para>
</listitem>
</varlistentry>
@@ -269,8 +393,11 @@
<varlistentry>
<term><option>--non-interactive</option></term>
<listitem>
+ <!--
<para>Disable all interactive prompting (e.g., requests
for authentication credentials).</para>
+ -->
+ <para>禁止所有的交互性提示 (例如请求用户输入认证证书).</para>
</listitem>
</varlistentry>
More information about the svnbook-dev
mailing list