Show More
@@ -0,0 +1,59 b'' | |||||
|
1 | #!/bin/bash | |||
|
2 | ||||
|
3 | hg init test | |||
|
4 | cd test | |||
|
5 | cat >>afile <<EOF | |||
|
6 | 0 | |||
|
7 | EOF | |||
|
8 | hg add afile | |||
|
9 | hg commit -m "0.0" | |||
|
10 | cat >>afile <<EOF | |||
|
11 | 1 | |||
|
12 | EOF | |||
|
13 | hg commit -m "0.1" | |||
|
14 | cat >>afile <<EOF | |||
|
15 | 2 | |||
|
16 | EOF | |||
|
17 | hg commit -m "0.2" | |||
|
18 | cat >>afile <<EOF | |||
|
19 | 3 | |||
|
20 | EOF | |||
|
21 | hg commit -m "0.3" | |||
|
22 | hg update -C 0 | |||
|
23 | cat >>afile <<EOF | |||
|
24 | 1 | |||
|
25 | EOF | |||
|
26 | hg commit -m "1.1" | |||
|
27 | cat >>afile <<EOF | |||
|
28 | 2 | |||
|
29 | EOF | |||
|
30 | hg commit -m "1.2" | |||
|
31 | cat >fred <<EOF | |||
|
32 | a line | |||
|
33 | EOF | |||
|
34 | cat >>afile <<EOF | |||
|
35 | 3 | |||
|
36 | EOF | |||
|
37 | hg add fred | |||
|
38 | hg commit -m "1.3" | |||
|
39 | hg mv afile adifferentfile | |||
|
40 | hg commit -m "1.3m" | |||
|
41 | hg update -C 3 | |||
|
42 | hg mv afile anotherfile | |||
|
43 | hg commit -m "0.3m" | |||
|
44 | hg debugindex .hg/data/afile.i | |||
|
45 | hg debugindex .hg/data/adifferentfile.i | |||
|
46 | hg debugindex .hg/data/anotherfile.i | |||
|
47 | hg debugindex .hg/data/fred.i | |||
|
48 | hg debugindex .hg/00manifest.i | |||
|
49 | hg verify | |||
|
50 | cd .. | |||
|
51 | for i in 0 1 2 3 4 5 6 7 8; do | |||
|
52 | hg clone -r "$i" test test-"$i" | |||
|
53 | cd test-"$i" | |||
|
54 | hg verify | |||
|
55 | cd .. | |||
|
56 | done | |||
|
57 | cd test-8 | |||
|
58 | hg pull ../test-7 | |||
|
59 | hg verify |
@@ -0,0 +1,126 b'' | |||||
|
1 | rev offset length base linkrev nodeid p1 p2 | |||
|
2 | 0 0 3 0 0 362fef284ce2 000000000000 000000000000 | |||
|
3 | 1 3 5 1 1 125144f7e028 362fef284ce2 000000000000 | |||
|
4 | 2 8 7 2 2 4c982badb186 125144f7e028 000000000000 | |||
|
5 | 3 15 9 3 3 19b1fc555737 4c982badb186 000000000000 | |||
|
6 | rev offset length base linkrev nodeid p1 p2 | |||
|
7 | 0 0 75 0 7 905359268f77 000000000000 000000000000 | |||
|
8 | rev offset length base linkrev nodeid p1 p2 | |||
|
9 | 0 0 75 0 8 905359268f77 000000000000 000000000000 | |||
|
10 | rev offset length base linkrev nodeid p1 p2 | |||
|
11 | 0 0 8 0 6 12ab3bcc5ea4 000000000000 000000000000 | |||
|
12 | rev offset length base linkrev nodeid p1 p2 | |||
|
13 | 0 0 48 0 0 43eadb1d2d06 000000000000 000000000000 | |||
|
14 | 1 48 48 1 1 8b89697eba2c 43eadb1d2d06 000000000000 | |||
|
15 | 2 96 48 2 2 626a32663c2f 8b89697eba2c 000000000000 | |||
|
16 | 3 144 48 3 3 f54c32f13478 626a32663c2f 000000000000 | |||
|
17 | 4 192 58 3 6 de68e904d169 626a32663c2f 000000000000 | |||
|
18 | 5 250 68 3 7 3b45cc2ab868 de68e904d169 000000000000 | |||
|
19 | 6 318 54 6 8 24d86153a002 f54c32f13478 000000000000 | |||
|
20 | checking changesets | |||
|
21 | checking manifests | |||
|
22 | crosschecking files in changesets and manifests | |||
|
23 | checking files | |||
|
24 | 4 files, 9 changesets, 7 total revisions | |||
|
25 | requesting all changes | |||
|
26 | adding changesets | |||
|
27 | adding manifests | |||
|
28 | adding file changes | |||
|
29 | added 1 changesets with 1 changes to 1 files | |||
|
30 | checking changesets | |||
|
31 | checking manifests | |||
|
32 | crosschecking files in changesets and manifests | |||
|
33 | checking files | |||
|
34 | 1 files, 1 changesets, 1 total revisions | |||
|
35 | requesting all changes | |||
|
36 | adding changesets | |||
|
37 | adding manifests | |||
|
38 | adding file changes | |||
|
39 | added 2 changesets with 2 changes to 1 files | |||
|
40 | checking changesets | |||
|
41 | checking manifests | |||
|
42 | crosschecking files in changesets and manifests | |||
|
43 | checking files | |||
|
44 | 1 files, 2 changesets, 2 total revisions | |||
|
45 | requesting all changes | |||
|
46 | adding changesets | |||
|
47 | adding manifests | |||
|
48 | adding file changes | |||
|
49 | added 3 changesets with 3 changes to 1 files | |||
|
50 | checking changesets | |||
|
51 | checking manifests | |||
|
52 | crosschecking files in changesets and manifests | |||
|
53 | checking files | |||
|
54 | 1 files, 3 changesets, 3 total revisions | |||
|
55 | requesting all changes | |||
|
56 | adding changesets | |||
|
57 | adding manifests | |||
|
58 | adding file changes | |||
|
59 | added 4 changesets with 4 changes to 1 files | |||
|
60 | checking changesets | |||
|
61 | checking manifests | |||
|
62 | crosschecking files in changesets and manifests | |||
|
63 | checking files | |||
|
64 | 1 files, 4 changesets, 4 total revisions | |||
|
65 | requesting all changes | |||
|
66 | adding changesets | |||
|
67 | adding manifests | |||
|
68 | adding file changes | |||
|
69 | added 2 changesets with 2 changes to 1 files | |||
|
70 | checking changesets | |||
|
71 | checking manifests | |||
|
72 | crosschecking files in changesets and manifests | |||
|
73 | checking files | |||
|
74 | 1 files, 2 changesets, 2 total revisions | |||
|
75 | requesting all changes | |||
|
76 | adding changesets | |||
|
77 | adding manifests | |||
|
78 | adding file changes | |||
|
79 | added 3 changesets with 3 changes to 1 files | |||
|
80 | checking changesets | |||
|
81 | checking manifests | |||
|
82 | crosschecking files in changesets and manifests | |||
|
83 | checking files | |||
|
84 | 1 files, 3 changesets, 3 total revisions | |||
|
85 | requesting all changes | |||
|
86 | adding changesets | |||
|
87 | adding manifests | |||
|
88 | adding file changes | |||
|
89 | added 4 changesets with 5 changes to 2 files | |||
|
90 | checking changesets | |||
|
91 | checking manifests | |||
|
92 | crosschecking files in changesets and manifests | |||
|
93 | checking files | |||
|
94 | 2 files, 4 changesets, 5 total revisions | |||
|
95 | requesting all changes | |||
|
96 | adding changesets | |||
|
97 | adding manifests | |||
|
98 | adding file changes | |||
|
99 | added 5 changesets with 6 changes to 3 files | |||
|
100 | checking changesets | |||
|
101 | checking manifests | |||
|
102 | crosschecking files in changesets and manifests | |||
|
103 | checking files | |||
|
104 | 3 files, 5 changesets, 6 total revisions | |||
|
105 | requesting all changes | |||
|
106 | adding changesets | |||
|
107 | adding manifests | |||
|
108 | adding file changes | |||
|
109 | added 5 changesets with 5 changes to 2 files | |||
|
110 | checking changesets | |||
|
111 | checking manifests | |||
|
112 | crosschecking files in changesets and manifests | |||
|
113 | checking files | |||
|
114 | 2 files, 5 changesets, 5 total revisions | |||
|
115 | pulling from ../test-7 | |||
|
116 | searching for changes | |||
|
117 | adding changesets | |||
|
118 | adding manifests | |||
|
119 | adding file changes | |||
|
120 | added 4 changesets with 2 changes to 3 files (+1 heads) | |||
|
121 | (run 'hg update' to get a working copy) | |||
|
122 | checking changesets | |||
|
123 | checking manifests | |||
|
124 | crosschecking files in changesets and manifests | |||
|
125 | checking files | |||
|
126 | 4 files, 9 changesets, 7 total revisions |
General Comments 0
You need to be logged in to leave comments.
Login now