[svnbook] r5376 committed - branches/1.8/vi/book/ch03-advanced-topics.xml

chinhdo at users.sourceforge.net chinhdo at users.sourceforge.net
Thu Jul 27 11:59:31 CDT 2017


Revision: 5376
          http://sourceforge.net/p/svnbook/source/5376
Author:   chinhdo
Date:     2017-07-27 16:59:30 +0000 (Thu, 27 Jul 2017)
Log Message:
-----------
Chapter 3, Peg and Operative Revisions

Modified Paths:
--------------
    branches/1.8/vi/book/ch03-advanced-topics.xml

Modified: branches/1.8/vi/book/ch03-advanced-topics.xml
===================================================================
--- branches/1.8/vi/book/ch03-advanced-topics.xml	2017-07-27 12:42:20 UTC (rev 5375)
+++ branches/1.8/vi/book/ch03-advanced-topics.xml	2017-07-27 16:59:30 UTC (rev 5376)
@@ -390,6 +390,7 @@
 <!--         <title>Is Subversion a Day Early?</title> -->
         <title>
 	        Is Subversion a Day Early?</title>
+ <!-- ### TODO: "Is Subversion a Day Early?" still in English ### -->
         
 <!--
         <para>If you specify a single date as a revision without
@@ -445,15 +446,7 @@
           revision ranges in your repository doesn't always return the
           data you might have expected.</para>
 -->
-        <para>Bởi vì nhãn thời gian của một phiên bản được lưu trữ như một thuộc tính không phiên bản, có thể điều chỉnh (xem <xref linkend="svn.advanced.props" />), nhãn thời gian của phiên bản có thể được thay đổi để tạo ra tình huống giả của một trình tự thời gian thực, hoặc có thể xoá hoàn toàn. Khả năng của Subversion có thể chuyển đổi chính xác ngày phiên bản thành số phiên bản thực phụ thuộc vào nhãn thời gian đang duy trì 
-	      Subversion's
-          ability to correctly convert revision dates into real
-          revision numbers depends on revision datestamps maintaining
-          a sequential ordering—the younger the revision, the
-          younger its timestamp.  If this ordering isn't maintained,
-          you will likely find that trying to use dates to specify
-          revision ranges in your repository doesn't always return the
-          data you might have expected.</para>
+        <para>Bởi vì nhãn thời gian của một phiên bản được lưu trữ như một thuộc tính phi-phiên-bản và có-thể-điều-chỉnh (xem <xref linkend="svn.advanced.props" />) nên nhãn thời gian của phiên bản có thể được thay đổi để tạo ra tình huống giả của một trình tự thời gian thực, hoặc có thể xoá hoàn toàn. Khả năng của Subversion có thể chuyển đổi chính xác ngày phiên bản thành số phiên bản thực phụ thuộc vào nhãn thời gian đang duy trì một trình tự tuần tự—phiên bản càng mới thì nhãn thời gian càng mới. Nếu trình tự này không được duy trì, bạn có thể sẽ thấy rằng khi sử dụng ngày tháng để chỉ định vùng phiên bản trong kho lưu trữ của bạn không phải luôn luôn trả về dữ liệu mà bạn mong đợi.</para>
       </warning>
         
     </sect2>
@@ -464,8 +457,11 @@
   <!-- ================================================================= -->
   <!-- ================================================================= -->
   <sect1 id="svn.advanced.pegrevs">
+<!--     <title>Peg and Operative Revisions</title> -->
     <title>Peg and Operative Revisions</title>
+	<!-- ### TODO: "Peg and Operative Revisions" need to be translated into English ### -->
 
+<!--
     <para>We copy, move, rename, and completely replace files and
       directories on our computers all the time.  And your version
       control system shouldn't get in the way of your doing these
@@ -479,7 +475,19 @@
       versioned objects.  This introduces a certain level of
       complexity to your interactions with those paths and
       objects.</para>
+-->
+    <para>Chúng ta sao chép, di chuyển, đổi tên và thay thế hoàn toàn những tập tin và thư mục trong máy của chúng ta rất thường xuyên. Hệ thống kiểm soát phiên bản của bạn không nên theo cách của bạn làm những việc này trên những tập tin và thư mục đã được kiểm soát phiên bản. Hỗ trợ quản lý tập tin của Subversion rất linh động, cung cấp một độ linh hoạt tương tự khi bạn thao tác những tập tin chưa định phiên bản.
+	  Subversion's file management support is quite
+      liberating, affording almost as much flexibility for versioned
+      files as you'd expect when manipulating your unversioned ones.
+      But that flexibility means that across the lifetime of your
+      repository, a given versioned object might have many paths, and
+      a given path might represent several entirely different
+      versioned objects.  This introduces a certain level of
+      complexity to your interactions with those paths and
+      objects.</para>
 
+<!--
     <para>Subversion is pretty smart about noticing when an object's
       version history includes such <quote>changes of address.</quote>
       For example, if you ask for the revision history log of a
@@ -489,7 +497,10 @@
       and after that rename.  So, most of the time, you don't even
       have to think about such things.  But occasionally, Subversion
       needs your help to clear up ambiguities.</para>
+-->
+    <para>Subversion khá thông minh trong việc để ý khi lịch sử phiên bản của một đối tượng có bao gồm <quote>loại thay đổi địa chỉ này</quote>. Ví dụ, nếu bạn yêu cầu nhật ký lịch sử phiên bản của một tập tin cụ thể mà đã được đổi tên vào tuần trước, Subversion sẽ cung cấp toàn bộ nhật ký đó—phiên bản mà trong đó việc đổi tên bản thân nó diễn ra, cộng thêm nhật ký của những phiên bản liên quan trước và sau việc đổi tên này. Vì vậy, đa số thời gian bạn không cần thiết phải suy nghĩ về những vấn đề này. Tuy nhiên, thỉnh thoảng Subversion cần sự trợ giúp của bạn trong việc làm rõ một số vấn đề không rõ ràng.</para>
 
+<!--
     <para>The simplest example of this occurs when a directory or file
       is deleted from version control, and then a new directory or
       file is created with the same name and added to version control.
@@ -503,7 +514,10 @@
       have happened to <emphasis>all</emphasis> the objects that have
       ever lived at that path?  Subversion needs a hint about what you
       really want.</para>
+-->
+    <para>Ví dụ đơn giản nhất của điều này xảy ra khi một thư mục hoặc tập tin bị xoá bỏ khỏi kiểm soát phiên bản, sau đó một thư mục hoặc một tập tin được tạo ra với cùng tên và được thêm vào kiểm soát phiên bản. Cái mà bạn xoá và cái mà bạn thêm vào sau đó không phải là một. Chúng chỉ đơn thuần là tình cờ có cùng một đường dẫn—ví dụ, <filename>/trunk/object</filename>. Cái gì, có phải là bạn yêu cầu Subversion cung cấp lịch sử của <filename>/trunk/object</filename>? Có phải bạn đang hỏi về đối tượng hiện đang ở vị trí này, hay cái cũ mà bạn đã xoá khỏi vị trí này? Có phải bạn đang hỏi về việc đã xảy ra với <emphasis>tất cả</emphasis> những đối tượng mà đã từn tồn tại ở đường dẫn này? Subversion cần gợi ý về điều mà bạn thực sự cần thực hiện.</para>
 
+<!--
     <para>And thanks to moves, versioned object history can get far
       more twisted than even that.  For example, you might have a
       directory named <filename>concept</filename>, containing some
@@ -520,6 +534,24 @@
       Frabnaggilywort releases a 1.0 version and is downloaded and
       used daily by hordes of people aiming to improve their
       lives.</para>
+-->
+    <para>
+	    And thanks to moves, versioned object history can get far
+      more twisted than even that.  For example, you might have a
+      directory named <filename>concept</filename>, containing some
+      nascent software project you've been toying with.  Eventually,
+      though, that project matures to the point that the idea seems to
+      actually have some wings, so you do the unthinkable and decide
+      to give the project a name.<footnote><para><quote>You're not
+      supposed to name it.  Once you name it, you start getting
+      attached to it.</quote>—Mike Wazowski</para></footnote>
+      Let's say you called your software Frabnaggilywort.  At this
+      point, it makes sense to rename the directory to reflect the
+      project's new name, so <filename>concept</filename> is renamed
+      to <filename>frabnaggilywort</filename>.  Life goes on,
+      Frabnaggilywort releases a 1.0 version and is downloaded and
+      used daily by hordes of people aiming to improve their
+      lives.</para>
     
     <para>It's a nice story, really, but it doesn't end there.
       Entrepreneur that you are, you've already got another think in




More information about the svnbook-dev mailing list