[svnbook] r5638 committed - branches/1.8/zh/book/ch05-repository-admin.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Tue Feb 13 06:15:26 CST 2018


Revision: 5638
          http://sourceforge.net/p/svnbook/source/5638
Author:   wuzhouhui
Date:     2018-02-13 12:15:26 +0000 (Tue, 13 Feb 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-02-12 12:34:03 UTC (rev 5637)
+++ branches/1.8/zh/book/ch05-repository-admin.xml	2018-02-13 12:15:26 UTC (rev 5638)
@@ -3305,6 +3305,7 @@
         <command>svndumpfilter</command>, 最终得到的转储数据就只会包含用户
         (显式地或隐式地) 希望保留的路径.</para>
 
+      <!--
       <para>Let's look at a realistic example of how you might use this
         program.  Earlier in this chapter (see <xref
         linkend="svn.reposadmin.projects.chooselayout"/>), we discussed the
@@ -3316,11 +3317,23 @@
         A common change is the decision to move multiple projects
         that are sharing a single repository into separate
         repositories for each project.</para>
+      -->
+      <para>现在介绍一个使用 <command>svndumpfilter</command> 的实际例子. 本章
+        早些时候 (见 <xref linkend="svn.reposadmin.projects.chooselayout"/>),
+        我们讨论了如何规划仓库的布局—为每一个项目创建一个单独的仓库, 或
+        者把所有的项目都放在一个仓库中, 或其他布局. 但是随着工作的进行, 用户
+        可能会觉得仓库的布局需要做一些修改, 比较常见的修改是把原本放在同一个
+        仓库中的多个项目, 分别放到属于自己的一个单独的仓库中.</para>
 
+      <!--
       <para>Our imaginary repository contains three projects:
         <literal>calc</literal>, <literal>calendar</literal>, and
         <literal>spreadsheet</literal>.  They have been living
         side-by-side in a layout like this:</para>
+      -->
+      <para>假设我们的仓库包含了三个项目: <literal>calc</literal>,
+        <literal>calendar</literal> 和 <literal>spreadsheet</literal>, 它们在
+        仓库中的位置如下:</para>
 
       <informalexample>
         <literallayout>
@@ -3340,8 +3353,11 @@
 </literallayout>
       </informalexample>
 
+      <!--
       <para>To get these three projects into their own repositories,
         we first dump the whole repository:</para>
+      -->
+      <para>为了把三个项目分开存放到三个仓库, 首先转储整个仓库:</para>
 
       <informalexample>
         <screen>
@@ -3355,9 +3371,13 @@
 </screen>
       </informalexample>
 
+      <!--
       <para>Next, run that dump file through the filter, each time
         including only one of our top-level directories.  This results
         in three new dump files:</para>
+      -->
+      <para>然后, 用 <command>svndumpfilter</command> 过滤转储文件, 每次过滤
+        一个项目的顶层目录, 得到三个新的转储文件:</para>
 
       <informalexample>
         <screen>




More information about the svnbook-dev mailing list