Commits

zhaopingsun committed 387ab33

5.6 final paras

  • Participants
  • Parent commits d9de62a

Comments (0)

Files changed (1)

 "给Mercurial作离线备份和远程映像非常容易。在远程服务器上建立一个周期性任务(比"
 "如通过<command>cron</command>命令)每个小时从你的主服务器上拖变更就可以了。只"
 "有在你维护的主版本库数量频繁变化,这种几乎不太可能发生的情况下,备份才会有点复"
-"杂。即便是这种情况,你也仅仅需要一个很短的脚本来更新版本库的列表就可以了。"
+"杂。即便是这种情况,你也仅仅需要一个很短的脚本来更新版本库的列表就可以了。"
 
 #. type: Content of: <book><chapter><sect1><para>
 #: ../en/ch05-daily.xml:820
 "option> option doesn't check out a working directory after the clone "
 "completes, since that would be superfluous and make the backup take longer."
 msgstr ""
+"如果你要对主版本库进行传统备份,比如备份到磁带或者磁盘,同时你打算建立一个名"
+"为 <filename>myrepo</filename>版本库,在你备份之前,请先使用<command>hg clone "
+"-U myrepo myrepo.bak</command> 来创建<filename>myrepo</filename>的克隆。"
+"<option>-U</option> 选项在克隆之后并不会检出工作目录,因为那是多余的并且会使备"
+"份耗费更多时间。"
 
 #. type: Content of: <book><chapter><sect1><para>
 #: ../en/ch05-daily.xml:829
 "snapshot of your repository that won't be pushed to by an insomniac developer "
 "in mid-backup."
 msgstr ""
+"如果你以后要备份<filename>myrepo.bak</filename>而不是<filename>myrepo</"
+"filename>, Mercurial会保证你得到一个一致的版本库快照,而不会在备份过程中被某个"
+"夜猫子开发者推入变更。"
 
 #. type: Content of: <book><chapter><title>
 #: ../en/ch06-collab.xml:5
 msgid "Collaborating with other people"
-msgstr "团协作"
+msgstr "团协作"
 
 #. type: Content of: <book><chapter><para>
 #: ../en/ch06-collab.xml:7