| 1 |
Create an empty repo: |
| 2 |
|
| 3 |
$ hg init a |
| 4 |
$ cd a |
| 5 |
|
| 6 |
Try some commands: |
| 7 |
|
| 8 |
$ hg log |
| 9 |
$ hg grep wah |
| 10 |
[1] |
| 11 |
$ hg manifest |
| 12 |
$ hg verify -q |
| 13 |
|
| 14 |
Check the basic files created: |
| 15 |
|
| 16 |
$ ls .hg |
| 17 |
00changelog.i |
| 18 |
cache |
| 19 |
requires |
| 20 |
store |
| 21 |
wcache |
| 22 |
|
| 23 |
Should be empty (except for the "basic" requires): |
| 24 |
|
| 25 |
$ ls .hg/store |
| 26 |
requires |
| 27 |
|
| 28 |
Poke at a clone: |
| 29 |
|
| 30 |
$ cd .. |
| 31 |
$ hg clone a b |
| 32 |
updating to branch default |
| 33 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
| 34 |
$ cd b |
| 35 |
$ hg verify -q |
| 36 |
$ ls .hg |
| 37 |
00changelog.i |
| 38 |
branch |
| 39 |
cache |
| 40 |
hgrc |
| 41 |
requires |
| 42 |
store |
| 43 |
wcache |
| 44 |
|
| 45 |
Should be empty (except for the "basic" requires): |
| 46 |
|
| 47 |
$ ls .hg/store |
| 48 |
requires |
| 49 |
|
| 50 |
$ cd .. |