Source

hgbook / it / examples / daily.revert.missing.it

1
2
3
4
5
6
7
8
9
<!-- BEGIN daily.revert.missing -->
<screen><prompt>$</prompt> <userinput>rm file</userinput>
<prompt>$</prompt> <userinput>hg status</userinput>
! file
<prompt>$</prompt> <userinput>hg revert file</userinput>
<prompt>$</prompt> <userinput>ls file</userinput>
file
</screen>
<!-- END daily.revert.missing -->