Source

hgbook / it / examples / rollback.commit.it

Full commit
1
2
3
4
5
6
7
<!-- BEGIN rollback.commit -->
<screen><prompt>$</prompt> <userinput>hg status</userinput>
M a
<prompt>$</prompt> <userinput>echo b &gt; b</userinput>
<prompt>$</prompt> <userinput>hg commit -m "Aggiunge il file b."</userinput>
</screen>
<!-- END rollback.commit -->