hgbook
view ja/examples/daily.files.hidden.out @ 1112:7764de86d22f
refined chap 2
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Mon Dec 28 22:58:53 2009 -0500 (2009-12-28) |
parents | |
children |
line source
1 $ \textbf{hg init hidden-example}
2 $ \textbf{cd hidden-example}
3 $ \textbf{mkdir empty}
4 $ \textbf{touch empty/.hidden}
5 $ \textbf{hg add empty/.hidden}
6 $ \textbf{hg commit -m 'Manage an empty-looking directory'}
7 $ \textbf{ls empty}
8 $ \textbf{cd ..}
9 $ \textbf{hg clone hidden-example tmp}
10 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
11 $ \textbf{ls tmp}
12 empty
13 $ \textbf{ls tmp/empty}