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