[svnbook] r5618 committed - branches/1.8/zh/book/ch05-repository-admin.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Mon Jan 29 06:23:05 CST 2018
Revision: 5618
http://sourceforge.net/p/svnbook/source/5618
Author: wuzhouhui
Date: 2018-01-29 12:23:05 +0000 (Mon, 29 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-28 10:45:08 UTC (rev 5617)
+++ branches/1.8/zh/book/ch05-repository-admin.xml 2018-01-29 12:23:05 UTC (rev 5618)
@@ -2577,8 +2577,12 @@
<!-- =============================================================== -->
<sect2 id="svn.reposadmin.maint.migrate">
+ <!--
<title>Migrating Repository Data Elsewhere</title>
+ -->
+ <title>迁移仓库数据</title>
+ <!--
<para>A Subversion filesystem has its data spread throughout
files in the repository, in a fashion generally
understood by (and of interest to) only the Subversion
@@ -2585,6 +2589,10 @@
developers themselves. However, circumstances may arise that
call for all, or some subset, of that data to be copied or
moved into another repository.</para>
+ -->
+ <para>Subversion 文件系统的数据分布在仓库的很多文件中, 其存储方式通常
+ 只有 Subversion 开发人员才能理解 (或对它们感兴趣). 然而, 在某些情况
+ 下文件系统的全部或部分数据需要被复制或移动到其他仓库中.</para>
<para>
<indexterm>
@@ -2606,7 +2614,18 @@
</indexterm>
<indexterm>
<primary>svnrdump</primary>
- </indexterm>Subversion provides such functionality by way of
+ </indexterm>
+ Subversion 通过 <firstterm>仓库转储流</firstterm>
+ (<firstterm>repository dump streams</firstterm>) 实现这个功能. 仓库
+ 转储流 (如果作为文件存储到磁盘上, 习惯上称为 <quote>转储文件</quote>)
+ 是一种可移植的平面文件格式, 描述了仓库中的各个版本号—是谁, 在
+ 什么时候, 做了哪些修改等. 这种转储流是仓库之间组织版本历史—
+ 全部的或部分的, 未修改或修改过的—的主要机制. Subversion 提供了
+ 创建与加载转储流所必需的工具: 命令 <command>svnadmin dump</command>
+ 和 <command>svnadmin load</command>, 以及 <command>svnrdump</command>.
+ </para>
+ <!--
+ Subversion provides such functionality by way of
<firstterm>repository dump streams</firstterm>. A repository
dump stream (often referred to as a <quote>dump file</quote>
when stored as a file on disk) is a portable, flat file format
@@ -2619,8 +2638,10 @@
dump streams: the <command>svnadmin dump</command> and
<command>svnadmin load</command> subcommands, respectively,
and the <command>svnrdump</command> program.</para>
+ -->
<warning>
+ <!--
<para>While the Subversion repository dump format contains
human-readable portions and a familiar structure (it
resembles an RFC 822 format, the same type of format used
@@ -2628,6 +2649,12 @@
file format. It is a binary file format, highly sensitive
to meddling. For example, many text editors will corrupt
the file by automatically converting line endings.</para>
+ -->
+ <para>虽然 Subversion 仓库的转储文件格式包含了人类可读的部分内容
+ 和让人感到熟悉的结构 (它的格式很像 RFC 822 格式, 这是大多数邮件
+ 所使用的格式), 但它 <emphasis>不是</emphasis> 一个纯文本文件,
+ 而是二进制文件, 即使是非常细微的修改也会非常敏感. 比如说, 很多
+ 文本编辑器会自动转换行结束符, 但这样做会损坏文件.</para>
</warning>
<para>There are many reasons for dumping and loading Subversion
More information about the svnbook-dev
mailing list