hgbook
annotate 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 |
rev | line source |
---|---|
bos@42 | 1 #$ name: status |
bos@42 | 2 |
bos@42 | 3 hg init a |
bos@42 | 4 cd a |
bos@42 | 5 echo content > filename |
bos@42 | 6 mkdir subdir |
bos@42 | 7 echo something > subdir/otherfile |
bos@42 | 8 hg status |
bos@42 | 9 |
bos@42 | 10 #$ name: hidden |
bos@42 | 11 |
bos@42 | 12 mkdir empty |
bos@42 | 13 touch empty/.hidden |
bos@42 | 14 hg add empty/.hidden |
bos@42 | 15 hg commit -m 'Manage an empty-looking directory' |
bos@42 | 16 ls empty |
bos@42 | 17 cd .. |
bos@42 | 18 hg clone a b |
bos@42 | 19 ls b |
bos@42 | 20 ls b/empty |