zhaopingsun avatar zhaopingsun committed 9e96c1c

5.2.2 zh translated

Comments (0)

Files changed (1)

 "added, whereas it didn't do so when we added the file named <filename>myfile."
 "txt</filename> in the earlier example."
 msgstr ""
-"注意在这个上面这个例子中,Mercurial输出了它添加的文件的名字,然而在前面的例"
-"子中当我们添加文件<filename>myfile.txt</filename>的时候,它没有输出任何东西。"
+"注意在这个上面这个例子中,Mercurial输出了它添加的文件的名字,然而在前面的例子"
+"中当我们添加文件<filename>myfile.txt</filename>的时候,它没有输出任何东西。"
 
 #. type: Content of: <book><chapter><sect1><sect2><para>
 #: ../en/ch05-daily.xml:59
 "option></command> at any time later on, to tell Mercurial that you really did "
 "mean to remove the file."
 msgstr ""
+"如果<command role=\"hg-cmd\">hg status</command>报告版本库中的一个文件丢失了,"
+"而且你确实不需要这个文件了,你可以在以后的任何时间运行<command role=\"hg-cmd"
+"\">hg remove <option role=\"hg-opt-remove\">命令,告诉Mercurial你希望删除这个"
+"文件。"
 
 #. type: Content of: <book><chapter><sect1><sect2><para>
 #: ../en/ch05-daily.xml:177
 "role=\"hg-cmd\">hg revert</command> the name of the file to recover.  It will "
 "reappear, in unmodified form."
 msgstr ""
+"另一方面,如果你是不小心把那个文件删掉的,可以用<command role=\"hg-cmd\">hg "
+"revert</command>命令加上要恢复的文件名。它会将文件恢复到未修改前的状态。"
 
 #. type: Content of: <book><chapter><sect1><sect2><title>
 #: ../en/ch05-daily.xml:186
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.