Show More
1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,32 b'' | |||||
|
1 | #!/bin/bash | |||
|
2 | hg init remote | |||
|
3 | cd remote | |||
|
4 | ||||
|
5 | echo "0" >> afile | |||
|
6 | hg add afile | |||
|
7 | hg commit -m "0.0" | |||
|
8 | echo "1" >> afile | |||
|
9 | hg commit -m "0.1" | |||
|
10 | echo "2" >> afile | |||
|
11 | hg commit -m "0.2" | |||
|
12 | echo "3" >> afile | |||
|
13 | hg commit -m "0.3" | |||
|
14 | hg update -C 0 | |||
|
15 | echo "1" >> afile | |||
|
16 | hg commit -m "1.1" | |||
|
17 | echo "2" >> afile | |||
|
18 | hg commit -m "1.2" | |||
|
19 | echo "a line" > fred | |||
|
20 | echo "3" >> afile | |||
|
21 | hg add fred | |||
|
22 | hg commit -m "1.3" | |||
|
23 | hg mv afile adifferentfile | |||
|
24 | hg commit -m "1.3m" | |||
|
25 | hg update -C 3 | |||
|
26 | hg mv afile anotherfile | |||
|
27 | hg commit -m "0.3m" | |||
|
28 | ||||
|
29 | hg bundle -a ../remote.hg | |||
|
30 | ||||
|
31 | cd .. | |||
|
32 | rm -Rf remote |
@@ -1,376 +1,329 b'' | |||||
1 | $ hg init test |
|
1 | $ hg init test | |
2 | $ cd test |
|
2 | $ cd test | |
3 | $ echo "0" >> afile |
|
3 | $ hg unbundle $TESTDIR/bundles/remote.hg | |
4 | $ hg add afile |
|
4 | adding changesets | |
5 | $ hg commit -m "0.0" |
|
5 | adding manifests | |
6 | $ echo "1" >> afile |
|
6 | adding file changes | |
7 | $ hg commit -m "0.1" |
|
7 | added 9 changesets with 7 changes to 4 files (+1 heads) | |
8 | $ echo "2" >> afile |
|
8 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
9 | $ hg commit -m "0.2" |
|
9 | $ hg up tip | |
10 | $ echo "3" >> afile |
|
|||
11 | $ hg commit -m "0.3" |
|
|||
12 | $ hg update -C 0 |
|
|||
13 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
10 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
14 | $ echo "1" >> afile |
|
|||
15 | $ hg commit -m "1.1" |
|
|||
16 | created new head |
|
|||
17 | $ echo "2" >> afile |
|
|||
18 | $ hg commit -m "1.2" |
|
|||
19 | $ echo "a line" > fred |
|
|||
20 | $ echo "3" >> afile |
|
|||
21 | $ hg add fred |
|
|||
22 | $ hg commit -m "1.3" |
|
|||
23 | $ hg mv afile adifferentfile |
|
|||
24 | $ hg commit -m "1.3m" |
|
|||
25 | $ hg update -C 3 |
|
|||
26 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
|||
27 | $ hg mv afile anotherfile |
|
|||
28 | $ hg commit -m "0.3m" |
|
|||
29 | $ hg debugindex .hg/store/data/afile.i |
|
|||
30 | rev offset length base linkrev nodeid p1 p2 |
|
|||
31 | 0 0 3 0 0 362fef284ce2 000000000000 000000000000 |
|
|||
32 | 1 3 5 1 1 125144f7e028 362fef284ce2 000000000000 |
|
|||
33 | 2 8 7 2 2 4c982badb186 125144f7e028 000000000000 |
|
|||
34 | 3 15 9 3 3 19b1fc555737 4c982badb186 000000000000 |
|
|||
35 | $ hg debugindex .hg/store/data/adifferentfile.i |
|
|||
36 | rev offset length base linkrev nodeid p1 p2 |
|
|||
37 | 0 0 75 0 7 2565f3199a74 000000000000 000000000000 |
|
|||
38 | $ hg debugindex .hg/store/data/anotherfile.i |
|
|||
39 | rev offset length base linkrev nodeid p1 p2 |
|
|||
40 | 0 0 75 0 8 2565f3199a74 000000000000 000000000000 |
|
|||
41 | $ hg debugindex .hg/store/data/fred.i |
|
|||
42 | rev offset length base linkrev nodeid p1 p2 |
|
|||
43 | 0 0 8 0 6 12ab3bcc5ea4 000000000000 000000000000 |
|
|||
44 | $ hg debugindex .hg/store/00manifest.i |
|
|||
45 | rev offset length base linkrev nodeid p1 p2 |
|
|||
46 | 0 0 48 0 0 43eadb1d2d06 000000000000 000000000000 |
|
|||
47 | 1 48 48 1 1 8b89697eba2c 43eadb1d2d06 000000000000 |
|
|||
48 | 2 96 48 2 2 626a32663c2f 8b89697eba2c 000000000000 |
|
|||
49 | 3 144 48 3 3 f54c32f13478 626a32663c2f 000000000000 |
|
|||
50 | 4 192 58 3 6 de68e904d169 626a32663c2f 000000000000 |
|
|||
51 | 5 250 68 3 7 09bb521d218d de68e904d169 000000000000 |
|
|||
52 | 6 318 54 6 8 1fde233dfb0f f54c32f13478 000000000000 |
|
|||
53 | $ hg verify |
|
|||
54 | checking changesets |
|
|||
55 | checking manifests |
|
|||
56 | crosschecking files in changesets and manifests |
|
|||
57 | checking files |
|
|||
58 | 4 files, 9 changesets, 7 total revisions |
|
|||
59 | $ cd .. |
|
11 | $ cd .. | |
|
12 | ||||
60 | $ for i in 0 1 2 3 4 5 6 7 8; do |
|
13 | $ for i in 0 1 2 3 4 5 6 7 8; do | |
61 | > mkdir test-"$i" |
|
14 | > mkdir test-"$i" | |
62 | > hg --cwd test-"$i" init |
|
15 | > hg --cwd test-"$i" init | |
63 | > hg -R test bundle -r "$i" test-"$i".hg test-"$i" |
|
16 | > hg -R test bundle -r "$i" test-"$i".hg test-"$i" | |
64 | > cd test-"$i" |
|
17 | > cd test-"$i" | |
65 | > hg unbundle ../test-"$i".hg |
|
18 | > hg unbundle ../test-"$i".hg | |
66 | > hg verify |
|
19 | > hg verify | |
67 | > hg tip -q |
|
20 | > hg tip -q | |
68 | > cd .. |
|
21 | > cd .. | |
69 | > done |
|
22 | > done | |
70 | searching for changes |
|
23 | searching for changes | |
71 | 1 changesets found |
|
24 | 1 changesets found | |
72 | adding changesets |
|
25 | adding changesets | |
73 | adding manifests |
|
26 | adding manifests | |
74 | adding file changes |
|
27 | adding file changes | |
75 | added 1 changesets with 1 changes to 1 files |
|
28 | added 1 changesets with 1 changes to 1 files | |
76 | (run 'hg update' to get a working copy) |
|
29 | (run 'hg update' to get a working copy) | |
77 | checking changesets |
|
30 | checking changesets | |
78 | checking manifests |
|
31 | checking manifests | |
79 | crosschecking files in changesets and manifests |
|
32 | crosschecking files in changesets and manifests | |
80 | checking files |
|
33 | checking files | |
81 | 1 files, 1 changesets, 1 total revisions |
|
34 | 1 files, 1 changesets, 1 total revisions | |
82 | 0:f9ee2f85a263 |
|
35 | 0:bfaf4b5cbf01 | |
83 | searching for changes |
|
36 | searching for changes | |
84 | 2 changesets found |
|
37 | 2 changesets found | |
85 | adding changesets |
|
38 | adding changesets | |
86 | adding manifests |
|
39 | adding manifests | |
87 | adding file changes |
|
40 | adding file changes | |
88 | added 2 changesets with 2 changes to 1 files |
|
41 | added 2 changesets with 2 changes to 1 files | |
89 | (run 'hg update' to get a working copy) |
|
42 | (run 'hg update' to get a working copy) | |
90 | checking changesets |
|
43 | checking changesets | |
91 | checking manifests |
|
44 | checking manifests | |
92 | crosschecking files in changesets and manifests |
|
45 | crosschecking files in changesets and manifests | |
93 | checking files |
|
46 | checking files | |
94 | 1 files, 2 changesets, 2 total revisions |
|
47 | 1 files, 2 changesets, 2 total revisions | |
95 | 1:34c2bf6b0626 |
|
48 | 1:21f32785131f | |
96 | searching for changes |
|
49 | searching for changes | |
97 | 3 changesets found |
|
50 | 3 changesets found | |
98 | adding changesets |
|
51 | adding changesets | |
99 | adding manifests |
|
52 | adding manifests | |
100 | adding file changes |
|
53 | adding file changes | |
101 | added 3 changesets with 3 changes to 1 files |
|
54 | added 3 changesets with 3 changes to 1 files | |
102 | (run 'hg update' to get a working copy) |
|
55 | (run 'hg update' to get a working copy) | |
103 | checking changesets |
|
56 | checking changesets | |
104 | checking manifests |
|
57 | checking manifests | |
105 | crosschecking files in changesets and manifests |
|
58 | crosschecking files in changesets and manifests | |
106 | checking files |
|
59 | checking files | |
107 | 1 files, 3 changesets, 3 total revisions |
|
60 | 1 files, 3 changesets, 3 total revisions | |
108 | 2:e38ba6f5b7e0 |
|
61 | 2:4ce51a113780 | |
109 | searching for changes |
|
62 | searching for changes | |
110 | 4 changesets found |
|
63 | 4 changesets found | |
111 | adding changesets |
|
64 | adding changesets | |
112 | adding manifests |
|
65 | adding manifests | |
113 | adding file changes |
|
66 | adding file changes | |
114 | added 4 changesets with 4 changes to 1 files |
|
67 | added 4 changesets with 4 changes to 1 files | |
115 | (run 'hg update' to get a working copy) |
|
68 | (run 'hg update' to get a working copy) | |
116 | checking changesets |
|
69 | checking changesets | |
117 | checking manifests |
|
70 | checking manifests | |
118 | crosschecking files in changesets and manifests |
|
71 | crosschecking files in changesets and manifests | |
119 | checking files |
|
72 | checking files | |
120 | 1 files, 4 changesets, 4 total revisions |
|
73 | 1 files, 4 changesets, 4 total revisions | |
121 | 3:eebf5a27f8ca |
|
74 | 3:93ee6ab32777 | |
122 | searching for changes |
|
75 | searching for changes | |
123 | 2 changesets found |
|
76 | 2 changesets found | |
124 | adding changesets |
|
77 | adding changesets | |
125 | adding manifests |
|
78 | adding manifests | |
126 | adding file changes |
|
79 | adding file changes | |
127 | added 2 changesets with 2 changes to 1 files |
|
80 | added 2 changesets with 2 changes to 1 files | |
128 | (run 'hg update' to get a working copy) |
|
81 | (run 'hg update' to get a working copy) | |
129 | checking changesets |
|
82 | checking changesets | |
130 | checking manifests |
|
83 | checking manifests | |
131 | crosschecking files in changesets and manifests |
|
84 | crosschecking files in changesets and manifests | |
132 | checking files |
|
85 | checking files | |
133 | 1 files, 2 changesets, 2 total revisions |
|
86 | 1 files, 2 changesets, 2 total revisions | |
134 | 1:095197eb4973 |
|
87 | 1:c70afb1ee985 | |
135 | searching for changes |
|
88 | searching for changes | |
136 | 3 changesets found |
|
89 | 3 changesets found | |
137 | adding changesets |
|
90 | adding changesets | |
138 | adding manifests |
|
91 | adding manifests | |
139 | adding file changes |
|
92 | adding file changes | |
140 | added 3 changesets with 3 changes to 1 files |
|
93 | added 3 changesets with 3 changes to 1 files | |
141 | (run 'hg update' to get a working copy) |
|
94 | (run 'hg update' to get a working copy) | |
142 | checking changesets |
|
95 | checking changesets | |
143 | checking manifests |
|
96 | checking manifests | |
144 | crosschecking files in changesets and manifests |
|
97 | crosschecking files in changesets and manifests | |
145 | checking files |
|
98 | checking files | |
146 | 1 files, 3 changesets, 3 total revisions |
|
99 | 1 files, 3 changesets, 3 total revisions | |
147 | 2:1bb50a9436a7 |
|
100 | 2:f03ae5a9b979 | |
148 | searching for changes |
|
101 | searching for changes | |
149 | 4 changesets found |
|
102 | 4 changesets found | |
150 | adding changesets |
|
103 | adding changesets | |
151 | adding manifests |
|
104 | adding manifests | |
152 | adding file changes |
|
105 | adding file changes | |
153 | added 4 changesets with 5 changes to 2 files |
|
106 | added 4 changesets with 5 changes to 2 files | |
154 | (run 'hg update' to get a working copy) |
|
107 | (run 'hg update' to get a working copy) | |
155 | checking changesets |
|
108 | checking changesets | |
156 | checking manifests |
|
109 | checking manifests | |
157 | crosschecking files in changesets and manifests |
|
110 | crosschecking files in changesets and manifests | |
158 | checking files |
|
111 | checking files | |
159 | 2 files, 4 changesets, 5 total revisions |
|
112 | 2 files, 4 changesets, 5 total revisions | |
160 | 3:7373c1169842 |
|
113 | 3:095cb14b1b4d | |
161 | searching for changes |
|
114 | searching for changes | |
162 | 5 changesets found |
|
115 | 5 changesets found | |
163 | adding changesets |
|
116 | adding changesets | |
164 | adding manifests |
|
117 | adding manifests | |
165 | adding file changes |
|
118 | adding file changes | |
166 | added 5 changesets with 6 changes to 3 files |
|
119 | added 5 changesets with 6 changes to 3 files | |
167 | (run 'hg update' to get a working copy) |
|
120 | (run 'hg update' to get a working copy) | |
168 | checking changesets |
|
121 | checking changesets | |
169 | checking manifests |
|
122 | checking manifests | |
170 | crosschecking files in changesets and manifests |
|
123 | crosschecking files in changesets and manifests | |
171 | checking files |
|
124 | checking files | |
172 | 3 files, 5 changesets, 6 total revisions |
|
125 | 3 files, 5 changesets, 6 total revisions | |
173 | 4:a6a34bfa0076 |
|
126 | 4:faa2e4234c7a | |
174 | searching for changes |
|
127 | searching for changes | |
175 | 5 changesets found |
|
128 | 5 changesets found | |
176 | adding changesets |
|
129 | adding changesets | |
177 | adding manifests |
|
130 | adding manifests | |
178 | adding file changes |
|
131 | adding file changes | |
179 | added 5 changesets with 5 changes to 2 files |
|
132 | added 5 changesets with 5 changes to 2 files | |
180 | (run 'hg update' to get a working copy) |
|
133 | (run 'hg update' to get a working copy) | |
181 | checking changesets |
|
134 | checking changesets | |
182 | checking manifests |
|
135 | checking manifests | |
183 | crosschecking files in changesets and manifests |
|
136 | crosschecking files in changesets and manifests | |
184 | checking files |
|
137 | checking files | |
185 | 2 files, 5 changesets, 5 total revisions |
|
138 | 2 files, 5 changesets, 5 total revisions | |
186 | 4:aa35859c02ea |
|
139 | 4:916f1afdef90 | |
187 | $ cd test-8 |
|
140 | $ cd test-8 | |
188 | $ hg pull ../test-7 |
|
141 | $ hg pull ../test-7 | |
189 | pulling from ../test-7 |
|
142 | pulling from ../test-7 | |
190 | searching for changes |
|
143 | searching for changes | |
191 | adding changesets |
|
144 | adding changesets | |
192 | adding manifests |
|
145 | adding manifests | |
193 | adding file changes |
|
146 | adding file changes | |
194 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
147 | added 4 changesets with 2 changes to 3 files (+1 heads) | |
195 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
148 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
196 | $ hg verify |
|
149 | $ hg verify | |
197 | checking changesets |
|
150 | checking changesets | |
198 | checking manifests |
|
151 | checking manifests | |
199 | crosschecking files in changesets and manifests |
|
152 | crosschecking files in changesets and manifests | |
200 | checking files |
|
153 | checking files | |
201 | 4 files, 9 changesets, 7 total revisions |
|
154 | 4 files, 9 changesets, 7 total revisions | |
202 | $ hg rollback |
|
155 | $ hg rollback | |
203 | repository tip rolled back to revision 4 (undo pull) |
|
156 | repository tip rolled back to revision 4 (undo pull) | |
204 | working directory now based on revision -1 |
|
157 | working directory now based on revision -1 | |
205 | $ cd .. |
|
158 | $ cd .. | |
206 |
|
159 | |||
207 | should fail |
|
160 | should fail | |
208 |
|
161 | |||
209 | $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg test-3 |
|
162 | $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg test-3 | |
210 | abort: --base is incompatible with specifying a destination |
|
163 | abort: --base is incompatible with specifying a destination | |
211 | [255] |
|
164 | [255] | |
212 | $ hg -R test bundle -r tip test-bundle-branch1.hg |
|
165 | $ hg -R test bundle -r tip test-bundle-branch1.hg | |
213 | abort: repository default-push not found! |
|
166 | abort: repository default-push not found! | |
214 | [255] |
|
167 | [255] | |
215 |
|
168 | |||
216 | $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg |
|
169 | $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg | |
217 | 2 changesets found |
|
170 | 2 changesets found | |
218 | $ hg -R test bundle --base 2 -r 7 test-bundle-branch2.hg |
|
171 | $ hg -R test bundle --base 2 -r 7 test-bundle-branch2.hg | |
219 | 4 changesets found |
|
172 | 4 changesets found | |
220 | $ hg -R test bundle --base 2 test-bundle-all.hg |
|
173 | $ hg -R test bundle --base 2 test-bundle-all.hg | |
221 | 6 changesets found |
|
174 | 6 changesets found | |
222 | $ hg -R test bundle --base 3 -r tip test-bundle-should-fail.hg |
|
175 | $ hg -R test bundle --base 3 -r tip test-bundle-should-fail.hg | |
223 | 1 changesets found |
|
176 | 1 changesets found | |
224 |
|
177 | |||
225 | empty bundle |
|
178 | empty bundle | |
226 |
|
179 | |||
227 | $ hg -R test bundle --base 7 --base 8 test-bundle-empty.hg |
|
180 | $ hg -R test bundle --base 7 --base 8 test-bundle-empty.hg | |
228 | no changes found |
|
181 | no changes found | |
229 | [1] |
|
182 | [1] | |
230 |
|
183 | |||
231 | issue76 msg2163 |
|
184 | issue76 msg2163 | |
232 |
|
185 | |||
233 | $ hg -R test bundle --base 3 -r 3 -r 3 test-bundle-cset-3.hg |
|
186 | $ hg -R test bundle --base 3 -r 3 -r 3 test-bundle-cset-3.hg | |
234 | 1 changesets found |
|
187 | 1 changesets found | |
235 |
|
188 | |||
236 | Issue1910: 'hg bundle --base $head' does not exclude $head from |
|
189 | Issue1910: 'hg bundle --base $head' does not exclude $head from | |
237 | result |
|
190 | result | |
238 |
|
191 | |||
239 | $ hg -R test bundle --base 7 test-bundle-cset-7.hg |
|
192 | $ hg -R test bundle --base 7 test-bundle-cset-7.hg | |
240 | 4 changesets found |
|
193 | 4 changesets found | |
241 |
|
194 | |||
242 | $ hg clone test-2 test-9 |
|
195 | $ hg clone test-2 test-9 | |
243 | updating to branch default |
|
196 | updating to branch default | |
244 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
197 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
245 | $ cd test-9 |
|
198 | $ cd test-9 | |
246 |
|
199 | |||
247 | revision 2 |
|
200 | revision 2 | |
248 |
|
201 | |||
249 | $ hg tip -q |
|
202 | $ hg tip -q | |
250 | 2:e38ba6f5b7e0 |
|
203 | 2:4ce51a113780 | |
251 | $ hg unbundle ../test-bundle-should-fail.hg |
|
204 | $ hg unbundle ../test-bundle-should-fail.hg | |
252 | adding changesets |
|
205 | adding changesets | |
253 | transaction abort! |
|
206 | transaction abort! | |
254 | rollback completed |
|
207 | rollback completed | |
255 |
abort: 00changelog.i@ |
|
208 | abort: 00changelog.i@93ee6ab32777: unknown parent! | |
256 | [255] |
|
209 | [255] | |
257 |
|
210 | |||
258 | revision 2 |
|
211 | revision 2 | |
259 |
|
212 | |||
260 | $ hg tip -q |
|
213 | $ hg tip -q | |
261 | 2:e38ba6f5b7e0 |
|
214 | 2:4ce51a113780 | |
262 | $ hg unbundle ../test-bundle-all.hg |
|
215 | $ hg unbundle ../test-bundle-all.hg | |
263 | adding changesets |
|
216 | adding changesets | |
264 | adding manifests |
|
217 | adding manifests | |
265 | adding file changes |
|
218 | adding file changes | |
266 | added 6 changesets with 4 changes to 4 files (+1 heads) |
|
219 | added 6 changesets with 4 changes to 4 files (+1 heads) | |
267 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
220 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
268 |
|
221 | |||
269 | revision 8 |
|
222 | revision 8 | |
270 |
|
223 | |||
271 | $ hg tip -q |
|
224 | $ hg tip -q | |
272 | 8:aa35859c02ea |
|
225 | 8:916f1afdef90 | |
273 | $ hg verify |
|
226 | $ hg verify | |
274 | checking changesets |
|
227 | checking changesets | |
275 | checking manifests |
|
228 | checking manifests | |
276 | crosschecking files in changesets and manifests |
|
229 | crosschecking files in changesets and manifests | |
277 | checking files |
|
230 | checking files | |
278 | 4 files, 9 changesets, 7 total revisions |
|
231 | 4 files, 9 changesets, 7 total revisions | |
279 | $ hg rollback |
|
232 | $ hg rollback | |
280 | repository tip rolled back to revision 2 (undo unbundle) |
|
233 | repository tip rolled back to revision 2 (undo unbundle) | |
281 | working directory now based on revision 2 |
|
234 | working directory now based on revision 2 | |
282 |
|
235 | |||
283 | revision 2 |
|
236 | revision 2 | |
284 |
|
237 | |||
285 | $ hg tip -q |
|
238 | $ hg tip -q | |
286 | 2:e38ba6f5b7e0 |
|
239 | 2:4ce51a113780 | |
287 | $ hg unbundle ../test-bundle-branch1.hg |
|
240 | $ hg unbundle ../test-bundle-branch1.hg | |
288 | adding changesets |
|
241 | adding changesets | |
289 | adding manifests |
|
242 | adding manifests | |
290 | adding file changes |
|
243 | adding file changes | |
291 | added 2 changesets with 2 changes to 2 files |
|
244 | added 2 changesets with 2 changes to 2 files | |
292 | (run 'hg update' to get a working copy) |
|
245 | (run 'hg update' to get a working copy) | |
293 |
|
246 | |||
294 | revision 4 |
|
247 | revision 4 | |
295 |
|
248 | |||
296 | $ hg tip -q |
|
249 | $ hg tip -q | |
297 | 4:aa35859c02ea |
|
250 | 4:916f1afdef90 | |
298 | $ hg verify |
|
251 | $ hg verify | |
299 | checking changesets |
|
252 | checking changesets | |
300 | checking manifests |
|
253 | checking manifests | |
301 | crosschecking files in changesets and manifests |
|
254 | crosschecking files in changesets and manifests | |
302 | checking files |
|
255 | checking files | |
303 | 2 files, 5 changesets, 5 total revisions |
|
256 | 2 files, 5 changesets, 5 total revisions | |
304 | $ hg rollback |
|
257 | $ hg rollback | |
305 | repository tip rolled back to revision 2 (undo unbundle) |
|
258 | repository tip rolled back to revision 2 (undo unbundle) | |
306 | working directory now based on revision 2 |
|
259 | working directory now based on revision 2 | |
307 | $ hg unbundle ../test-bundle-branch2.hg |
|
260 | $ hg unbundle ../test-bundle-branch2.hg | |
308 | adding changesets |
|
261 | adding changesets | |
309 | adding manifests |
|
262 | adding manifests | |
310 | adding file changes |
|
263 | adding file changes | |
311 | added 4 changesets with 3 changes to 3 files (+1 heads) |
|
264 | added 4 changesets with 3 changes to 3 files (+1 heads) | |
312 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
265 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
313 |
|
266 | |||
314 | revision 6 |
|
267 | revision 6 | |
315 |
|
268 | |||
316 | $ hg tip -q |
|
269 | $ hg tip -q | |
317 | 6:a6a34bfa0076 |
|
270 | 6:faa2e4234c7a | |
318 | $ hg verify |
|
271 | $ hg verify | |
319 | checking changesets |
|
272 | checking changesets | |
320 | checking manifests |
|
273 | checking manifests | |
321 | crosschecking files in changesets and manifests |
|
274 | crosschecking files in changesets and manifests | |
322 | checking files |
|
275 | checking files | |
323 | 3 files, 7 changesets, 6 total revisions |
|
276 | 3 files, 7 changesets, 6 total revisions | |
324 | $ hg rollback |
|
277 | $ hg rollback | |
325 | repository tip rolled back to revision 2 (undo unbundle) |
|
278 | repository tip rolled back to revision 2 (undo unbundle) | |
326 | working directory now based on revision 2 |
|
279 | working directory now based on revision 2 | |
327 | $ hg unbundle ../test-bundle-cset-7.hg |
|
280 | $ hg unbundle ../test-bundle-cset-7.hg | |
328 | adding changesets |
|
281 | adding changesets | |
329 | adding manifests |
|
282 | adding manifests | |
330 | adding file changes |
|
283 | adding file changes | |
331 | added 2 changesets with 2 changes to 2 files |
|
284 | added 2 changesets with 2 changes to 2 files | |
332 | (run 'hg update' to get a working copy) |
|
285 | (run 'hg update' to get a working copy) | |
333 |
|
286 | |||
334 | revision 4 |
|
287 | revision 4 | |
335 |
|
288 | |||
336 | $ hg tip -q |
|
289 | $ hg tip -q | |
337 | 4:aa35859c02ea |
|
290 | 4:916f1afdef90 | |
338 | $ hg verify |
|
291 | $ hg verify | |
339 | checking changesets |
|
292 | checking changesets | |
340 | checking manifests |
|
293 | checking manifests | |
341 | crosschecking files in changesets and manifests |
|
294 | crosschecking files in changesets and manifests | |
342 | checking files |
|
295 | checking files | |
343 | 2 files, 5 changesets, 5 total revisions |
|
296 | 2 files, 5 changesets, 5 total revisions | |
344 |
|
297 | |||
345 | $ cd ../test |
|
298 | $ cd ../test | |
346 | $ hg merge 7 |
|
299 | $ hg merge 7 | |
347 | note: possible conflict - afile was renamed multiple times to: |
|
300 | note: possible conflict - afile was renamed multiple times to: | |
348 | anotherfile |
|
301 | anotherfile | |
349 | adifferentfile |
|
302 | adifferentfile | |
350 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
303 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
351 | (branch merge, don't forget to commit) |
|
304 | (branch merge, don't forget to commit) | |
352 | $ hg ci -m merge |
|
305 | $ hg ci -m merge | |
353 | $ cd .. |
|
306 | $ cd .. | |
354 | $ hg -R test bundle --base 2 test-bundle-head.hg |
|
307 | $ hg -R test bundle --base 2 test-bundle-head.hg | |
355 | 7 changesets found |
|
308 | 7 changesets found | |
356 | $ hg clone test-2 test-10 |
|
309 | $ hg clone test-2 test-10 | |
357 | updating to branch default |
|
310 | updating to branch default | |
358 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
311 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
359 | $ cd test-10 |
|
312 | $ cd test-10 | |
360 | $ hg unbundle ../test-bundle-head.hg |
|
313 | $ hg unbundle ../test-bundle-head.hg | |
361 | adding changesets |
|
314 | adding changesets | |
362 | adding manifests |
|
315 | adding manifests | |
363 | adding file changes |
|
316 | adding file changes | |
364 | added 7 changesets with 4 changes to 4 files |
|
317 | added 7 changesets with 4 changes to 4 files | |
365 | (run 'hg update' to get a working copy) |
|
318 | (run 'hg update' to get a working copy) | |
366 |
|
319 | |||
367 | revision 9 |
|
320 | revision 9 | |
368 |
|
321 | |||
369 | $ hg tip -q |
|
322 | $ hg tip -q | |
370 | 9:905597b0d5d4 |
|
323 | 9:03fc0b0e347c | |
371 | $ hg verify |
|
324 | $ hg verify | |
372 | checking changesets |
|
325 | checking changesets | |
373 | checking manifests |
|
326 | checking manifests | |
374 | crosschecking files in changesets and manifests |
|
327 | crosschecking files in changesets and manifests | |
375 | checking files |
|
328 | checking files | |
376 | 4 files, 10 changesets, 7 total revisions |
|
329 | 4 files, 10 changesets, 7 total revisions |
@@ -1,264 +1,198 b'' | |||||
|
1 | creating 'remote | |||
1 |
|
2 | |||
2 | $ hg init remote |
|
3 | $ hg init remote | |
3 | $ cd remote |
|
4 | $ cd remote | |
4 |
|
5 | $ hg unbundle $TESTDIR/bundles/remote.hg | ||
5 | creating 'remote |
|
6 | adding changesets | |
6 |
|
7 | adding manifests | ||
7 | $ cat >>afile <<EOF |
|
8 | adding file changes | |
8 | > 0 |
|
9 | added 9 changesets with 7 changes to 4 files (+1 heads) | |
9 | > EOF |
|
10 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
10 |
$ hg |
|
11 | $ hg up tip | |
11 | $ hg commit -m "0.0" |
|
|||
12 | $ cat >>afile <<EOF |
|
|||
13 | > 1 |
|
|||
14 | > EOF |
|
|||
15 | $ hg commit -m "0.1" |
|
|||
16 | $ cat >>afile <<EOF |
|
|||
17 | > 2 |
|
|||
18 | > EOF |
|
|||
19 | $ hg commit -m "0.2" |
|
|||
20 | $ cat >>afile <<EOF |
|
|||
21 | > 3 |
|
|||
22 | > EOF |
|
|||
23 | $ hg commit -m "0.3" |
|
|||
24 | $ hg update -C 0 |
|
|||
25 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
12 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
26 | $ cat >>afile <<EOF |
|
|||
27 | > 1 |
|
|||
28 | > EOF |
|
|||
29 | $ hg commit -m "1.1" |
|
|||
30 | created new head |
|
|||
31 | $ cat >>afile <<EOF |
|
|||
32 | > 2 |
|
|||
33 | > EOF |
|
|||
34 | $ hg commit -m "1.2" |
|
|||
35 | $ cat >fred <<EOF |
|
|||
36 | > a line |
|
|||
37 | > EOF |
|
|||
38 | $ cat >>afile <<EOF |
|
|||
39 | > 3 |
|
|||
40 | > EOF |
|
|||
41 | $ hg add fred |
|
|||
42 | $ hg commit -m "1.3" |
|
|||
43 | $ hg mv afile adifferentfile |
|
|||
44 | $ hg commit -m "1.3m" |
|
|||
45 | $ hg update -C 3 |
|
|||
46 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
|||
47 | $ hg mv afile anotherfile |
|
|||
48 | $ hg commit -m "0.3m" |
|
|||
49 | $ hg debugindex .hg/store/data/afile.i |
|
|||
50 | rev offset length base linkrev nodeid p1 p2 |
|
|||
51 | 0 0 3 0 0 362fef284ce2 000000000000 000000000000 |
|
|||
52 | 1 3 5 1 1 125144f7e028 362fef284ce2 000000000000 |
|
|||
53 | 2 8 7 2 2 4c982badb186 125144f7e028 000000000000 |
|
|||
54 | 3 15 9 3 3 19b1fc555737 4c982badb186 000000000000 |
|
|||
55 | $ hg debugindex .hg/store/data/adifferentfile.i |
|
|||
56 | rev offset length base linkrev nodeid p1 p2 |
|
|||
57 | 0 0 75 0 7 2565f3199a74 000000000000 000000000000 |
|
|||
58 | $ hg debugindex .hg/store/data/anotherfile.i |
|
|||
59 | rev offset length base linkrev nodeid p1 p2 |
|
|||
60 | 0 0 75 0 8 2565f3199a74 000000000000 000000000000 |
|
|||
61 | $ hg debugindex .hg/store/data/fred.i |
|
|||
62 | rev offset length base linkrev nodeid p1 p2 |
|
|||
63 | 0 0 8 0 6 12ab3bcc5ea4 000000000000 000000000000 |
|
|||
64 | $ hg debugindex .hg/store/00manifest.i |
|
|||
65 | rev offset length base linkrev nodeid p1 p2 |
|
|||
66 | 0 0 48 0 0 43eadb1d2d06 000000000000 000000000000 |
|
|||
67 | 1 48 48 1 1 8b89697eba2c 43eadb1d2d06 000000000000 |
|
|||
68 | 2 96 48 2 2 626a32663c2f 8b89697eba2c 000000000000 |
|
|||
69 | 3 144 48 3 3 f54c32f13478 626a32663c2f 000000000000 |
|
|||
70 | 4 192 58 3 6 de68e904d169 626a32663c2f 000000000000 |
|
|||
71 | 5 250 68 3 7 09bb521d218d de68e904d169 000000000000 |
|
|||
72 | 6 318 54 6 8 1fde233dfb0f f54c32f13478 000000000000 |
|
|||
73 | $ hg verify |
|
|||
74 | checking changesets |
|
|||
75 | checking manifests |
|
|||
76 | crosschecking files in changesets and manifests |
|
|||
77 | checking files |
|
|||
78 | 4 files, 9 changesets, 7 total revisions |
|
|||
79 |
|
13 | |||
80 | Starting server |
|
14 | Starting server | |
81 |
|
15 | |||
82 | $ hg serve -p $HGPORT -E ../error.log -d --pid-file=../hg1.pid |
|
16 | $ hg serve -p $HGPORT -E ../error.log -d --pid-file=../hg1.pid | |
83 | $ cd .. |
|
17 | $ cd .. | |
84 | $ cat hg1.pid >> $DAEMON_PIDS |
|
18 | $ cat hg1.pid >> $DAEMON_PIDS | |
85 |
|
19 | |||
86 | clone remote via stream |
|
20 | clone remote via stream | |
87 |
|
21 | |||
88 | $ for i in 0 1 2 3 4 5 6 7 8; do |
|
22 | $ for i in 0 1 2 3 4 5 6 7 8; do | |
89 | > hg clone -r "$i" http://localhost:$HGPORT/ test-"$i" |
|
23 | > hg clone -r "$i" http://localhost:$HGPORT/ test-"$i" | |
90 | > if cd test-"$i"; then |
|
24 | > if cd test-"$i"; then | |
91 | > hg verify |
|
25 | > hg verify | |
92 | > cd .. |
|
26 | > cd .. | |
93 | > fi |
|
27 | > fi | |
94 | > done |
|
28 | > done | |
95 | adding changesets |
|
29 | adding changesets | |
96 | adding manifests |
|
30 | adding manifests | |
97 | adding file changes |
|
31 | adding file changes | |
98 | added 1 changesets with 1 changes to 1 files |
|
32 | added 1 changesets with 1 changes to 1 files | |
99 | updating to branch default |
|
33 | updating to branch default | |
100 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
34 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
101 | checking changesets |
|
35 | checking changesets | |
102 | checking manifests |
|
36 | checking manifests | |
103 | crosschecking files in changesets and manifests |
|
37 | crosschecking files in changesets and manifests | |
104 | checking files |
|
38 | checking files | |
105 | 1 files, 1 changesets, 1 total revisions |
|
39 | 1 files, 1 changesets, 1 total revisions | |
106 | adding changesets |
|
40 | adding changesets | |
107 | adding manifests |
|
41 | adding manifests | |
108 | adding file changes |
|
42 | adding file changes | |
109 | added 2 changesets with 2 changes to 1 files |
|
43 | added 2 changesets with 2 changes to 1 files | |
110 | updating to branch default |
|
44 | updating to branch default | |
111 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
45 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
112 | checking changesets |
|
46 | checking changesets | |
113 | checking manifests |
|
47 | checking manifests | |
114 | crosschecking files in changesets and manifests |
|
48 | crosschecking files in changesets and manifests | |
115 | checking files |
|
49 | checking files | |
116 | 1 files, 2 changesets, 2 total revisions |
|
50 | 1 files, 2 changesets, 2 total revisions | |
117 | adding changesets |
|
51 | adding changesets | |
118 | adding manifests |
|
52 | adding manifests | |
119 | adding file changes |
|
53 | adding file changes | |
120 | added 3 changesets with 3 changes to 1 files |
|
54 | added 3 changesets with 3 changes to 1 files | |
121 | updating to branch default |
|
55 | updating to branch default | |
122 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
56 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
123 | checking changesets |
|
57 | checking changesets | |
124 | checking manifests |
|
58 | checking manifests | |
125 | crosschecking files in changesets and manifests |
|
59 | crosschecking files in changesets and manifests | |
126 | checking files |
|
60 | checking files | |
127 | 1 files, 3 changesets, 3 total revisions |
|
61 | 1 files, 3 changesets, 3 total revisions | |
128 | adding changesets |
|
62 | adding changesets | |
129 | adding manifests |
|
63 | adding manifests | |
130 | adding file changes |
|
64 | adding file changes | |
131 | added 4 changesets with 4 changes to 1 files |
|
65 | added 4 changesets with 4 changes to 1 files | |
132 | updating to branch default |
|
66 | updating to branch default | |
133 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
67 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
134 | checking changesets |
|
68 | checking changesets | |
135 | checking manifests |
|
69 | checking manifests | |
136 | crosschecking files in changesets and manifests |
|
70 | crosschecking files in changesets and manifests | |
137 | checking files |
|
71 | checking files | |
138 | 1 files, 4 changesets, 4 total revisions |
|
72 | 1 files, 4 changesets, 4 total revisions | |
139 | adding changesets |
|
73 | adding changesets | |
140 | adding manifests |
|
74 | adding manifests | |
141 | adding file changes |
|
75 | adding file changes | |
142 | added 2 changesets with 2 changes to 1 files |
|
76 | added 2 changesets with 2 changes to 1 files | |
143 | updating to branch default |
|
77 | updating to branch default | |
144 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
78 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
145 | checking changesets |
|
79 | checking changesets | |
146 | checking manifests |
|
80 | checking manifests | |
147 | crosschecking files in changesets and manifests |
|
81 | crosschecking files in changesets and manifests | |
148 | checking files |
|
82 | checking files | |
149 | 1 files, 2 changesets, 2 total revisions |
|
83 | 1 files, 2 changesets, 2 total revisions | |
150 | adding changesets |
|
84 | adding changesets | |
151 | adding manifests |
|
85 | adding manifests | |
152 | adding file changes |
|
86 | adding file changes | |
153 | added 3 changesets with 3 changes to 1 files |
|
87 | added 3 changesets with 3 changes to 1 files | |
154 | updating to branch default |
|
88 | updating to branch default | |
155 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
89 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
156 | checking changesets |
|
90 | checking changesets | |
157 | checking manifests |
|
91 | checking manifests | |
158 | crosschecking files in changesets and manifests |
|
92 | crosschecking files in changesets and manifests | |
159 | checking files |
|
93 | checking files | |
160 | 1 files, 3 changesets, 3 total revisions |
|
94 | 1 files, 3 changesets, 3 total revisions | |
161 | adding changesets |
|
95 | adding changesets | |
162 | adding manifests |
|
96 | adding manifests | |
163 | adding file changes |
|
97 | adding file changes | |
164 | added 4 changesets with 5 changes to 2 files |
|
98 | added 4 changesets with 5 changes to 2 files | |
165 | updating to branch default |
|
99 | updating to branch default | |
166 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
100 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
167 | checking changesets |
|
101 | checking changesets | |
168 | checking manifests |
|
102 | checking manifests | |
169 | crosschecking files in changesets and manifests |
|
103 | crosschecking files in changesets and manifests | |
170 | checking files |
|
104 | checking files | |
171 | 2 files, 4 changesets, 5 total revisions |
|
105 | 2 files, 4 changesets, 5 total revisions | |
172 | adding changesets |
|
106 | adding changesets | |
173 | adding manifests |
|
107 | adding manifests | |
174 | adding file changes |
|
108 | adding file changes | |
175 | added 5 changesets with 6 changes to 3 files |
|
109 | added 5 changesets with 6 changes to 3 files | |
176 | updating to branch default |
|
110 | updating to branch default | |
177 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
111 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
178 | checking changesets |
|
112 | checking changesets | |
179 | checking manifests |
|
113 | checking manifests | |
180 | crosschecking files in changesets and manifests |
|
114 | crosschecking files in changesets and manifests | |
181 | checking files |
|
115 | checking files | |
182 | 3 files, 5 changesets, 6 total revisions |
|
116 | 3 files, 5 changesets, 6 total revisions | |
183 | adding changesets |
|
117 | adding changesets | |
184 | adding manifests |
|
118 | adding manifests | |
185 | adding file changes |
|
119 | adding file changes | |
186 | added 5 changesets with 5 changes to 2 files |
|
120 | added 5 changesets with 5 changes to 2 files | |
187 | updating to branch default |
|
121 | updating to branch default | |
188 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
122 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
189 | checking changesets |
|
123 | checking changesets | |
190 | checking manifests |
|
124 | checking manifests | |
191 | crosschecking files in changesets and manifests |
|
125 | crosschecking files in changesets and manifests | |
192 | checking files |
|
126 | checking files | |
193 | 2 files, 5 changesets, 5 total revisions |
|
127 | 2 files, 5 changesets, 5 total revisions | |
194 | $ cd test-8 |
|
128 | $ cd test-8 | |
195 | $ hg pull ../test-7 |
|
129 | $ hg pull ../test-7 | |
196 | pulling from ../test-7 |
|
130 | pulling from ../test-7 | |
197 | searching for changes |
|
131 | searching for changes | |
198 | adding changesets |
|
132 | adding changesets | |
199 | adding manifests |
|
133 | adding manifests | |
200 | adding file changes |
|
134 | adding file changes | |
201 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
135 | added 4 changesets with 2 changes to 3 files (+1 heads) | |
202 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
136 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
203 | $ hg verify |
|
137 | $ hg verify | |
204 | checking changesets |
|
138 | checking changesets | |
205 | checking manifests |
|
139 | checking manifests | |
206 | crosschecking files in changesets and manifests |
|
140 | crosschecking files in changesets and manifests | |
207 | checking files |
|
141 | checking files | |
208 | 4 files, 9 changesets, 7 total revisions |
|
142 | 4 files, 9 changesets, 7 total revisions | |
209 | $ cd .. |
|
143 | $ cd .. | |
210 | $ cd test-1 |
|
144 | $ cd test-1 | |
211 | $ hg pull -r 4 http://localhost:$HGPORT/ |
|
145 | $ hg pull -r 4 http://localhost:$HGPORT/ | |
212 | pulling from http://localhost:$HGPORT/ |
|
146 | pulling from http://localhost:$HGPORT/ | |
213 | searching for changes |
|
147 | searching for changes | |
214 | adding changesets |
|
148 | adding changesets | |
215 | adding manifests |
|
149 | adding manifests | |
216 | adding file changes |
|
150 | adding file changes | |
217 | added 1 changesets with 0 changes to 0 files (+1 heads) |
|
151 | added 1 changesets with 0 changes to 0 files (+1 heads) | |
218 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
152 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
219 | $ hg verify |
|
153 | $ hg verify | |
220 | checking changesets |
|
154 | checking changesets | |
221 | checking manifests |
|
155 | checking manifests | |
222 | crosschecking files in changesets and manifests |
|
156 | crosschecking files in changesets and manifests | |
223 | checking files |
|
157 | checking files | |
224 | 1 files, 3 changesets, 2 total revisions |
|
158 | 1 files, 3 changesets, 2 total revisions | |
225 | $ hg pull http://localhost:$HGPORT/ |
|
159 | $ hg pull http://localhost:$HGPORT/ | |
226 | pulling from http://localhost:$HGPORT/ |
|
160 | pulling from http://localhost:$HGPORT/ | |
227 | searching for changes |
|
161 | searching for changes | |
228 | adding changesets |
|
162 | adding changesets | |
229 | adding manifests |
|
163 | adding manifests | |
230 | adding file changes |
|
164 | adding file changes | |
231 | added 6 changesets with 5 changes to 4 files |
|
165 | added 6 changesets with 5 changes to 4 files | |
232 | (run 'hg update' to get a working copy) |
|
166 | (run 'hg update' to get a working copy) | |
233 | $ cd .. |
|
167 | $ cd .. | |
234 | $ cd test-2 |
|
168 | $ cd test-2 | |
235 | $ hg pull -r 5 http://localhost:$HGPORT/ |
|
169 | $ hg pull -r 5 http://localhost:$HGPORT/ | |
236 | pulling from http://localhost:$HGPORT/ |
|
170 | pulling from http://localhost:$HGPORT/ | |
237 | searching for changes |
|
171 | searching for changes | |
238 | adding changesets |
|
172 | adding changesets | |
239 | adding manifests |
|
173 | adding manifests | |
240 | adding file changes |
|
174 | adding file changes | |
241 | added 2 changesets with 0 changes to 0 files (+1 heads) |
|
175 | added 2 changesets with 0 changes to 0 files (+1 heads) | |
242 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
176 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
243 | $ hg verify |
|
177 | $ hg verify | |
244 | checking changesets |
|
178 | checking changesets | |
245 | checking manifests |
|
179 | checking manifests | |
246 | crosschecking files in changesets and manifests |
|
180 | crosschecking files in changesets and manifests | |
247 | checking files |
|
181 | checking files | |
248 | 1 files, 5 changesets, 3 total revisions |
|
182 | 1 files, 5 changesets, 3 total revisions | |
249 | $ hg pull http://localhost:$HGPORT/ |
|
183 | $ hg pull http://localhost:$HGPORT/ | |
250 | pulling from http://localhost:$HGPORT/ |
|
184 | pulling from http://localhost:$HGPORT/ | |
251 | searching for changes |
|
185 | searching for changes | |
252 | adding changesets |
|
186 | adding changesets | |
253 | adding manifests |
|
187 | adding manifests | |
254 | adding file changes |
|
188 | adding file changes | |
255 | added 4 changesets with 4 changes to 4 files |
|
189 | added 4 changesets with 4 changes to 4 files | |
256 | (run 'hg update' to get a working copy) |
|
190 | (run 'hg update' to get a working copy) | |
257 | $ hg verify |
|
191 | $ hg verify | |
258 | checking changesets |
|
192 | checking changesets | |
259 | checking manifests |
|
193 | checking manifests | |
260 | crosschecking files in changesets and manifests |
|
194 | crosschecking files in changesets and manifests | |
261 | checking files |
|
195 | checking files | |
262 | 4 files, 9 changesets, 7 total revisions |
|
196 | 4 files, 9 changesets, 7 total revisions | |
263 | $ cd .. |
|
197 | $ cd .. | |
264 | $ cat error.log |
|
198 | $ cat error.log |
@@ -1,230 +1,148 b'' | |||||
1 | $ hg init test |
|
1 | $ hg init test | |
2 | $ cd test |
|
2 | $ cd test | |
3 |
|
3 | $ hg unbundle $TESTDIR/bundles/remote.hg | ||
4 | $ cat >>afile <<EOF |
|
4 | adding changesets | |
5 | > 0 |
|
5 | adding manifests | |
6 | > EOF |
|
6 | adding file changes | |
7 | $ hg add afile |
|
7 | added 9 changesets with 7 changes to 4 files (+1 heads) | |
8 | $ hg commit -m "0.0" |
|
8 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
9 |
|
9 | $ hg up tip | ||
10 | $ cat >>afile <<EOF |
|
|||
11 | > 1 |
|
|||
12 | > EOF |
|
|||
13 | $ hg commit -m "0.1" |
|
|||
14 |
|
||||
15 | $ cat >>afile <<EOF |
|
|||
16 | > 2 |
|
|||
17 | > EOF |
|
|||
18 | $ hg commit -m "0.2" |
|
|||
19 |
|
||||
20 | $ cat >>afile <<EOF |
|
|||
21 | > 3 |
|
|||
22 | > EOF |
|
|||
23 | $ hg commit -m "0.3" |
|
|||
24 |
|
||||
25 | $ hg update -C 0 |
|
|||
26 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
10 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
27 |
|
||||
28 | $ cat >>afile <<EOF |
|
|||
29 | > 1 |
|
|||
30 | > EOF |
|
|||
31 | $ hg commit -m "1.1" |
|
|||
32 | created new head |
|
|||
33 |
|
||||
34 | $ cat >>afile <<EOF |
|
|||
35 | > 2 |
|
|||
36 | > EOF |
|
|||
37 | $ hg commit -m "1.2" |
|
|||
38 |
|
||||
39 | $ cat >fred <<EOF |
|
|||
40 | > a line |
|
|||
41 | > EOF |
|
|||
42 | $ cat >>afile <<EOF |
|
|||
43 | > 3 |
|
|||
44 | > EOF |
|
|||
45 | $ hg add fred |
|
|||
46 | $ hg commit -m "1.3" |
|
|||
47 |
|
||||
48 | $ hg mv afile adifferentfile |
|
|||
49 | $ hg commit -m "1.3m" |
|
|||
50 |
|
||||
51 | $ hg update -C 3 |
|
|||
52 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
|||
53 |
|
||||
54 | $ hg mv afile anotherfile |
|
|||
55 | $ hg commit -m "0.3m" |
|
|||
56 |
|
||||
57 | $ hg debugindex .hg/store/data/afile.i |
|
|||
58 | rev offset length base linkrev nodeid p1 p2 |
|
|||
59 | 0 0 3 0 0 362fef284ce2 000000000000 000000000000 |
|
|||
60 | 1 3 5 1 1 125144f7e028 362fef284ce2 000000000000 |
|
|||
61 | 2 8 7 2 2 4c982badb186 125144f7e028 000000000000 |
|
|||
62 | 3 15 9 3 3 19b1fc555737 4c982badb186 000000000000 |
|
|||
63 |
|
||||
64 | $ hg debugindex .hg/store/data/adifferentfile.i |
|
|||
65 | rev offset length base linkrev nodeid p1 p2 |
|
|||
66 | 0 0 75 0 7 2565f3199a74 000000000000 000000000000 |
|
|||
67 |
|
||||
68 | $ hg debugindex .hg/store/data/anotherfile.i |
|
|||
69 | rev offset length base linkrev nodeid p1 p2 |
|
|||
70 | 0 0 75 0 8 2565f3199a74 000000000000 000000000000 |
|
|||
71 |
|
||||
72 | $ hg debugindex .hg/store/data/fred.i |
|
|||
73 | rev offset length base linkrev nodeid p1 p2 |
|
|||
74 | 0 0 8 0 6 12ab3bcc5ea4 000000000000 000000000000 |
|
|||
75 |
|
||||
76 | $ hg debugindex .hg/store/00manifest.i |
|
|||
77 | rev offset length base linkrev nodeid p1 p2 |
|
|||
78 | 0 0 48 0 0 43eadb1d2d06 000000000000 000000000000 |
|
|||
79 | 1 48 48 1 1 8b89697eba2c 43eadb1d2d06 000000000000 |
|
|||
80 | 2 96 48 2 2 626a32663c2f 8b89697eba2c 000000000000 |
|
|||
81 | 3 144 48 3 3 f54c32f13478 626a32663c2f 000000000000 |
|
|||
82 | 4 192 58 3 6 de68e904d169 626a32663c2f 000000000000 |
|
|||
83 | 5 250 68 3 7 09bb521d218d de68e904d169 000000000000 |
|
|||
84 | 6 318 54 6 8 1fde233dfb0f f54c32f13478 000000000000 |
|
|||
85 |
|
||||
86 | $ hg verify |
|
|||
87 | checking changesets |
|
|||
88 | checking manifests |
|
|||
89 | crosschecking files in changesets and manifests |
|
|||
90 | checking files |
|
|||
91 | 4 files, 9 changesets, 7 total revisions |
|
|||
92 |
|
||||
93 | $ cd .. |
|
11 | $ cd .. | |
94 |
|
12 | |||
95 | $ for i in 0 1 2 3 4 5 6 7 8; do |
|
13 | $ for i in 0 1 2 3 4 5 6 7 8; do | |
96 | > echo |
|
14 | > echo | |
97 | > mkdir test-"$i" |
|
15 | > mkdir test-"$i" | |
98 | > hg --cwd test-"$i" init |
|
16 | > hg --cwd test-"$i" init | |
99 | > hg -R test push -r "$i" test-"$i" |
|
17 | > hg -R test push -r "$i" test-"$i" | |
100 | > cd test-"$i" |
|
18 | > cd test-"$i" | |
101 | > hg verify |
|
19 | > hg verify | |
102 | > cd .. |
|
20 | > cd .. | |
103 | > done |
|
21 | > done | |
104 |
|
22 | |||
105 | pushing to test-0 |
|
23 | pushing to test-0 | |
106 | searching for changes |
|
24 | searching for changes | |
107 | adding changesets |
|
25 | adding changesets | |
108 | adding manifests |
|
26 | adding manifests | |
109 | adding file changes |
|
27 | adding file changes | |
110 | added 1 changesets with 1 changes to 1 files |
|
28 | added 1 changesets with 1 changes to 1 files | |
111 | checking changesets |
|
29 | checking changesets | |
112 | checking manifests |
|
30 | checking manifests | |
113 | crosschecking files in changesets and manifests |
|
31 | crosschecking files in changesets and manifests | |
114 | checking files |
|
32 | checking files | |
115 | 1 files, 1 changesets, 1 total revisions |
|
33 | 1 files, 1 changesets, 1 total revisions | |
116 |
|
34 | |||
117 | pushing to test-1 |
|
35 | pushing to test-1 | |
118 | searching for changes |
|
36 | searching for changes | |
119 | adding changesets |
|
37 | adding changesets | |
120 | adding manifests |
|
38 | adding manifests | |
121 | adding file changes |
|
39 | adding file changes | |
122 | added 2 changesets with 2 changes to 1 files |
|
40 | added 2 changesets with 2 changes to 1 files | |
123 | checking changesets |
|
41 | checking changesets | |
124 | checking manifests |
|
42 | checking manifests | |
125 | crosschecking files in changesets and manifests |
|
43 | crosschecking files in changesets and manifests | |
126 | checking files |
|
44 | checking files | |
127 | 1 files, 2 changesets, 2 total revisions |
|
45 | 1 files, 2 changesets, 2 total revisions | |
128 |
|
46 | |||
129 | pushing to test-2 |
|
47 | pushing to test-2 | |
130 | searching for changes |
|
48 | searching for changes | |
131 | adding changesets |
|
49 | adding changesets | |
132 | adding manifests |
|
50 | adding manifests | |
133 | adding file changes |
|
51 | adding file changes | |
134 | added 3 changesets with 3 changes to 1 files |
|
52 | added 3 changesets with 3 changes to 1 files | |
135 | checking changesets |
|
53 | checking changesets | |
136 | checking manifests |
|
54 | checking manifests | |
137 | crosschecking files in changesets and manifests |
|
55 | crosschecking files in changesets and manifests | |
138 | checking files |
|
56 | checking files | |
139 | 1 files, 3 changesets, 3 total revisions |
|
57 | 1 files, 3 changesets, 3 total revisions | |
140 |
|
58 | |||
141 | pushing to test-3 |
|
59 | pushing to test-3 | |
142 | searching for changes |
|
60 | searching for changes | |
143 | adding changesets |
|
61 | adding changesets | |
144 | adding manifests |
|
62 | adding manifests | |
145 | adding file changes |
|
63 | adding file changes | |
146 | added 4 changesets with 4 changes to 1 files |
|
64 | added 4 changesets with 4 changes to 1 files | |
147 | checking changesets |
|
65 | checking changesets | |
148 | checking manifests |
|
66 | checking manifests | |
149 | crosschecking files in changesets and manifests |
|
67 | crosschecking files in changesets and manifests | |
150 | checking files |
|
68 | checking files | |
151 | 1 files, 4 changesets, 4 total revisions |
|
69 | 1 files, 4 changesets, 4 total revisions | |
152 |
|
70 | |||
153 | pushing to test-4 |
|
71 | pushing to test-4 | |
154 | searching for changes |
|
72 | searching for changes | |
155 | adding changesets |
|
73 | adding changesets | |
156 | adding manifests |
|
74 | adding manifests | |
157 | adding file changes |
|
75 | adding file changes | |
158 | added 2 changesets with 2 changes to 1 files |
|
76 | added 2 changesets with 2 changes to 1 files | |
159 | checking changesets |
|
77 | checking changesets | |
160 | checking manifests |
|
78 | checking manifests | |
161 | crosschecking files in changesets and manifests |
|
79 | crosschecking files in changesets and manifests | |
162 | checking files |
|
80 | checking files | |
163 | 1 files, 2 changesets, 2 total revisions |
|
81 | 1 files, 2 changesets, 2 total revisions | |
164 |
|
82 | |||
165 | pushing to test-5 |
|
83 | pushing to test-5 | |
166 | searching for changes |
|
84 | searching for changes | |
167 | adding changesets |
|
85 | adding changesets | |
168 | adding manifests |
|
86 | adding manifests | |
169 | adding file changes |
|
87 | adding file changes | |
170 | added 3 changesets with 3 changes to 1 files |
|
88 | added 3 changesets with 3 changes to 1 files | |
171 | checking changesets |
|
89 | checking changesets | |
172 | checking manifests |
|
90 | checking manifests | |
173 | crosschecking files in changesets and manifests |
|
91 | crosschecking files in changesets and manifests | |
174 | checking files |
|
92 | checking files | |
175 | 1 files, 3 changesets, 3 total revisions |
|
93 | 1 files, 3 changesets, 3 total revisions | |
176 |
|
94 | |||
177 | pushing to test-6 |
|
95 | pushing to test-6 | |
178 | searching for changes |
|
96 | searching for changes | |
179 | adding changesets |
|
97 | adding changesets | |
180 | adding manifests |
|
98 | adding manifests | |
181 | adding file changes |
|
99 | adding file changes | |
182 | added 4 changesets with 5 changes to 2 files |
|
100 | added 4 changesets with 5 changes to 2 files | |
183 | checking changesets |
|
101 | checking changesets | |
184 | checking manifests |
|
102 | checking manifests | |
185 | crosschecking files in changesets and manifests |
|
103 | crosschecking files in changesets and manifests | |
186 | checking files |
|
104 | checking files | |
187 | 2 files, 4 changesets, 5 total revisions |
|
105 | 2 files, 4 changesets, 5 total revisions | |
188 |
|
106 | |||
189 | pushing to test-7 |
|
107 | pushing to test-7 | |
190 | searching for changes |
|
108 | searching for changes | |
191 | adding changesets |
|
109 | adding changesets | |
192 | adding manifests |
|
110 | adding manifests | |
193 | adding file changes |
|
111 | adding file changes | |
194 | added 5 changesets with 6 changes to 3 files |
|
112 | added 5 changesets with 6 changes to 3 files | |
195 | checking changesets |
|
113 | checking changesets | |
196 | checking manifests |
|
114 | checking manifests | |
197 | crosschecking files in changesets and manifests |
|
115 | crosschecking files in changesets and manifests | |
198 | checking files |
|
116 | checking files | |
199 | 3 files, 5 changesets, 6 total revisions |
|
117 | 3 files, 5 changesets, 6 total revisions | |
200 |
|
118 | |||
201 | pushing to test-8 |
|
119 | pushing to test-8 | |
202 | searching for changes |
|
120 | searching for changes | |
203 | adding changesets |
|
121 | adding changesets | |
204 | adding manifests |
|
122 | adding manifests | |
205 | adding file changes |
|
123 | adding file changes | |
206 | added 5 changesets with 5 changes to 2 files |
|
124 | added 5 changesets with 5 changes to 2 files | |
207 | checking changesets |
|
125 | checking changesets | |
208 | checking manifests |
|
126 | checking manifests | |
209 | crosschecking files in changesets and manifests |
|
127 | crosschecking files in changesets and manifests | |
210 | checking files |
|
128 | checking files | |
211 | 2 files, 5 changesets, 5 total revisions |
|
129 | 2 files, 5 changesets, 5 total revisions | |
212 |
|
130 | |||
213 | $ cd test-8 |
|
131 | $ cd test-8 | |
214 |
|
132 | |||
215 | $ hg pull ../test-7 |
|
133 | $ hg pull ../test-7 | |
216 | pulling from ../test-7 |
|
134 | pulling from ../test-7 | |
217 | searching for changes |
|
135 | searching for changes | |
218 | adding changesets |
|
136 | adding changesets | |
219 | adding manifests |
|
137 | adding manifests | |
220 | adding file changes |
|
138 | adding file changes | |
221 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
139 | added 4 changesets with 2 changes to 3 files (+1 heads) | |
222 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
140 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
223 |
|
141 | |||
224 | $ hg verify |
|
142 | $ hg verify | |
225 | checking changesets |
|
143 | checking changesets | |
226 | checking manifests |
|
144 | checking manifests | |
227 | crosschecking files in changesets and manifests |
|
145 | crosschecking files in changesets and manifests | |
228 | checking files |
|
146 | checking files | |
229 | 4 files, 9 changesets, 7 total revisions |
|
147 | 4 files, 9 changesets, 7 total revisions | |
230 |
|
148 |
@@ -1,280 +1,216 b'' | |||||
1 | This test tries to exercise the ssh functionality with a dummy script |
|
1 | This test tries to exercise the ssh functionality with a dummy script | |
2 |
|
2 | |||
3 | $ cat <<EOF > dummyssh |
|
3 | $ cat <<EOF > dummyssh | |
4 | > import sys |
|
4 | > import sys | |
5 | > import os |
|
5 | > import os | |
6 | > |
|
6 | > | |
7 | > os.chdir(os.path.dirname(sys.argv[0])) |
|
7 | > os.chdir(os.path.dirname(sys.argv[0])) | |
8 | > if sys.argv[1] != "user@dummy": |
|
8 | > if sys.argv[1] != "user@dummy": | |
9 | > sys.exit(-1) |
|
9 | > sys.exit(-1) | |
10 | > |
|
10 | > | |
11 | > if not os.path.exists("dummyssh"): |
|
11 | > if not os.path.exists("dummyssh"): | |
12 | > sys.exit(-1) |
|
12 | > sys.exit(-1) | |
13 | > |
|
13 | > | |
14 | > os.environ["SSH_CLIENT"] = "127.0.0.1 1 2" |
|
14 | > os.environ["SSH_CLIENT"] = "127.0.0.1 1 2" | |
15 | > |
|
15 | > | |
16 | > log = open("dummylog", "ab") |
|
16 | > log = open("dummylog", "ab") | |
17 | > log.write("Got arguments") |
|
17 | > log.write("Got arguments") | |
18 | > for i, arg in enumerate(sys.argv[1:]): |
|
18 | > for i, arg in enumerate(sys.argv[1:]): | |
19 | > log.write(" %d:%s" % (i+1, arg)) |
|
19 | > log.write(" %d:%s" % (i+1, arg)) | |
20 | > log.write("\n") |
|
20 | > log.write("\n") | |
21 | > log.close() |
|
21 | > log.close() | |
22 | > r = os.system(sys.argv[2]) |
|
22 | > r = os.system(sys.argv[2]) | |
23 | > sys.exit(bool(r)) |
|
23 | > sys.exit(bool(r)) | |
24 | > EOF |
|
24 | > EOF | |
25 | $ hg init remote |
|
|||
26 | $ cd remote |
|
|||
27 |
|
25 | |||
28 | creating 'remote |
|
26 | creating 'remote | |
29 |
|
27 | |||
30 | $ cat >>afile <<EOF |
|
28 | $ hg init remote | |
31 | > 0 |
|
29 | $ cd remote | |
32 | > EOF |
|
30 | $ hg unbundle $TESTDIR/bundles/remote.hg | |
33 | $ hg add afile |
|
31 | adding changesets | |
34 | $ hg commit -m "0.0" |
|
32 | adding manifests | |
35 | $ cat >>afile <<EOF |
|
33 | adding file changes | |
36 | > 1 |
|
34 | added 9 changesets with 7 changes to 4 files (+1 heads) | |
37 | > EOF |
|
35 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
38 | $ hg commit -m "0.1" |
|
36 | $ hg up tip | |
39 | $ cat >>afile <<EOF |
|
|||
40 | > 2 |
|
|||
41 | > EOF |
|
|||
42 | $ hg commit -m "0.2" |
|
|||
43 | $ cat >>afile <<EOF |
|
|||
44 | > 3 |
|
|||
45 | > EOF |
|
|||
46 | $ hg commit -m "0.3" |
|
|||
47 | $ hg update -C 0 |
|
|||
48 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
37 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
49 | $ cat >>afile <<EOF |
|
|||
50 | > 1 |
|
|||
51 | > EOF |
|
|||
52 | $ hg commit -m "1.1" |
|
|||
53 | created new head |
|
|||
54 | $ cat >>afile <<EOF |
|
|||
55 | > 2 |
|
|||
56 | > EOF |
|
|||
57 | $ hg commit -m "1.2" |
|
|||
58 | $ cat >fred <<EOF |
|
|||
59 | > a line |
|
|||
60 | > EOF |
|
|||
61 | $ cat >>afile <<EOF |
|
|||
62 | > 3 |
|
|||
63 | > EOF |
|
|||
64 | $ hg add fred |
|
|||
65 | $ hg commit -m "1.3" |
|
|||
66 | $ hg mv afile adifferentfile |
|
|||
67 | $ hg commit -m "1.3m" |
|
|||
68 | $ hg update -C 3 |
|
|||
69 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
|||
70 | $ hg mv afile anotherfile |
|
|||
71 | $ hg commit -m "0.3m" |
|
|||
72 | $ hg debugindex .hg/store/data/afile.i |
|
|||
73 | rev offset length base linkrev nodeid p1 p2 |
|
|||
74 | 0 0 3 0 0 362fef284ce2 000000000000 000000000000 |
|
|||
75 | 1 3 5 1 1 125144f7e028 362fef284ce2 000000000000 |
|
|||
76 | 2 8 7 2 2 4c982badb186 125144f7e028 000000000000 |
|
|||
77 | 3 15 9 3 3 19b1fc555737 4c982badb186 000000000000 |
|
|||
78 | $ hg debugindex .hg/store/data/adifferentfile.i |
|
|||
79 | rev offset length base linkrev nodeid p1 p2 |
|
|||
80 | 0 0 75 0 7 2565f3199a74 000000000000 000000000000 |
|
|||
81 | $ hg debugindex .hg/store/data/anotherfile.i |
|
|||
82 | rev offset length base linkrev nodeid p1 p2 |
|
|||
83 | 0 0 75 0 8 2565f3199a74 000000000000 000000000000 |
|
|||
84 | $ hg debugindex .hg/store/data/fred.i |
|
|||
85 | rev offset length base linkrev nodeid p1 p2 |
|
|||
86 | 0 0 8 0 6 12ab3bcc5ea4 000000000000 000000000000 |
|
|||
87 | $ hg debugindex .hg/store/00manifest.i |
|
|||
88 | rev offset length base linkrev nodeid p1 p2 |
|
|||
89 | 0 0 48 0 0 43eadb1d2d06 000000000000 000000000000 |
|
|||
90 | 1 48 48 1 1 8b89697eba2c 43eadb1d2d06 000000000000 |
|
|||
91 | 2 96 48 2 2 626a32663c2f 8b89697eba2c 000000000000 |
|
|||
92 | 3 144 48 3 3 f54c32f13478 626a32663c2f 000000000000 |
|
|||
93 | 4 192 58 3 6 de68e904d169 626a32663c2f 000000000000 |
|
|||
94 | 5 250 68 3 7 09bb521d218d de68e904d169 000000000000 |
|
|||
95 | 6 318 54 6 8 1fde233dfb0f f54c32f13478 000000000000 |
|
|||
96 | $ hg verify |
|
|||
97 | checking changesets |
|
|||
98 | checking manifests |
|
|||
99 | crosschecking files in changesets and manifests |
|
|||
100 | checking files |
|
|||
101 | 4 files, 9 changesets, 7 total revisions |
|
|||
102 | $ cd .. |
|
38 | $ cd .. | |
103 |
|
39 | |||
104 | clone remote via stream |
|
40 | clone remote via stream | |
105 |
|
41 | |||
106 | $ for i in 0 1 2 3 4 5 6 7 8; do |
|
42 | $ for i in 0 1 2 3 4 5 6 7 8; do | |
107 | > hg clone -e "python ./dummyssh" --uncompressed -r "$i" ssh://user@dummy/remote test-"$i" |
|
43 | > hg clone -e "python ./dummyssh" --uncompressed -r "$i" ssh://user@dummy/remote test-"$i" | |
108 | > if cd test-"$i"; then |
|
44 | > if cd test-"$i"; then | |
109 | > hg verify |
|
45 | > hg verify | |
110 | > cd .. |
|
46 | > cd .. | |
111 | > fi |
|
47 | > fi | |
112 | > done |
|
48 | > done | |
113 | adding changesets |
|
49 | adding changesets | |
114 | adding manifests |
|
50 | adding manifests | |
115 | adding file changes |
|
51 | adding file changes | |
116 | added 1 changesets with 1 changes to 1 files |
|
52 | added 1 changesets with 1 changes to 1 files | |
117 | updating to branch default |
|
53 | updating to branch default | |
118 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
54 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
119 | checking changesets |
|
55 | checking changesets | |
120 | checking manifests |
|
56 | checking manifests | |
121 | crosschecking files in changesets and manifests |
|
57 | crosschecking files in changesets and manifests | |
122 | checking files |
|
58 | checking files | |
123 | 1 files, 1 changesets, 1 total revisions |
|
59 | 1 files, 1 changesets, 1 total revisions | |
124 | adding changesets |
|
60 | adding changesets | |
125 | adding manifests |
|
61 | adding manifests | |
126 | adding file changes |
|
62 | adding file changes | |
127 | added 2 changesets with 2 changes to 1 files |
|
63 | added 2 changesets with 2 changes to 1 files | |
128 | updating to branch default |
|
64 | updating to branch default | |
129 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
65 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
130 | checking changesets |
|
66 | checking changesets | |
131 | checking manifests |
|
67 | checking manifests | |
132 | crosschecking files in changesets and manifests |
|
68 | crosschecking files in changesets and manifests | |
133 | checking files |
|
69 | checking files | |
134 | 1 files, 2 changesets, 2 total revisions |
|
70 | 1 files, 2 changesets, 2 total revisions | |
135 | adding changesets |
|
71 | adding changesets | |
136 | adding manifests |
|
72 | adding manifests | |
137 | adding file changes |
|
73 | adding file changes | |
138 | added 3 changesets with 3 changes to 1 files |
|
74 | added 3 changesets with 3 changes to 1 files | |
139 | updating to branch default |
|
75 | updating to branch default | |
140 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
76 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
141 | checking changesets |
|
77 | checking changesets | |
142 | checking manifests |
|
78 | checking manifests | |
143 | crosschecking files in changesets and manifests |
|
79 | crosschecking files in changesets and manifests | |
144 | checking files |
|
80 | checking files | |
145 | 1 files, 3 changesets, 3 total revisions |
|
81 | 1 files, 3 changesets, 3 total revisions | |
146 | adding changesets |
|
82 | adding changesets | |
147 | adding manifests |
|
83 | adding manifests | |
148 | adding file changes |
|
84 | adding file changes | |
149 | added 4 changesets with 4 changes to 1 files |
|
85 | added 4 changesets with 4 changes to 1 files | |
150 | updating to branch default |
|
86 | updating to branch default | |
151 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
87 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
152 | checking changesets |
|
88 | checking changesets | |
153 | checking manifests |
|
89 | checking manifests | |
154 | crosschecking files in changesets and manifests |
|
90 | crosschecking files in changesets and manifests | |
155 | checking files |
|
91 | checking files | |
156 | 1 files, 4 changesets, 4 total revisions |
|
92 | 1 files, 4 changesets, 4 total revisions | |
157 | adding changesets |
|
93 | adding changesets | |
158 | adding manifests |
|
94 | adding manifests | |
159 | adding file changes |
|
95 | adding file changes | |
160 | added 2 changesets with 2 changes to 1 files |
|
96 | added 2 changesets with 2 changes to 1 files | |
161 | updating to branch default |
|
97 | updating to branch default | |
162 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
98 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
163 | checking changesets |
|
99 | checking changesets | |
164 | checking manifests |
|
100 | checking manifests | |
165 | crosschecking files in changesets and manifests |
|
101 | crosschecking files in changesets and manifests | |
166 | checking files |
|
102 | checking files | |
167 | 1 files, 2 changesets, 2 total revisions |
|
103 | 1 files, 2 changesets, 2 total revisions | |
168 | adding changesets |
|
104 | adding changesets | |
169 | adding manifests |
|
105 | adding manifests | |
170 | adding file changes |
|
106 | adding file changes | |
171 | added 3 changesets with 3 changes to 1 files |
|
107 | added 3 changesets with 3 changes to 1 files | |
172 | updating to branch default |
|
108 | updating to branch default | |
173 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
109 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
174 | checking changesets |
|
110 | checking changesets | |
175 | checking manifests |
|
111 | checking manifests | |
176 | crosschecking files in changesets and manifests |
|
112 | crosschecking files in changesets and manifests | |
177 | checking files |
|
113 | checking files | |
178 | 1 files, 3 changesets, 3 total revisions |
|
114 | 1 files, 3 changesets, 3 total revisions | |
179 | adding changesets |
|
115 | adding changesets | |
180 | adding manifests |
|
116 | adding manifests | |
181 | adding file changes |
|
117 | adding file changes | |
182 | added 4 changesets with 5 changes to 2 files |
|
118 | added 4 changesets with 5 changes to 2 files | |
183 | updating to branch default |
|
119 | updating to branch default | |
184 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
120 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
185 | checking changesets |
|
121 | checking changesets | |
186 | checking manifests |
|
122 | checking manifests | |
187 | crosschecking files in changesets and manifests |
|
123 | crosschecking files in changesets and manifests | |
188 | checking files |
|
124 | checking files | |
189 | 2 files, 4 changesets, 5 total revisions |
|
125 | 2 files, 4 changesets, 5 total revisions | |
190 | adding changesets |
|
126 | adding changesets | |
191 | adding manifests |
|
127 | adding manifests | |
192 | adding file changes |
|
128 | adding file changes | |
193 | added 5 changesets with 6 changes to 3 files |
|
129 | added 5 changesets with 6 changes to 3 files | |
194 | updating to branch default |
|
130 | updating to branch default | |
195 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
131 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
196 | checking changesets |
|
132 | checking changesets | |
197 | checking manifests |
|
133 | checking manifests | |
198 | crosschecking files in changesets and manifests |
|
134 | crosschecking files in changesets and manifests | |
199 | checking files |
|
135 | checking files | |
200 | 3 files, 5 changesets, 6 total revisions |
|
136 | 3 files, 5 changesets, 6 total revisions | |
201 | adding changesets |
|
137 | adding changesets | |
202 | adding manifests |
|
138 | adding manifests | |
203 | adding file changes |
|
139 | adding file changes | |
204 | added 5 changesets with 5 changes to 2 files |
|
140 | added 5 changesets with 5 changes to 2 files | |
205 | updating to branch default |
|
141 | updating to branch default | |
206 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
142 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
207 | checking changesets |
|
143 | checking changesets | |
208 | checking manifests |
|
144 | checking manifests | |
209 | crosschecking files in changesets and manifests |
|
145 | crosschecking files in changesets and manifests | |
210 | checking files |
|
146 | checking files | |
211 | 2 files, 5 changesets, 5 total revisions |
|
147 | 2 files, 5 changesets, 5 total revisions | |
212 | $ cd test-8 |
|
148 | $ cd test-8 | |
213 | $ hg pull ../test-7 |
|
149 | $ hg pull ../test-7 | |
214 | pulling from ../test-7 |
|
150 | pulling from ../test-7 | |
215 | searching for changes |
|
151 | searching for changes | |
216 | adding changesets |
|
152 | adding changesets | |
217 | adding manifests |
|
153 | adding manifests | |
218 | adding file changes |
|
154 | adding file changes | |
219 | added 4 changesets with 2 changes to 3 files (+1 heads) |
|
155 | added 4 changesets with 2 changes to 3 files (+1 heads) | |
220 |
(run ' |
|
156 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
221 | $ hg verify |
|
157 | $ hg verify | |
222 | checking changesets |
|
158 | checking changesets | |
223 | checking manifests |
|
159 | checking manifests | |
224 | crosschecking files in changesets and manifests |
|
160 | crosschecking files in changesets and manifests | |
225 | checking files |
|
161 | checking files | |
226 | 4 files, 9 changesets, 7 total revisions |
|
162 | 4 files, 9 changesets, 7 total revisions | |
227 | $ cd .. |
|
163 | $ cd .. | |
228 | $ cd test-1 |
|
164 | $ cd test-1 | |
229 | $ hg pull -e "python ../dummyssh" -r 4 ssh://user@dummy/remote |
|
165 | $ hg pull -e "python ../dummyssh" -r 4 ssh://user@dummy/remote | |
230 | pulling from ssh://user@dummy/remote |
|
166 | pulling from ssh://user@dummy/remote | |
231 | searching for changes |
|
167 | searching for changes | |
232 | adding changesets |
|
168 | adding changesets | |
233 | adding manifests |
|
169 | adding manifests | |
234 | adding file changes |
|
170 | adding file changes | |
235 | added 1 changesets with 0 changes to 0 files (+1 heads) |
|
171 | added 1 changesets with 0 changes to 0 files (+1 heads) | |
236 |
(run ' |
|
172 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
237 | $ hg verify |
|
173 | $ hg verify | |
238 | checking changesets |
|
174 | checking changesets | |
239 | checking manifests |
|
175 | checking manifests | |
240 | crosschecking files in changesets and manifests |
|
176 | crosschecking files in changesets and manifests | |
241 | checking files |
|
177 | checking files | |
242 | 1 files, 3 changesets, 2 total revisions |
|
178 | 1 files, 3 changesets, 2 total revisions | |
243 | $ hg pull -e "python ../dummyssh" ssh://user@dummy/remote |
|
179 | $ hg pull -e "python ../dummyssh" ssh://user@dummy/remote | |
244 | pulling from ssh://user@dummy/remote |
|
180 | pulling from ssh://user@dummy/remote | |
245 | searching for changes |
|
181 | searching for changes | |
246 | adding changesets |
|
182 | adding changesets | |
247 | adding manifests |
|
183 | adding manifests | |
248 | adding file changes |
|
184 | adding file changes | |
249 | added 6 changesets with 5 changes to 4 files |
|
185 | added 6 changesets with 5 changes to 4 files | |
250 |
(run ' |
|
186 | (run 'hg update' to get a working copy) | |
251 | $ cd .. |
|
187 | $ cd .. | |
252 | $ cd test-2 |
|
188 | $ cd test-2 | |
253 | $ hg pull -e "python ../dummyssh" -r 5 ssh://user@dummy/remote |
|
189 | $ hg pull -e "python ../dummyssh" -r 5 ssh://user@dummy/remote | |
254 | pulling from ssh://user@dummy/remote |
|
190 | pulling from ssh://user@dummy/remote | |
255 | searching for changes |
|
191 | searching for changes | |
256 | adding changesets |
|
192 | adding changesets | |
257 | adding manifests |
|
193 | adding manifests | |
258 | adding file changes |
|
194 | adding file changes | |
259 | added 2 changesets with 0 changes to 0 files (+1 heads) |
|
195 | added 2 changesets with 0 changes to 0 files (+1 heads) | |
260 |
(run ' |
|
196 | (run 'hg heads' to see heads, 'hg merge' to merge) | |
261 | $ hg verify |
|
197 | $ hg verify | |
262 | checking changesets |
|
198 | checking changesets | |
263 | checking manifests |
|
199 | checking manifests | |
264 | crosschecking files in changesets and manifests |
|
200 | crosschecking files in changesets and manifests | |
265 | checking files |
|
201 | checking files | |
266 | 1 files, 5 changesets, 3 total revisions |
|
202 | 1 files, 5 changesets, 3 total revisions | |
267 | $ hg pull -e "python ../dummyssh" ssh://user@dummy/remote |
|
203 | $ hg pull -e "python ../dummyssh" ssh://user@dummy/remote | |
268 | pulling from ssh://user@dummy/remote |
|
204 | pulling from ssh://user@dummy/remote | |
269 | searching for changes |
|
205 | searching for changes | |
270 | adding changesets |
|
206 | adding changesets | |
271 | adding manifests |
|
207 | adding manifests | |
272 | adding file changes |
|
208 | adding file changes | |
273 | added 4 changesets with 4 changes to 4 files |
|
209 | added 4 changesets with 4 changes to 4 files | |
274 |
(run ' |
|
210 | (run 'hg update' to get a working copy) | |
275 | $ hg verify |
|
211 | $ hg verify | |
276 | checking changesets |
|
212 | checking changesets | |
277 | checking manifests |
|
213 | checking manifests | |
278 | crosschecking files in changesets and manifests |
|
214 | crosschecking files in changesets and manifests | |
279 | checking files |
|
215 | checking files | |
280 | 4 files, 9 changesets, 7 total revisions |
|
216 | 4 files, 9 changesets, 7 total revisions |
General Comments 0
You need to be logged in to leave comments.
Login now