Show More
@@ -36,7 +36,10 b' tests.' | |||
|
36 | 36 | |
|
37 | 37 | Test basic clone |
|
38 | 38 | |
|
39 | $ hg --debug clone -U http://localhost:$HGPORT client-simple | |
|
39 | Output is flaky, save it in a file and check part independently | |
|
40 | $ hg --debug clone -U http://localhost:$HGPORT client-simple > clone-output | |
|
41 | ||
|
42 | $ cat clone-output | grep -v "received frame" | |
|
40 | 43 | using http://localhost:$HGPORT/ |
|
41 | 44 | sending capabilities command |
|
42 | 45 |
query 1 |
@@ -45,13 +48,6 b' Test basic clone' | |||
|
45 | 48 | sending command known: { |
|
46 | 49 | 'nodes': [] |
|
47 | 50 | } |
|
48 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
49 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
50 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
51 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
52 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
53 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
54 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
55 | 51 | sending 1 commands |
|
56 | 52 | sending command changesetdata: { |
|
57 | 53 | 'fields': set([ |
@@ -71,10 +67,6 b' Test basic clone' | |||
|
71 | 67 | } |
|
72 | 68 | ] |
|
73 | 69 | } |
|
74 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
75 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
76 | received frame(size=941; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
77 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
78 | 70 | add changeset 3390ef850073 |
|
79 | 71 | add changeset 4432d83626e8 |
|
80 | 72 | add changeset cd2534766bec |
@@ -97,10 +89,6 b' Test basic clone' | |||
|
97 | 89 | ], |
|
98 | 90 | 'tree': '' |
|
99 | 91 | } |
|
100 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
101 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
102 | received frame(size=992; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
103 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
104 | 92 | sending 1 commands |
|
105 | 93 | sending command filesdata: { |
|
106 | 94 | 'fields': set([ |
@@ -121,13 +109,32 b' Test basic clone' | |||
|
121 | 109 | } |
|
122 | 110 | ] |
|
123 | 111 | } |
|
112 | updating the branch cache | |
|
113 | new changesets 3390ef850073:caa2a465451d (3 drafts) | |
|
114 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
115 | ||
|
116 | $ cat clone-output | grep "received frame" | |
|
117 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
118 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
119 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
120 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
121 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
122 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
123 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
124 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
125 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
126 | received frame(size=941; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
127 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
128 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
129 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
130 | received frame(size=992; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
131 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
124 | 132 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
125 | 133 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
126 | 134 | received frame(size=901; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
127 | 135 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
128 | updating the branch cache | |
|
129 | new changesets 3390ef850073:caa2a465451d (3 drafts) | |
|
130 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
136 | ||
|
137 | $ rm clone-output | |
|
131 | 138 | |
|
132 | 139 | All changesets should have been transferred |
|
133 | 140 | |
@@ -163,30 +170,22 b' All manifests should have been transferr' | |||
|
163 | 170 | |
|
164 | 171 | Cloning only a specific revision works |
|
165 | 172 | |
|
166 | $ hg --debug clone -U -r 4432d83626e8 http://localhost:$HGPORT client-singlehead | |
|
173 | Output is flaky, save it in a file and check part independently | |
|
174 | $ hg --debug clone -U -r 4432d83626e8 http://localhost:$HGPORT client-singlehead > clone-output | |
|
175 | ||
|
176 | $ cat clone-output | grep -v "received frame" | |
|
167 | 177 | using http://localhost:$HGPORT/ |
|
168 | 178 | sending capabilities command |
|
169 | 179 | sending 1 commands |
|
170 | 180 | sending command lookup: { |
|
171 | 181 | 'key': '4432d83626e8' |
|
172 | 182 | } |
|
173 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
174 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
175 | received frame(size=21; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
176 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
177 | 183 | query 1; heads |
|
178 | 184 | sending 2 commands |
|
179 | 185 | sending command heads: {} |
|
180 | 186 | sending command known: { |
|
181 | 187 | 'nodes': [] |
|
182 | 188 | } |
|
183 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
184 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
185 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
186 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
187 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
188 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
189 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
190 | 189 | sending 1 commands |
|
191 | 190 | sending command changesetdata: { |
|
192 | 191 | 'fields': set([ |
@@ -205,10 +204,6 b' Cloning only a specific revision works' | |||
|
205 | 204 | } |
|
206 | 205 | ] |
|
207 | 206 | } |
|
208 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
209 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
210 | received frame(size=381; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
211 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
212 | 207 | add changeset 3390ef850073 |
|
213 | 208 | add changeset 4432d83626e8 |
|
214 | 209 | checking for updated bookmarks |
@@ -225,10 +220,6 b' Cloning only a specific revision works' | |||
|
225 | 220 | ], |
|
226 | 221 | 'tree': '' |
|
227 | 222 | } |
|
228 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
229 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
230 | received frame(size=404; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
231 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
232 | 223 | sending 1 commands |
|
233 | 224 | sending command filesdata: { |
|
234 | 225 | 'fields': set([ |
@@ -246,13 +237,36 b' Cloning only a specific revision works' | |||
|
246 | 237 | } |
|
247 | 238 | ] |
|
248 | 239 | } |
|
240 | updating the branch cache | |
|
241 | new changesets 3390ef850073:4432d83626e8 | |
|
242 | (sent 6 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
243 | ||
|
244 | $ cat clone-output | grep "received frame" | |
|
245 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
246 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
247 | received frame(size=21; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
248 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
249 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
250 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
251 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
252 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
253 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
254 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
255 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
256 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
257 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
258 | received frame(size=381; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
259 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
260 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
261 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
262 | received frame(size=404; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
263 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
249 | 264 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
250 | 265 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
251 | 266 | received frame(size=439; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
252 | 267 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
253 | updating the branch cache | |
|
254 | new changesets 3390ef850073:4432d83626e8 | |
|
255 | (sent 6 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
268 | ||
|
269 | $ rm clone-output | |
|
256 | 270 | |
|
257 | 271 |
$ |
|
258 | 272 | |
@@ -269,7 +283,10 b' Cloning only a specific revision works' | |||
|
269 | 283 | |
|
270 | 284 | Incremental pull works |
|
271 | 285 | |
|
272 | $ hg --debug pull | |
|
286 | Output is flaky, save it in a file and check part independently | |
|
287 | $ hg --debug pull > pull-output | |
|
288 | ||
|
289 | $ cat pull-output | grep -v "received frame" | |
|
273 | 290 | pulling from http://localhost:$HGPORT/ |
|
274 | 291 | using http://localhost:$HGPORT/ |
|
275 | 292 | sending capabilities command |
@@ -281,13 +298,6 b' Incremental pull works' | |||
|
281 | 298 | 'D2\xd86&\xe8\xa9\x86U\xf0b\xec\x1f*C\xb0\x7f\x7f\xbb\xb0' |
|
282 | 299 | ] |
|
283 | 300 | } |
|
284 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
285 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
286 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
287 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
288 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
289 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
290 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
291 | 301 |
|
|
292 | 302 | all local heads known remotely |
|
293 | 303 | sending 1 commands |
@@ -311,10 +321,6 b' Incremental pull works' | |||
|
311 | 321 | } |
|
312 | 322 | ] |
|
313 | 323 | } |
|
314 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
315 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
316 | received frame(size=573; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
317 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
318 | 324 | add changeset cd2534766bec |
|
319 | 325 | add changeset e96ae20f4188 |
|
320 | 326 | add changeset caa2a465451d |
@@ -333,10 +339,6 b' Incremental pull works' | |||
|
333 | 339 | ], |
|
334 | 340 | 'tree': '' |
|
335 | 341 | } |
|
336 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
337 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
338 | received frame(size=601; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
339 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
340 | 342 | sending 1 commands |
|
341 | 343 | sending command filesdata: { |
|
342 | 344 | 'fields': set([ |
@@ -355,14 +357,33 b' Incremental pull works' | |||
|
355 | 357 | } |
|
356 | 358 | ] |
|
357 | 359 | } |
|
360 | updating the branch cache | |
|
361 | new changesets cd2534766bec:caa2a465451d (3 drafts) | |
|
362 | (run 'hg update' to get a working copy) | |
|
363 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
364 | ||
|
365 | $ cat pull-output | grep "received frame" | |
|
366 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
367 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
368 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
369 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
370 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
371 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
372 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
373 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
374 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
375 | received frame(size=573; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
376 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
377 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
378 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
379 | received frame(size=601; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
380 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
358 | 381 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
359 | 382 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
360 | 383 | received frame(size=527; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
361 | 384 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
362 | updating the branch cache | |
|
363 | new changesets cd2534766bec:caa2a465451d (3 drafts) | |
|
364 | (run 'hg update' to get a working copy) | |
|
365 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
385 | ||
|
386 | $ rm pull-output | |
|
366 | 387 | |
|
367 | 388 |
$ |
|
368 | 389 | o 4 caa2a465451dd1facda0f5b12312c355584188a1 draft |
@@ -459,7 +480,10 b' Bookmarks are transferred on clone' | |||
|
459 | 480 | $ hg -R server-simple bookmark -r 3390ef850073fbc2f0dfff2244342c8e9229013a book-1 |
|
460 | 481 | $ hg -R server-simple bookmark -r cd2534766bece138c7c1afdc6825302f0f62d81f book-2 |
|
461 | 482 | |
|
462 | $ hg --debug clone -U http://localhost:$HGPORT/ client-bookmarks | |
|
483 | Output is flaky, save it in a file and check part independently | |
|
484 | $ hg --debug clone -U http://localhost:$HGPORT/ client-bookmarks > clone-output | |
|
485 | ||
|
486 | $ cat clone-output | grep -v "received frame" | |
|
463 | 487 | using http://localhost:$HGPORT/ |
|
464 | 488 | sending capabilities command |
|
465 | 489 | query 1; heads |
@@ -468,13 +492,6 b' Bookmarks are transferred on clone' | |||
|
468 | 492 | sending command known: { |
|
469 | 493 | 'nodes': [] |
|
470 | 494 | } |
|
471 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
472 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
473 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
474 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
475 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
476 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
477 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
478 | 495 | sending 1 commands |
|
479 | 496 | sending command changesetdata: { |
|
480 | 497 | 'fields': set([ |
@@ -494,10 +511,6 b' Bookmarks are transferred on clone' | |||
|
494 | 511 | } |
|
495 | 512 | ] |
|
496 | 513 | } |
|
497 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
498 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
499 | received frame(size=979; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
500 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
501 | 514 | add changeset 3390ef850073 |
|
502 | 515 | add changeset 4432d83626e8 |
|
503 | 516 | add changeset cd2534766bec |
@@ -522,10 +535,6 b' Bookmarks are transferred on clone' | |||
|
522 | 535 | ], |
|
523 | 536 | 'tree': '' |
|
524 | 537 | } |
|
525 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
526 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
527 | received frame(size=992; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
528 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
529 | 538 | sending 1 commands |
|
530 | 539 | sending command filesdata: { |
|
531 | 540 | 'fields': set([ |
@@ -546,13 +555,32 b' Bookmarks are transferred on clone' | |||
|
546 | 555 | } |
|
547 | 556 | ] |
|
548 | 557 | } |
|
558 | updating the branch cache | |
|
559 | new changesets 3390ef850073:caa2a465451d (1 drafts) | |
|
560 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
561 | ||
|
562 | $ cat clone-output | grep "received frame" | |
|
563 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
564 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
565 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
566 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
567 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
568 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
569 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
570 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
571 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
572 | received frame(size=979; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
573 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
574 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
575 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
576 | received frame(size=992; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
577 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
549 | 578 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
550 | 579 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
551 | 580 | received frame(size=901; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
552 | 581 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
553 | updating the branch cache | |
|
554 | new changesets 3390ef850073:caa2a465451d (1 drafts) | |
|
555 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
582 | ||
|
583 | $ rm clone-output | |
|
556 | 584 | |
|
557 | 585 |
$ |
|
558 | 586 | book-1 0:3390ef850073 |
@@ -563,7 +591,10 b' Server-side bookmark moves are reflected' | |||
|
563 | 591 | $ hg -R server-simple bookmark -r cd2534766bece138c7c1afdc6825302f0f62d81f book-1 |
|
564 | 592 | moving bookmark 'book-1' forward from 3390ef850073 |
|
565 | 593 | |
|
566 | $ hg -R client-bookmarks --debug pull | |
|
594 | Output is flaky, save it in a file and check part independently | |
|
595 | $ hg -R client-bookmarks --debug pull > pull-output | |
|
596 | ||
|
597 | $ cat pull-output | grep -v "received frame" | |
|
567 | 598 | pulling from http://localhost:$HGPORT/ |
|
568 | 599 | using http://localhost:$HGPORT/ |
|
569 | 600 | sending capabilities command |
@@ -576,13 +607,6 b' Server-side bookmark moves are reflected' | |||
|
576 | 607 | '\xca\xa2\xa4eE\x1d\xd1\xfa\xcd\xa0\xf5\xb1#\x12\xc3UXA\x88\xa1' |
|
577 | 608 | ] |
|
578 | 609 | } |
|
579 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
580 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
581 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
582 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
583 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
584 | received frame(size=3; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
585 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
586 | 610 |
|
|
587 | 611 | all remote heads known locally |
|
588 | 612 | sending 1 commands |
@@ -607,14 +631,25 b' Server-side bookmark moves are reflected' | |||
|
607 | 631 | } |
|
608 | 632 | ] |
|
609 | 633 | } |
|
634 | checking for updated bookmarks | |
|
635 | updating bookmark book-1 | |
|
636 | (run 'hg update' to get a working copy) | |
|
637 | (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
638 | ||
|
639 | $ cat pull-output | grep "received frame" | |
|
640 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
641 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
642 | received frame(size=43; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
643 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
644 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
645 | received frame(size=3; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
646 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
610 | 647 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
611 | 648 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
612 | 649 | received frame(size=65; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
613 | 650 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
614 | checking for updated bookmarks | |
|
615 | updating bookmark book-1 | |
|
616 | (run 'hg update' to get a working copy) | |
|
617 | (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
651 | ||
|
652 | $ rm pull-output | |
|
618 | 653 | |
|
619 | 654 |
$ |
|
620 | 655 | book-1 2:cd2534766bec |
@@ -647,7 +682,10 b" Let's set up a slightly more complicated" | |||
|
647 | 682 | |
|
648 | 683 | Narrow clone only fetches some files |
|
649 | 684 | |
|
650 | $ hg --config extensions.pullext=$TESTDIR/pullext.py --debug clone -U --include dir0/ http://localhost:$HGPORT/ client-narrow-0 | |
|
685 | Output is flaky, save it in a file and check part independently | |
|
686 | $ hg --config extensions.pullext=$TESTDIR/pullext.py --debug clone -U --include dir0/ http://localhost:$HGPORT/ client-narrow-0 > clone-output | |
|
687 | ||
|
688 | $ cat clone-output | grep -v "received frame" | |
|
651 | 689 | using http://localhost:$HGPORT/ |
|
652 | 690 | sending capabilities command |
|
653 | 691 | query 1; heads |
@@ -656,13 +694,6 b' Narrow clone only fetches some files' | |||
|
656 | 694 | sending command known: { |
|
657 | 695 | 'nodes': [] |
|
658 | 696 | } |
|
659 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
660 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
661 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
662 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
663 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
664 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
665 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
666 | 697 | sending 1 commands |
|
667 | 698 | sending command changesetdata: { |
|
668 | 699 | 'fields': set([ |
@@ -681,10 +712,6 b' Narrow clone only fetches some files' | |||
|
681 | 712 | } |
|
682 | 713 | ] |
|
683 | 714 | } |
|
684 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
685 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
686 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
687 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
688 | 715 | add changeset 3390ef850073 |
|
689 | 716 | add changeset b709380892b1 |
|
690 | 717 | add changeset 47fe012ab237 |
@@ -705,10 +732,6 b' Narrow clone only fetches some files' | |||
|
705 | 732 | ], |
|
706 | 733 | 'tree': '' |
|
707 | 734 | } |
|
708 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
709 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
710 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
711 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
712 | 735 | sending 1 commands |
|
713 | 736 | sending command filesdata: { |
|
714 | 737 | 'fields': set([ |
@@ -733,13 +756,32 b' Narrow clone only fetches some files' | |||
|
733 | 756 | } |
|
734 | 757 | ] |
|
735 | 758 | } |
|
759 | updating the branch cache | |
|
760 | new changesets 3390ef850073:97765fc3cd62 | |
|
761 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
762 | ||
|
763 | $ cat clone-output | grep "received frame" | |
|
764 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
765 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
766 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
767 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
768 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
769 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
770 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
771 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
772 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
773 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
774 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
775 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
776 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
777 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
778 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
736 | 779 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
737 | 780 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
738 | 781 | received frame(size=449; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
739 | 782 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
740 | updating the branch cache | |
|
741 | new changesets 3390ef850073:97765fc3cd62 | |
|
742 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
783 | ||
|
784 | $ rm clone-output | |
|
743 | 785 | |
|
744 | 786 | #if reporevlogstore |
|
745 | 787 | $ find client-narrow-0/.hg/store -type f -name '*.i' | sort |
@@ -751,7 +793,10 b' Narrow clone only fetches some files' | |||
|
751 | 793 | |
|
752 | 794 | --exclude by itself works |
|
753 | 795 | |
|
754 | $ hg --config extensions.pullext=$TESTDIR/pullext.py --debug clone -U --exclude dir0/ http://localhost:$HGPORT/ client-narrow-1 | |
|
796 | Output is flaky, save it in a file and check part independently | |
|
797 | $ hg --config extensions.pullext=$TESTDIR/pullext.py --debug clone -U --exclude dir0/ http://localhost:$HGPORT/ client-narrow-1 > clone-output | |
|
798 | ||
|
799 | $ cat clone-output | grep -v "received frame" | |
|
755 | 800 | using http://localhost:$HGPORT/ |
|
756 | 801 | sending capabilities command |
|
757 | 802 | query 1; heads |
@@ -760,13 +805,6 b' Narrow clone only fetches some files' | |||
|
760 | 805 | sending command known: { |
|
761 | 806 | 'nodes': [] |
|
762 | 807 | } |
|
763 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
764 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
765 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
766 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
767 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
768 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
769 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
770 | 808 | sending 1 commands |
|
771 | 809 | sending command changesetdata: { |
|
772 | 810 | 'fields': set([ |
@@ -785,10 +823,6 b' Narrow clone only fetches some files' | |||
|
785 | 823 | } |
|
786 | 824 | ] |
|
787 | 825 | } |
|
788 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
789 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
790 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
791 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
792 | 826 | add changeset 3390ef850073 |
|
793 | 827 | add changeset b709380892b1 |
|
794 | 828 | add changeset 47fe012ab237 |
@@ -809,10 +843,6 b' Narrow clone only fetches some files' | |||
|
809 | 843 | ], |
|
810 | 844 | 'tree': '' |
|
811 | 845 | } |
|
812 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
813 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
814 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
815 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
816 | 846 | sending 1 commands |
|
817 | 847 | sending command filesdata: { |
|
818 | 848 | 'fields': set([ |
@@ -840,13 +870,32 b' Narrow clone only fetches some files' | |||
|
840 | 870 | } |
|
841 | 871 | ] |
|
842 | 872 | } |
|
873 | updating the branch cache | |
|
874 | new changesets 3390ef850073:97765fc3cd62 | |
|
875 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
876 | ||
|
877 | $ cat clone-output | grep "received frame" | |
|
878 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
879 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
880 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
881 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
882 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
883 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
884 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
885 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
886 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
887 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
888 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
889 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
890 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
891 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
892 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
843 | 893 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
844 | 894 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
845 | 895 | received frame(size=709; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
846 | 896 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
847 | updating the branch cache | |
|
848 | new changesets 3390ef850073:97765fc3cd62 | |
|
849 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
897 | ||
|
898 | $ rm clone-output | |
|
850 | 899 | |
|
851 | 900 | #if reporevlogstore |
|
852 | 901 | $ find client-narrow-1/.hg/store -type f -name '*.i' | sort |
@@ -860,7 +909,10 b' Narrow clone only fetches some files' | |||
|
860 | 909 | |
|
861 | 910 | Mixing --include and --exclude works |
|
862 | 911 | |
|
863 | $ hg --config extensions.pullext=$TESTDIR/pullext.py --debug clone -U --include dir0/ --exclude dir0/c http://localhost:$HGPORT/ client-narrow-2 | |
|
912 | Output is flaky, save it in a file and check part independently | |
|
913 | $ hg --config extensions.pullext=$TESTDIR/pullext.py --debug clone -U --include dir0/ --exclude dir0/c http://localhost:$HGPORT/ client-narrow-2 > clone-output | |
|
914 | ||
|
915 | $ cat clone-output | grep -v "received frame" | |
|
864 | 916 | using http://localhost:$HGPORT/ |
|
865 | 917 | sending capabilities command |
|
866 | 918 | query 1; heads |
@@ -869,13 +921,6 b' Mixing --include and --exclude works' | |||
|
869 | 921 | sending command known: { |
|
870 | 922 | 'nodes': [] |
|
871 | 923 | } |
|
872 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
873 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
874 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
875 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
876 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
877 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
878 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
879 | 924 | sending 1 commands |
|
880 | 925 | sending command changesetdata: { |
|
881 | 926 | 'fields': set([ |
@@ -894,10 +939,6 b' Mixing --include and --exclude works' | |||
|
894 | 939 | } |
|
895 | 940 | ] |
|
896 | 941 | } |
|
897 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
898 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
899 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
900 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
901 | 942 | add changeset 3390ef850073 |
|
902 | 943 | add changeset b709380892b1 |
|
903 | 944 | add changeset 47fe012ab237 |
@@ -918,10 +959,6 b' Mixing --include and --exclude works' | |||
|
918 | 959 | ], |
|
919 | 960 | 'tree': '' |
|
920 | 961 | } |
|
921 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
922 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
923 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
924 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
925 | 962 | sending 1 commands |
|
926 | 963 | sending command filesdata: { |
|
927 | 964 | 'fields': set([ |
@@ -949,13 +986,32 b' Mixing --include and --exclude works' | |||
|
949 | 986 | } |
|
950 | 987 | ] |
|
951 | 988 | } |
|
989 | updating the branch cache | |
|
990 | new changesets 3390ef850073:97765fc3cd62 | |
|
991 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
992 | ||
|
993 | $ cat clone-output | grep "received frame" | |
|
994 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
995 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
996 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
997 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
998 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
999 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1000 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1001 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1002 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1003 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1004 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1005 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1006 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1007 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1008 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
952 | 1009 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
953 | 1010 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
954 | 1011 | received frame(size=160; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
955 | 1012 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
956 | updating the branch cache | |
|
957 | new changesets 3390ef850073:97765fc3cd62 | |
|
958 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
1013 | ||
|
1014 | $ rm clone-output | |
|
959 | 1015 | |
|
960 | 1016 | #if reporevlogstore |
|
961 | 1017 | $ find client-narrow-2/.hg/store -type f -name '*.i' | sort |
@@ -967,7 +1023,10 b' Mixing --include and --exclude works' | |||
|
967 | 1023 | --stream will use rawfiledata to transfer changelog and manifestlog, then |
|
968 | 1024 | fall through to get files data |
|
969 | 1025 | |
|
970 | $ hg --debug clone --stream -U http://localhost:$HGPORT client-stream-0 | |
|
1026 | Output is flaky, save it in a file and check part independently | |
|
1027 | $ hg --debug clone --stream -U http://localhost:$HGPORT client-stream-0 > clone-output | |
|
1028 | ||
|
1029 | $ cat clone-output | grep -v "received frame" | |
|
971 | 1030 | using http://localhost:$HGPORT/ |
|
972 | 1031 | sending capabilities command |
|
973 | 1032 | sending 1 commands |
@@ -977,10 +1036,6 b' fall through to get files data' | |||
|
977 | 1036 | 'manifestlog' |
|
978 | 1037 | ] |
|
979 | 1038 | } |
|
980 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
981 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
982 | received frame(size=1275; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
983 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
984 | 1039 | updating the branch cache |
|
985 | 1040 | query 1; heads |
|
986 | 1041 | sending 2 commands |
@@ -990,13 +1045,6 b' fall through to get files data' | |||
|
990 | 1045 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' |
|
991 | 1046 | ] |
|
992 | 1047 | } |
|
993 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
994 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
995 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
996 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
997 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
998 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
999 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1000 | 1048 | searching for changes |
|
1001 | 1049 | all remote heads known locally |
|
1002 | 1050 | sending 1 commands |
@@ -1019,10 +1067,6 b' fall through to get files data' | |||
|
1019 | 1067 | } |
|
1020 | 1068 | ] |
|
1021 | 1069 | } |
|
1022 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1023 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1024 | received frame(size=13; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1025 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1026 | 1070 | checking for updated bookmarks |
|
1027 | 1071 | sending 1 commands |
|
1028 | 1072 | sending command filesdata: { |
@@ -1043,15 +1087,37 b' fall through to get files data' | |||
|
1043 | 1087 | } |
|
1044 | 1088 | ] |
|
1045 | 1089 | } |
|
1090 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
1091 | ||
|
1092 | $ cat clone-output | grep "received frame" | |
|
1093 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1094 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1095 | received frame(size=1275; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1096 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1097 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1098 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1099 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1100 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1101 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1102 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1103 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1104 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1105 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1106 | received frame(size=13; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1107 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1046 | 1108 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
1047 | 1109 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
1048 | 1110 | received frame(size=1133; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
1049 | 1111 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
1050 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
1112 | ||
|
1113 | $ rm clone-output | |
|
1051 | 1114 | |
|
1052 | 1115 | --stream + --include/--exclude will only obtain some files |
|
1053 | 1116 | |
|
1054 | $ hg --debug --config extensions.pullext=$TESTDIR/pullext.py clone --stream --include dir0/ -U http://localhost:$HGPORT client-stream-2 | |
|
1117 | Output is flaky, save it in a file and check part independently | |
|
1118 | $ hg --debug --config extensions.pullext=$TESTDIR/pullext.py clone --stream --include dir0/ -U http://localhost:$HGPORT client-stream-2 > clone-output | |
|
1119 | ||
|
1120 | $ cat clone-output | grep -v "received frame" | |
|
1055 | 1121 | using http://localhost:$HGPORT/ |
|
1056 | 1122 | sending capabilities command |
|
1057 | 1123 | sending 1 commands |
@@ -1061,10 +1127,6 b' fall through to get files data' | |||
|
1061 | 1127 | 'manifestlog' |
|
1062 | 1128 | ] |
|
1063 | 1129 | } |
|
1064 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1065 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1066 | received frame(size=1275; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1067 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1068 | 1130 | updating the branch cache |
|
1069 | 1131 | query 1; heads |
|
1070 | 1132 | sending 2 commands |
@@ -1074,13 +1136,6 b' fall through to get files data' | |||
|
1074 | 1136 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' |
|
1075 | 1137 | ] |
|
1076 | 1138 | } |
|
1077 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1078 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1079 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1080 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1081 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1082 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1083 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1084 | 1139 | searching for changes |
|
1085 | 1140 | all remote heads known locally |
|
1086 | 1141 | sending 1 commands |
@@ -1103,10 +1158,6 b' fall through to get files data' | |||
|
1103 | 1158 | } |
|
1104 | 1159 | ] |
|
1105 | 1160 | } |
|
1106 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1107 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1108 | received frame(size=13; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1109 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1110 | 1161 | checking for updated bookmarks |
|
1111 | 1162 | sending 1 commands |
|
1112 | 1163 | sending command filesdata: { |
@@ -1132,11 +1183,30 b' fall through to get files data' | |||
|
1132 | 1183 | } |
|
1133 | 1184 | ] |
|
1134 | 1185 | } |
|
1186 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
1187 | ||
|
1188 | $ cat clone-output | grep "received frame" | |
|
1189 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1190 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1191 | received frame(size=1275; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1192 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1193 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1194 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1195 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1196 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1197 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1198 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1199 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1200 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1201 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1202 | received frame(size=13; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1203 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1135 | 1204 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
1136 | 1205 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
1137 | 1206 | received frame(size=449; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
1138 | 1207 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
1139 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
1208 | ||
|
1209 | $ rm clone-output | |
|
1140 | 1210 | |
|
1141 | 1211 | #if reporevlogstore |
|
1142 | 1212 | $ find client-stream-2/.hg/store -type f -name '*.i' | sort |
@@ -1148,7 +1218,14 b' fall through to get files data' | |||
|
1148 | 1218 | |
|
1149 | 1219 | Shallow clone doesn't work with revlogs |
|
1150 | 1220 | |
|
1151 | $ hg --debug --config extensions.pullext=$TESTDIR/pullext.py clone --depth 1 -U http://localhost:$HGPORT client-shallow-revlogs | |
|
1221 | Output is flaky, save it in a file and check part independently | |
|
1222 | $ hg --debug --config extensions.pullext=$TESTDIR/pullext.py clone --depth 1 -U http://localhost:$HGPORT client-shallow-revlogs > clone-output | |
|
1223 | transaction abort! | |
|
1224 | rollback completed | |
|
1225 | abort: revlog storage does not support missing parents write mode | |
|
1226 | [255] | |
|
1227 | ||
|
1228 | $ cat clone-output | grep -v "received frame" | |
|
1152 | 1229 | using http://localhost:$HGPORT/ |
|
1153 | 1230 | sending capabilities command |
|
1154 | 1231 |
query 1 |
@@ -1157,13 +1234,6 b" Shallow clone doesn't work with revlogs" | |||
|
1157 | 1234 | sending command known: { |
|
1158 | 1235 | 'nodes': [] |
|
1159 | 1236 | } |
|
1160 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1161 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1162 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1163 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1164 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1165 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1166 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1167 | 1237 |
|
|
1168 | 1238 | sending command changesetdata: { |
|
1169 | 1239 | 'fields': set([ |
@@ -1182,10 +1252,6 b" Shallow clone doesn't work with revlogs" | |||
|
1182 | 1252 | } |
|
1183 | 1253 |
|
|
1184 | 1254 | } |
|
1185 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1186 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1187 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1188 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1189 | 1255 |
|
|
1190 | 1256 | add changeset b709380892b1 |
|
1191 | 1257 | add changeset 47fe012ab237 |
@@ -1206,10 +1272,6 b" Shallow clone doesn't work with revlogs" | |||
|
1206 | 1272 | ], |
|
1207 | 1273 | 'tree': '' |
|
1208 | 1274 | } |
|
1209 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1210 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1211 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1212 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1213 | 1275 |
|
|
1214 | 1276 | sending command filesdata: { |
|
1215 | 1277 | 'fields': set([ |
@@ -1227,15 +1289,30 b" Shallow clone doesn't work with revlogs" | |||
|
1227 | 1289 | } |
|
1228 | 1290 |
|
|
1229 | 1291 | } |
|
1292 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
1293 | ||
|
1294 | $ cat clone-output | grep "received frame" | |
|
1295 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1296 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1297 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1298 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1299 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1300 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1301 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1302 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1303 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1304 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1305 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1306 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
|
1307 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1308 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
|
1309 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
|
1230 | 1310 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
1231 | 1311 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
1232 | 1312 | received frame(size=1005; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
1233 | 1313 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
1234 | transaction abort! | |
|
1235 | rollback completed | |
|
1236 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
1237 | abort: revlog storage does not support missing parents write mode | |
|
1238 | [255] | |
|
1314 | ||
|
1315 | $ rm clone-output | |
|
1239 | 1316 | |
|
1240 | 1317 | $ killdaemons.py |
|
1241 | 1318 |
General Comments 0
You need to be logged in to leave comments.
Login now