hgbook

view en/examples/daily.files @ 42:cbfa08bcf181

Start the "Mercurial in daily use" chapter.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun Jul 23 09:46:26 2006 -0700 (2006-07-23)
parents
children 7ac85766db0f
line source
1 #$ name: status
3 hg init a
4 cd a
5 echo content > filename
6 mkdir subdir
7 echo something > subdir/otherfile
8 hg status
10 #$ name: hidden
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