$ \textbf{hg init remove-example} $ \textbf{cd remove-example} $ \textbf{echo a > a} $ \textbf{mkdir b} $ \textbf{echo b > b/b} $ \textbf{hg add a b} adding b/b $ \textbf{hg commit -m 'Small example for file removal'} $ \textbf{hg remove a} $ \textbf{hg status} R a $ \textbf{hg remove b} removing b/b