##// END OF EJS Templates
test: stabilize test-wireproto-exchangev2.t flaky output...
Boris Feld -
r41831:1ab6f5df default
parent child Browse files
Show More
@@ -36,7 +36,10 b' tests.'
36
36
37 Test basic clone
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 using http://localhost:$HGPORT/
43 using http://localhost:$HGPORT/
41 sending capabilities command
44 sending capabilities command
42 query 1; heads
45 query 1; heads
@@ -45,13 +48,6 b' Test basic clone'
45 sending command known: {
48 sending command known: {
46 'nodes': []
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 sending 1 commands
51 sending 1 commands
56 sending command changesetdata: {
52 sending command changesetdata: {
57 'fields': set([
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 add changeset 3390ef850073
70 add changeset 3390ef850073
79 add changeset 4432d83626e8
71 add changeset 4432d83626e8
80 add changeset cd2534766bec
72 add changeset cd2534766bec
@@ -97,10 +89,6 b' Test basic clone'
97 ],
89 ],
98 'tree': ''
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 sending 1 commands
92 sending 1 commands
105 sending command filesdata: {
93 sending command filesdata: {
106 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
132 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)
133 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
126 received frame(size=901; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
134 received frame(size=901; 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)
135 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
128 updating the branch cache
136
129 new changesets 3390ef850073:caa2a465451d (3 drafts)
137 $ rm clone-output
130 (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
131
138
132 All changesets should have been transferred
139 All changesets should have been transferred
133
140
@@ -163,30 +170,22 b' All manifests should have been transferr'
163
170
164 Cloning only a specific revision works
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 using http://localhost:$HGPORT/
177 using http://localhost:$HGPORT/
168 sending capabilities command
178 sending capabilities command
169 sending 1 commands
179 sending 1 commands
170 sending command lookup: {
180 sending command lookup: {
171 'key': '4432d83626e8'
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 query 1; heads
183 query 1; heads
178 sending 2 commands
184 sending 2 commands
179 sending command heads: {}
185 sending command heads: {}
180 sending command known: {
186 sending command known: {
181 'nodes': []
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 sending 1 commands
189 sending 1 commands
191 sending command changesetdata: {
190 sending command changesetdata: {
192 'fields': set([
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 add changeset 3390ef850073
207 add changeset 3390ef850073
213 add changeset 4432d83626e8
208 add changeset 4432d83626e8
214 checking for updated bookmarks
209 checking for updated bookmarks
@@ -225,10 +220,6 b' Cloning only a specific revision works'
225 ],
220 ],
226 'tree': ''
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 sending 1 commands
223 sending 1 commands
233 sending command filesdata: {
224 sending command filesdata: {
234 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
264 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)
265 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
251 received frame(size=439; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
266 received frame(size=439; 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)
267 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
253 updating the branch cache
268
254 new changesets 3390ef850073:4432d83626e8
269 $ rm clone-output
255 (sent 6 HTTP requests and * bytes; received * bytes in responses) (glob)
256
270
257 $ cd client-singlehead
271 $ cd client-singlehead
258
272
@@ -269,7 +283,10 b' Cloning only a specific revision works'
269
283
270 Incremental pull works
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 pulling from http://localhost:$HGPORT/
290 pulling from http://localhost:$HGPORT/
274 using http://localhost:$HGPORT/
291 using http://localhost:$HGPORT/
275 sending capabilities command
292 sending capabilities command
@@ -281,13 +298,6 b' Incremental pull works'
281 'D2\xd86&\xe8\xa9\x86U\xf0b\xec\x1f*C\xb0\x7f\x7f\xbb\xb0'
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 searching for changes
301 searching for changes
292 all local heads known remotely
302 all local heads known remotely
293 sending 1 commands
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 add changeset cd2534766bec
324 add changeset cd2534766bec
319 add changeset e96ae20f4188
325 add changeset e96ae20f4188
320 add changeset caa2a465451d
326 add changeset caa2a465451d
@@ -333,10 +339,6 b' Incremental pull works'
333 ],
339 ],
334 'tree': ''
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 sending 1 commands
342 sending 1 commands
341 sending command filesdata: {
343 sending command filesdata: {
342 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
381 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
359 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
382 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
360 received frame(size=527; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
383 received frame(size=527; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
361 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
384 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
362 updating the branch cache
385
363 new changesets cd2534766bec:caa2a465451d (3 drafts)
386 $ rm pull-output
364 (run 'hg update' to get a working copy)
365 (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
366
387
367 $ hg log -G -T '{rev} {node} {phase}\n'
388 $ hg log -G -T '{rev} {node} {phase}\n'
368 o 4 caa2a465451dd1facda0f5b12312c355584188a1 draft
389 o 4 caa2a465451dd1facda0f5b12312c355584188a1 draft
@@ -459,7 +480,10 b' Bookmarks are transferred on clone'
459 $ hg -R server-simple bookmark -r 3390ef850073fbc2f0dfff2244342c8e9229013a book-1
480 $ hg -R server-simple bookmark -r 3390ef850073fbc2f0dfff2244342c8e9229013a book-1
460 $ hg -R server-simple bookmark -r cd2534766bece138c7c1afdc6825302f0f62d81f book-2
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 using http://localhost:$HGPORT/
487 using http://localhost:$HGPORT/
464 sending capabilities command
488 sending capabilities command
465 query 1; heads
489 query 1; heads
@@ -468,13 +492,6 b' Bookmarks are transferred on clone'
468 sending command known: {
492 sending command known: {
469 'nodes': []
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 sending 1 commands
495 sending 1 commands
479 sending command changesetdata: {
496 sending command changesetdata: {
480 'fields': set([
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 add changeset 3390ef850073
514 add changeset 3390ef850073
502 add changeset 4432d83626e8
515 add changeset 4432d83626e8
503 add changeset cd2534766bec
516 add changeset cd2534766bec
@@ -522,10 +535,6 b' Bookmarks are transferred on clone'
522 ],
535 ],
523 'tree': ''
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 sending 1 commands
538 sending 1 commands
530 sending command filesdata: {
539 sending command filesdata: {
531 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
578 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
550 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
579 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
551 received frame(size=901; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
580 received frame(size=901; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
552 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
581 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
553 updating the branch cache
582
554 new changesets 3390ef850073:caa2a465451d (1 drafts)
583 $ rm clone-output
555 (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
556
584
557 $ hg -R client-bookmarks bookmarks
585 $ hg -R client-bookmarks bookmarks
558 book-1 0:3390ef850073
586 book-1 0:3390ef850073
@@ -563,7 +591,10 b' Server-side bookmark moves are reflected'
563 $ hg -R server-simple bookmark -r cd2534766bece138c7c1afdc6825302f0f62d81f book-1
591 $ hg -R server-simple bookmark -r cd2534766bece138c7c1afdc6825302f0f62d81f book-1
564 moving bookmark 'book-1' forward from 3390ef850073
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 pulling from http://localhost:$HGPORT/
598 pulling from http://localhost:$HGPORT/
568 using http://localhost:$HGPORT/
599 using http://localhost:$HGPORT/
569 sending capabilities command
600 sending capabilities command
@@ -576,13 +607,6 b' Server-side bookmark moves are reflected'
576 '\xca\xa2\xa4eE\x1d\xd1\xfa\xcd\xa0\xf5\xb1#\x12\xc3UXA\x88\xa1'
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 searching for changes
610 searching for changes
587 all remote heads known locally
611 all remote heads known locally
588 sending 1 commands
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
647 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
611 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
648 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
612 received frame(size=65; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
649 received frame(size=65; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
613 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
650 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
614 checking for updated bookmarks
651
615 updating bookmark book-1
652 $ rm pull-output
616 (run 'hg update' to get a working copy)
617 (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob)
618
653
619 $ hg -R client-bookmarks bookmarks
654 $ hg -R client-bookmarks bookmarks
620 book-1 2:cd2534766bec
655 book-1 2:cd2534766bec
@@ -647,7 +682,10 b" Let's set up a slightly more complicated"
647
682
648 Narrow clone only fetches some files
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 using http://localhost:$HGPORT/
689 using http://localhost:$HGPORT/
652 sending capabilities command
690 sending capabilities command
653 query 1; heads
691 query 1; heads
@@ -656,13 +694,6 b' Narrow clone only fetches some files'
656 sending command known: {
694 sending command known: {
657 'nodes': []
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 sending 1 commands
697 sending 1 commands
667 sending command changesetdata: {
698 sending command changesetdata: {
668 'fields': set([
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 add changeset 3390ef850073
715 add changeset 3390ef850073
689 add changeset b709380892b1
716 add changeset b709380892b1
690 add changeset 47fe012ab237
717 add changeset 47fe012ab237
@@ -705,10 +732,6 b' Narrow clone only fetches some files'
705 ],
732 ],
706 'tree': ''
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 sending 1 commands
735 sending 1 commands
713 sending command filesdata: {
736 sending command filesdata: {
714 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
779 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
737 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
780 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
738 received frame(size=449; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
781 received frame(size=449; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
739 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
782 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
740 updating the branch cache
783
741 new changesets 3390ef850073:97765fc3cd62
784 $ rm clone-output
742 (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
743
785
744 #if reporevlogstore
786 #if reporevlogstore
745 $ find client-narrow-0/.hg/store -type f -name '*.i' | sort
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 --exclude by itself works
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 using http://localhost:$HGPORT/
800 using http://localhost:$HGPORT/
756 sending capabilities command
801 sending capabilities command
757 query 1; heads
802 query 1; heads
@@ -760,13 +805,6 b' Narrow clone only fetches some files'
760 sending command known: {
805 sending command known: {
761 'nodes': []
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 sending 1 commands
808 sending 1 commands
771 sending command changesetdata: {
809 sending command changesetdata: {
772 'fields': set([
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 add changeset 3390ef850073
826 add changeset 3390ef850073
793 add changeset b709380892b1
827 add changeset b709380892b1
794 add changeset 47fe012ab237
828 add changeset 47fe012ab237
@@ -809,10 +843,6 b' Narrow clone only fetches some files'
809 ],
843 ],
810 'tree': ''
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 sending 1 commands
846 sending 1 commands
817 sending command filesdata: {
847 sending command filesdata: {
818 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
893 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
844 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
894 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
845 received frame(size=709; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
895 received frame(size=709; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
846 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
896 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
847 updating the branch cache
897
848 new changesets 3390ef850073:97765fc3cd62
898 $ rm clone-output
849 (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
850
899
851 #if reporevlogstore
900 #if reporevlogstore
852 $ find client-narrow-1/.hg/store -type f -name '*.i' | sort
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 Mixing --include and --exclude works
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 using http://localhost:$HGPORT/
916 using http://localhost:$HGPORT/
865 sending capabilities command
917 sending capabilities command
866 query 1; heads
918 query 1; heads
@@ -869,13 +921,6 b' Mixing --include and --exclude works'
869 sending command known: {
921 sending command known: {
870 'nodes': []
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 sending 1 commands
924 sending 1 commands
880 sending command changesetdata: {
925 sending command changesetdata: {
881 'fields': set([
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 add changeset 3390ef850073
942 add changeset 3390ef850073
902 add changeset b709380892b1
943 add changeset b709380892b1
903 add changeset 47fe012ab237
944 add changeset 47fe012ab237
@@ -918,10 +959,6 b' Mixing --include and --exclude works'
918 ],
959 ],
919 'tree': ''
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 sending 1 commands
962 sending 1 commands
926 sending command filesdata: {
963 sending command filesdata: {
927 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
1009 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
953 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1010 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
954 received frame(size=160; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1011 received frame(size=160; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
955 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
1012 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
956 updating the branch cache
1013
957 new changesets 3390ef850073:97765fc3cd62
1014 $ rm clone-output
958 (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
959
1015
960 #if reporevlogstore
1016 #if reporevlogstore
961 $ find client-narrow-2/.hg/store -type f -name '*.i' | sort
1017 $ find client-narrow-2/.hg/store -type f -name '*.i' | sort
@@ -967,7 +1023,10 b' Mixing --include and --exclude works'
967 --stream will use rawfiledata to transfer changelog and manifestlog, then
1023 --stream will use rawfiledata to transfer changelog and manifestlog, then
968 fall through to get files data
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 using http://localhost:$HGPORT/
1030 using http://localhost:$HGPORT/
972 sending capabilities command
1031 sending capabilities command
973 sending 1 commands
1032 sending 1 commands
@@ -977,10 +1036,6 b' fall through to get files data'
977 'manifestlog'
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 updating the branch cache
1039 updating the branch cache
985 query 1; heads
1040 query 1; heads
986 sending 2 commands
1041 sending 2 commands
@@ -990,13 +1045,6 b' fall through to get files data'
990 '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.'
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 searching for changes
1048 searching for changes
1001 all remote heads known locally
1049 all remote heads known locally
1002 sending 1 commands
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 checking for updated bookmarks
1070 checking for updated bookmarks
1027 sending 1 commands
1071 sending 1 commands
1028 sending command filesdata: {
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
1108 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
1047 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1109 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1048 received frame(size=1133; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1110 received frame(size=1133; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1049 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
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 --stream + --include/--exclude will only obtain some files
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 using http://localhost:$HGPORT/
1121 using http://localhost:$HGPORT/
1056 sending capabilities command
1122 sending capabilities command
1057 sending 1 commands
1123 sending 1 commands
@@ -1061,10 +1127,6 b' fall through to get files data'
1061 'manifestlog'
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 updating the branch cache
1130 updating the branch cache
1069 query 1; heads
1131 query 1; heads
1070 sending 2 commands
1132 sending 2 commands
@@ -1074,13 +1136,6 b' fall through to get files data'
1074 '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.'
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 searching for changes
1139 searching for changes
1085 all remote heads known locally
1140 all remote heads known locally
1086 sending 1 commands
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 checking for updated bookmarks
1161 checking for updated bookmarks
1111 sending 1 commands
1162 sending 1 commands
1112 sending command filesdata: {
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
1204 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
1136 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1205 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1137 received frame(size=449; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1206 received frame(size=449; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1138 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
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 #if reporevlogstore
1211 #if reporevlogstore
1142 $ find client-stream-2/.hg/store -type f -name '*.i' | sort
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 Shallow clone doesn't work with revlogs
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 using http://localhost:$HGPORT/
1229 using http://localhost:$HGPORT/
1153 sending capabilities command
1230 sending capabilities command
1154 query 1; heads
1231 query 1; heads
@@ -1157,13 +1234,6 b" Shallow clone doesn't work with revlogs"
1157 sending command known: {
1234 sending command known: {
1158 'nodes': []
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 sending 1 commands
1237 sending 1 commands
1168 sending command changesetdata: {
1238 sending command changesetdata: {
1169 'fields': set([
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 add changeset 3390ef850073
1255 add changeset 3390ef850073
1190 add changeset b709380892b1
1256 add changeset b709380892b1
1191 add changeset 47fe012ab237
1257 add changeset 47fe012ab237
@@ -1206,10 +1272,6 b" Shallow clone doesn't work with revlogs"
1206 ],
1272 ],
1207 'tree': ''
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 sending 1 commands
1275 sending 1 commands
1214 sending command filesdata: {
1276 sending command filesdata: {
1215 'fields': set([
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 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
1310 received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos)
1231 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1311 received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1232 received frame(size=1005; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1312 received frame(size=1005; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
1233 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
1313 received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
1234 transaction abort!
1314
1235 rollback completed
1315 $ rm clone-output
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]
1239
1316
1240 $ killdaemons.py
1317 $ killdaemons.py
1241
1318
General Comments 0
You need to be logged in to leave comments. Login now