author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
Thu, 12 Aug 2010 14:53:34 +0900 | |
changeset 11781 | 6f59154fb604 |
parent 11743 | fc12420efcf4 |
child 12316 | 4134686b83e1 |
permissions | -rw-r--r-- |
11743 | 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 |
$ hg manifest |
|
11 |
$ hg verify |
|
12 |
checking changesets |
|
13 |
checking manifests |
|
14 |
crosschecking files in changesets and manifests |
|
15 |
checking files |
|
16 |
0 files, 0 changesets, 0 total revisions |
|
17 |
||
18 |
Check the basic files created: |
|
19 |
||
20 |
$ ls .hg |
|
21 |
00changelog.i |
|
22 |
requires |
|
23 |
store |
|
24 |
||
25 |
Should be empty: |
|
1338 | 26 |
|
11743 | 27 |
$ ls .hg/store |
28 |
||
29 |
Poke at a clone: |
|
6944
7e5f3480c45b
fix regression on empty repo cloning introduced by 0642d9d7ec80
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1338
diff
changeset
|
30 |
|
11743 | 31 |
$ cd .. |
32 |
$ hg clone a b |
|
33 |
updating to branch default |
|
34 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
35 |
$ cd b |
|
36 |
$ hg verify |
|
37 |
checking changesets |
|
38 |
checking manifests |
|
39 |
crosschecking files in changesets and manifests |
|
40 |
checking files |
|
41 |
0 files, 0 changesets, 0 total revisions |
|
42 |
$ ls .hg |
|
43 |
00changelog.i |
|
44 |
branch |
|
45 |
dirstate |
|
46 |
hgrc |
|
47 |
requires |
|
48 |
store |
|
49 |
||
50 |
Should be empty: |
|
51 |
||
52 |
$ ls .hg/store |