Commits

zhaopingsun  committed 6cfe4ae

2.3.1 zh translated

  • Participants
  • Parent commits dc51747

Comments (0)

Files changed (1)

 "repository, it's best to use a built-in command that Mercurial provides.  "
 "This command is called <command role=\"hg-cmd\">hg clone</command>, because "
 "it makes an identical copy of an existing repository."
-msgstr ""
+msgstr "<emphasis>拷贝</emphasis>版本库有点特殊。虽然你可以使用文件拷贝命令来复制"
+"一般版本库,最好还是用Mercurial内置的命令。这个命令叫做 <command role=\"hg-cmd\">hg clone</command>"
+",因为它创建了一个原来版本库的拷贝。"
 
 #. type: Content of: <book><chapter><sect1><sect2><para>
 #: ../en/ch02-tour-basic.xml:136
 "as we can see above, it lets us clone repositories over the network.  Another "
 "is that it remembers where we cloned from, which we'll find useful soon when "
 "we want to fetch new changes from another repository."
-msgstr ""
+msgstr "如上所示,使用<command role=\"hg-cmd\">hg clone</command>的好处在于它能够让你"
+"通过网络克隆版本库。另外一个好处你它会记得这个版本库是从哪里克隆的,稍后会看到,当"
+"我们想从其他的版本库获取新的变更的时候这点这会非常有用。"
 
 #. type: Content of: <book><chapter><sect1><sect2><para>
 #: ../en/ch02-tour-basic.xml:142
 msgid ""
 "If our clone succeeded, we should now have a local directory called <filename "
 "class=\"directory\">hello</filename>.  This directory will contain some files."
-msgstr ""
+msgstr "如果我们克隆成功,我们会得到一个本地目录,叫做 <filename "
+"class=\"directory\">hello</filename>。这个目录会包括一些文件。"
 
 #. type: Content of: <book><chapter><sect1><sect2><para>
 #: ../en/ch02-tour-basic.xml:148
 msgid ""
 "These files have the same contents and history in our repository as they do "
 "in the repository we cloned."
-msgstr ""
+msgstr "这个版本库中的文件和我们刚才克隆的版本库中的文件相同的内容和版本历史"
 
 #. type: Content of: <book><chapter><sect1><sect2><para>
 #: ../en/ch02-tour-basic.xml:151
 "mentioned, a cloned repository remembers the location of the repository it "
 "was cloned from, but Mercurial will not communicate with that repository, or "
 "any other, unless you tell it to."
-msgstr ""
+msgstr "每个Mercurial版本库都是完整的,自包含的,独立的。它包含了项目文件的一份私有"
+"拷贝和全部历史。我们刚才已经提到,克隆的版本库会记住它克隆的那个版本库的地址,但是"
+"Mercurial不会和那个或者其他任何一个版本库通信,除非你给它命令。"
 
 #. type: Content of: <book><chapter><sect1><sect2><para>
 #: ../en/ch02-tour-basic.xml:158
 "What this means for now is that we're free to experiment with our repository, "
 "safe in the knowledge that it's a private <quote>sandbox</quote> that won't "
 "affect anyone else."
-msgstr ""
+msgstr "这意味着,我们可以随意的在我们的版本库中做实验,非常安全,因为它是一个私有的"
+"<quote>沙盒</quote>,不会影响任何人。"
 
 #. type: Content of: <book><chapter><sect1><sect2><title>
 #: ../en/ch02-tour-basic.xml:164