[svnbook] r5659 committed - branches/1.8/zh/book/ch05-repository-admin.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Sun Mar 25 07:15:48 CDT 2018
Revision: 5659
http://sourceforge.net/p/svnbook/source/5659
Author: wuzhouhui
Date: 2018-03-25 12:15:47 +0000 (Sun, 25 Mar 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-03-22 15:03:07 UTC (rev 5658)
+++ branches/1.8/zh/book/ch05-repository-admin.xml 2018-03-25 12:15:47 UTC (rev 5659)
@@ -4964,6 +4964,7 @@
极少需要考虑仓库的 UUID, 对他们而言, UUID 只是 Subversion 的一个实现
上的细节而已. 然而, 少数情况下这个细节也需要引起注意.</para>
+ <!--
<para>As a general rule, you want the UUIDs of your live
repositories to be unique. That is, after all, the point of
having UUIDs. But there are times when you want the
@@ -4977,9 +4978,19 @@
linkend="svn.reposadmin.maint.migrate" />), you get to decide
whether to apply the UUID encapsulated in the data dump
stream to the repository in which you are loading the data. The
+ ### TODO
particular circumstance will dictate the correct
behavior.</para>
+ -->
+ <para>一般来说, 管理员希望活动仓库的 UUID 是独一无二的, 毕竟这就是
+ UUID 的主要特点. 但在某些情况下需要两个仓库拥有一模一样的 UUID, 比如
+ 说管理员为仓库制作了一个副本, 并且希望该副本是源仓库的完美镜像, 因为
+ 管理员希望当备份仓库替换掉活动仓库时, 用户不会突然看到一个似乎不同的
+ 仓库. 在转储和加载仓库历史时 (见 <xref
+ linkend="svn.reposadmin.maint.migrate" />), 管理员可以决定是否向
+ 目标仓库应用封装在转储流中的 UUID.</para>
+ <!--
<para>There are a couple of ways to set (or reset) a
repository's UUID, should you need to. As of Subversion 1.5,
this is as simple as using the <command>svnadmin
@@ -4988,6 +4999,12 @@
well-formed and then set the repository UUID to that value.
If you omit the UUID, a brand-new UUID will be generated for
your repository.</para>
+ -->
+ <para>有若干种方式可以用来设置或重置仓库的 UUID, 对于 Subversion 1.5
+ 而言, 用到的命令是 <command>svnadmin setuuid</command>. 如果在命令行
+ 上显式地提供了 UUID 参数, 命令将验证 UUID 的格式是否正确, 如果正确就
+ 把它设置到仓库上. 如果省略了 UUID 参数, 命令就自动为仓库生成一个全新
+ 的 UUID.</para>
<informalexample>
<screen>
More information about the svnbook-dev
mailing list