12279
|
1 |
$ mkdir test
|
|
2 |
$ cd test
|
|
3 |
$ echo foo>foo
|
|
4 |
$ hg init
|
|
5 |
$ hg addremove
|
|
6 |
adding foo
|
|
7 |
$ hg commit -m "1"
|
331
|
8 |
|
12279
|
9 |
$ hg verify
|
|
10 |
checking changesets
|
|
11 |
checking manifests
|
|
12 |
crosschecking files in changesets and manifests
|
|
13 |
checking files
|
|
14 |
1 files, 1 changesets, 1 total revisions
|
|
15 |
|
|
16 |
$ hg clone . ../branch
|
|
17 |
updating to branch default
|
|
18 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
19 |
$ cd ../branch
|
|
20 |
$ hg co
|
|
21 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
22 |
$ echo bar>>foo
|
|
23 |
$ hg commit -m "2"
|
331
|
24 |
|
12279
|
25 |
$ cd ../test
|
|
26 |
|
|
27 |
$ hg pull ../branch
|
|
28 |
pulling from ../branch
|
|
29 |
searching for changes
|
|
30 |
adding changesets
|
|
31 |
adding manifests
|
|
32 |
adding file changes
|
|
33 |
added 1 changesets with 1 changes to 1 files
|
|
34 |
(run 'hg update' to get a working copy)
|
331
|
35 |
|
12279
|
36 |
$ hg verify
|
|
37 |
checking changesets
|
|
38 |
checking manifests
|
|
39 |
crosschecking files in changesets and manifests
|
|
40 |
checking files
|
|
41 |
1 files, 2 changesets, 2 total revisions
|
|
42 |
|
|
43 |
$ hg co
|
|
44 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
45 |
|
|
46 |
$ cat foo
|
|
47 |
foo
|
|
48 |
bar
|
|
49 |
|
|
50 |
$ hg manifest --debug
|
|
51 |
6f4310b00b9a147241b071a60c28a650827fb03d 644 foo
|
|
52 |
|