Source

hgbook / it / examples / daily.revert.add.it

<!-- BEGIN daily.revert.add -->
<screen><prompt>$</prompt> <userinput>echo oops &gt; oops</userinput>
<prompt>$</prompt> <userinput>hg add oops</userinput>
<prompt>$</prompt> <userinput>hg status oops</userinput>
A oops
<prompt>$</prompt> <userinput>hg revert oops</userinput>
<prompt>$</prompt> <userinput>hg status</userinput>
? oops
</screen>
<!-- END daily.revert.add -->