hgbook
view ja/examples/daily.files.remove.out @ 1036:d338b1e87965
part of chap 1 and 2 translated
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Sat Nov 07 23:06:51 2009 -0500 (2009-11-07) |
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