hgbook
annotate en/examples/daily.files @ 94:0b97b0bdc830
Basic merge coverage.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri Oct 13 13:55:06 2006 -0700 (2006-10-13) |
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 |