hgbook
annotate en/examples/daily.files @ 102:ff9dc8bc2a8b
More. Merge. Stuff.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed Oct 18 15:47:04 2006 -0700 (2006-10-18) |
parents | 7ac85766db0f |
children | 6b0f4498569e |
rev | line source |
---|---|
bos@47 | 1 #!/bin/bash |
bos@47 | 2 |
bos@43 | 3 #$ name: add |
bos@42 | 4 |
bos@42 | 5 hg init a |
bos@42 | 6 cd a |
bos@42 | 7 echo content > filename |
bos@42 | 8 mkdir subdir |
bos@42 | 9 echo something > subdir/otherfile |
bos@42 | 10 hg status |
bos@42 | 11 |
bos@42 | 12 #$ name: hidden |
bos@42 | 13 |
bos@42 | 14 mkdir empty |
bos@42 | 15 touch empty/.hidden |
bos@42 | 16 hg add empty/.hidden |
bos@42 | 17 hg commit -m 'Manage an empty-looking directory' |
bos@42 | 18 ls empty |
bos@42 | 19 cd .. |
bos@42 | 20 hg clone a b |
bos@42 | 21 ls b |
bos@42 | 22 ls b/empty |