Mercurial > hgbook
comparison en/examples/daily.files @ 42:cbfa08bcf181
Start the "Mercurial in daily use" chapter.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun, 23 Jul 2006 09:46:26 -0700 |
parents | |
children | 7ac85766db0f |
comparison
equal
deleted
inserted
replaced
41:d1a3394f8bcf | 42:cbfa08bcf181 |
---|---|
1 #$ name: status | |
2 | |
3 hg init a | |
4 cd a | |
5 echo content > filename | |
6 mkdir subdir | |
7 echo something > subdir/otherfile | |
8 hg status | |
9 | |
10 #$ name: hidden | |
11 | |
12 mkdir empty | |
13 touch empty/.hidden | |
14 hg add empty/.hidden | |
15 hg commit -m 'Manage an empty-looking directory' | |
16 ls empty | |
17 cd .. | |
18 hg clone a b | |
19 ls b | |
20 ls b/empty |