Source

hgbook-zh_TW / it / examples / daily.revert.modify.it

Full commit
<!-- BEGIN daily.revert.modify -->
<screen><prompt>$</prompt> <userinput>cat file</userinput>
contenuto originale
<prompt>$</prompt> <userinput>echo cambiamento non voluto &gt;&gt; file</userinput>
<prompt>$</prompt> <userinput>hg diff file</userinput>
diff -r d17672b9fe6b file
--- a/file	Fri Jun 05 15:50:07 2009 +0000
+++ b/file	Fri Jun 05 15:50:07 2009 +0000
@@ -1,1 +1,2 @@
 contenuto originale
+cambiamento non voluto
</screen>
<!-- END daily.revert.modify -->