hgbook
view ja/examples/daily.files.remove.out @ 1109:e1ca493f011d
2.8.4 first 2 para zh translated
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Wed Dec 23 23:29:17 2009 -0500 (2009-12-23) |
parents | |
children |
line source
1 $ \textbf{hg init remove-example}
2 $ \textbf{cd remove-example}
3 $ \textbf{echo a > a}
4 $ \textbf{mkdir b}
5 $ \textbf{echo b > b/b}
6 $ \textbf{hg add a b}
7 adding b/b
8 $ \textbf{hg commit -m 'Small example for file removal'}
9 $ \textbf{hg remove a}
10 $ \textbf{hg status}
11 R a
12 $ \textbf{hg remove b}
13 removing b/b