Debian Codegraph @

tests/test-stream-bundle-v2.t

raw
1 #testcases stream-v2 stream-v3
2 #testcases threaded sequential
3 #testcases fncache fileindex
4
5 #if threaded
6 $ cat << EOF >> $HGRCPATH
7 > [worker]
8 > parallel-stream-bundle-processing = yes
9 > parallel-stream-bundle-processing.num-writer = 2
10 > EOF
11 #else
12 $ cat << EOF >> $HGRCPATH
13 > [worker]
14 > parallel-stream-bundle-processing = no
15 > EOF
16 #endif
17
18 #if stream-v2
19 $ bundle_format="streamv2"
20 $ stream_version="v2"
21 #endif
22 #if stream-v3
23 $ bundle_format="streamv3-exp"
24 $ stream_version="v3-exp"
25 $ cat << EOF >> $HGRCPATH
26 > [experimental]
27 > stream-v3=yes
28 > EOF
29 #endif
30
31 #if fileindex
32 $ cat >> $HGRCPATH << EOF
33 > [format]
34 > use-fileindex-v1=yes
35 > EOF
36 #else
37 $ cat >> $HGRCPATH << EOF
38 > [format]
39 > use-fileindex-v1=no
40 > EOF
41 #endif
42
43 #if fileindex no-rust
44 $ cat >> $HGRCPATH << EOF
45 > [storage]
46 > fileindex.slow-path=allow
47 > EOF
48 #endif
49
50 Test creating a consuming stream bundle v2 and v3
51
52 $ getmainid() {
53 > hg -R main log --template '{node}\n' --rev "$1"
54 > }
55
56 $ cp $HGRCPATH $TESTTMP/hgrc.orig
57
58 $ cat >> $HGRCPATH << EOF
59 > [ui]
60 > portablefilenames=abort
61 > [experimental]
62 > evolution.createmarkers=True
63 > evolution.exchange=True
64 > bundle2-output-capture=True
65 > [ui]
66 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
67 > [web]
68 > push_ssl = false
69 > allow_push = *
70 > [phases]
71 > publish=False
72 > [extensions]
73 > drawdag=$TESTDIR/drawdag.py
74 > clonebundles=
75 > EOF
76
77 The extension requires a repo (currently unused)
78
79 $ hg init main
80 $ cd main
81
82 $ hg debugdrawdag <<'EOF'
83 > E
84 > |
85 > D # D/ba"r=<deleted>
86 > |
87 > C # C/ba"r=faz
88 > |
89 > B # B/blu=fuz
90 > |
91 > A
92 > EOF
93
94 $ hg bundle -a --type="none-v2;stream=$stream_version" bundle.hg
95 $ hg debugbundle bundle.hg
96 Stream params: {}
97 stream2 -- {bytecount: 1908, filecount: 14, requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 no-zstd !)
98 stream2 -- {bytecount: 1913, filecount: 14, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 zstd no-rust !)
99 stream2 -- {bytecount: 2103, filecount: 16, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 rust !)
100 stream3-exp -- {requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 no-zstd !)
101 stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 zstd no-rust !)
102 stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 rust !)
103 $ hg debugbundle --spec bundle.hg
104 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v2 no-zstd !)
105 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v2 zstd no-rust !)
106 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v2 rust !)
107 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v3 no-zstd !)
108 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v3 zstd no-rust !)
109 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v3 rust !)
110
111 $ hg bundle -a --type="none-$bundle_format" bundle.hg
112 $ hg debugbundle bundle.hg
113 Stream params: {}
114 stream2 -- {bytecount: 1908, filecount: 14, requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 no-zstd !)
115 stream2 -- {bytecount: 1913, filecount: 14, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 zstd no-rust !)
116 stream2 -- {bytecount: 2103, filecount: 16, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 rust !)
117 stream3-exp -- {requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 no-zstd !)
118 stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 zstd no-rust !)
119 stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 rust !)
120 $ hg debugbundle --spec bundle.hg
121 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v2 no-zstd !)
122 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v2 zstd no-rust !)
123 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v2 rust !)
124 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v3 no-zstd !)
125 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v3 zstd no-rust !)
126 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v3 rust !)
127
128 $ hg serve -d -p $HGPORT --pid-file hg.pid --accesslog access.log
129 $ cat hg.pid >> $DAEMON_PIDS
130
131 $ "$PYTHON" $TESTDIR/dumbhttp.py -p $HGPORT1 --pid http.pid
132 $ cat http.pid >> $DAEMON_PIDS
133
134 $ cd ..
135
136
137 Requirements filtering
138 ======================
139
140
141 Unknown requirements
142 --------------------
143
144 Stream bundle spec with unknown requirements should be filtered out
145
146 $ cat > main/.hg/clonebundles.manifest << EOF
147 > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=none-v2;stream=$stream_version;requirements%3Drevlogv42
148 > EOF
149
150
151 $ hg clone -U http://localhost:$HGPORT stream-clone-unsupported-requirements
152 no compatible clone bundles available on server; falling back to regular clone
153 (you may want to report this to the server operator)
154 requesting all changes
155 adding changesets
156 adding manifests
157 adding file changes
158 added 5 changesets with 7 changes to 7 files
159 new changesets 426bada5c675:92165ab525bf (5 drafts)
160
161 known requirements
162 ------------------
163
164 Stream bundle spec with known requirements should be filtered out
165
166
167
168 $ cat > main/.hg/clonebundles.manifest << EOF
169 > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=none-v2;stream=$stream_version;requirements%3Dsparserevlog,revlogv1
170 > EOF
171
172 $ hg clone -U http://localhost:$HGPORT stream-clone-supported-requirements
173 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
174 * to transfer* (glob)
175 stream-cloned * in * seconds (*/sec) (glob)
176 finished applying clone bundle
177 searching for changes
178 no changes found
179
180
181 known but irrelevant requirements
182 ---------------------------------
183
184 As fncache and dotencode are abstracted by the vfs, they don't actually matters for streamclone
185
186 $ cat > main/.hg/clonebundles.manifest << EOF
187 > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=none-v2;stream=$stream_version;requirements%3Dshare-safe
188 > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=none-v2;stream=$stream_version;requirements%3Dshare-safe,fncache,dotencode
189 > EOF
190
191 $ hg clone -U http://localhost:$HGPORT stream-clone-ignorable-requirements
192 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
193 * to transfer* (glob)
194 stream-cloned * in * seconds (*/sec) (glob)
195 finished applying clone bundle
196 searching for changes
197 no changes found
198
199
200
201 Test that we can apply the bundle as a stream clone bundle
202 ==========================================================
203
204 $ cat > main/.hg/clonebundles.manifest << EOF
205 > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=`hg debugbundle --spec main/bundle.hg`
206 > EOF
207
208
209 #if stream-v2
210 $ hg clone http://localhost:$HGPORT stream-clone-implicit --debug
211 using http://localhost:$HGPORT/
212 sending capabilities command
213 sending clonebundles_manifest command
214 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
215 bundle2-input-bundle: with-transaction
216 bundle2-input-part: "stream2" (params: 3 mandatory) supported
217 applying stream bundle
218 14 files to transfer, 1.86 KB of data (no-rust no-zstd !)
219 14 files to transfer, 1.87 KB of data (no-rust zstd !)
220 16 files to transfer, 2.05 KB of data (rust !)
221 starting 4 threads for background file closing (?)
222 starting 4 threads for background file closing (?)
223 adding [s] data/A.i (66 bytes)
224 adding [s] data/B.i (66 bytes)
225 adding [s] data/C.i (66 bytes)
226 adding [s] data/D.i (66 bytes)
227 adding [s] data/E.i (66 bytes)
228 adding [s] data/ba"r.i (68 bytes)
229 adding [s] data/blu.i (68 bytes)
230 adding [s] phaseroots (43 bytes)
231 adding [s] 00manifest.i (649 bytes) (no-zstd !)
232 adding [s] 00manifest.i (654 bytes) (zstd !)
233 adding [s] 00changelog.n (62 bytes) (rust !)
234 adding [s] 00changelog-b875dfc5.nd (128 bytes) (rust !)
235 adding [s] 00changelog.d (289 bytes)
236 adding [s] 00changelog.i (320 bytes)
237 adding [c] branch2-served (94 bytes)
238 adding [c] rbc-names-v2 (7 bytes)
239 adding [c] rbc-revs-v2 (40 bytes)
240 bundle2-input-part: total payload size 2099 (no-rust no-zstd !)
241 bundle2-input-part: total payload size 2104 (no-rust zstd !)
242 bundle2-input-part: total payload size 2337 (rust !)
243 stream-cloned 14 files / 1.86 KB in * seconds (* */sec) (glob) (no-rust no-zstd !)
244 stream-cloned 14 files / 1.87 KB in * seconds (* */sec) (glob) (no-rust zstd !)
245 stream-cloned 16 files / 2.05 KB in * seconds (* */sec) (glob) (rust !)
246 bundle2-input-bundle: 1 parts total
247 updating the branch cache
248 finished applying clone bundle
249 query 1; heads
250 sending batch command
251 searching for changes
252 all remote heads known locally
253 no changes found
254 sending getbundle command
255 bundle2-input-bundle: with-transaction
256 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
257 bundle2-input-part: "phase-heads" supported
258 bundle2-input-part: total payload size 24
259 bundle2-input-bundle: 2 parts total
260 checking for updated bookmarks
261 updating to branch default
262 resolving manifests (no-rust !)
263 branchmerge: False, force: False, partial: False (no-rust !)
264 ancestor: 000000000000, local: 000000000000+, remote: 92165ab525bf (no-rust !)
265 A: remote created -> g (no-rust !)
266 getting A (no-rust !)
267 B: remote created -> g (no-rust !)
268 getting B (no-rust !)
269 C: remote created -> g (no-rust !)
270 getting C (no-rust !)
271 D: remote created -> g (no-rust !)
272 getting D (no-rust !)
273 E: remote created -> g (no-rust !)
274 getting E (no-rust !)
275 blu: remote created -> g (no-rust !)
276 getting blu (no-rust !)
277 6 files updated, 0 files merged, 0 files removed, 0 files unresolved
278 updating the branch cache
279 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
280
281 test explicite stream request
282
283 (also test unlimited memory usage code path)
284
285 $ hg clone --stream http://localhost:$HGPORT stream-clone-explicit --debug \
286 > --config worker.parallel-stream-bundle-processing.memory-target=-1
287 using http://localhost:$HGPORT/
288 sending capabilities command
289 sending clonebundles_manifest command
290 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
291 bundle2-input-bundle: with-transaction
292 bundle2-input-part: "stream2" (params: 3 mandatory) supported
293 applying stream bundle
294 14 files to transfer, 1.86 KB of data (no-rust no-zstd !)
295 14 files to transfer, 1.87 KB of data (no-rust zstd !)
296 16 files to transfer, 2.05 KB of data (rust !)
297 starting 4 threads for background file closing (?)
298 starting 4 threads for background file closing (?)
299 adding [s] data/A.i (66 bytes)
300 adding [s] data/B.i (66 bytes)
301 adding [s] data/C.i (66 bytes)
302 adding [s] data/D.i (66 bytes)
303 adding [s] data/E.i (66 bytes)
304 adding [s] data/ba"r.i (68 bytes)
305 adding [s] data/blu.i (68 bytes)
306 adding [s] phaseroots (43 bytes)
307 adding [s] 00manifest.i (649 bytes) (no-zstd !)
308 adding [s] 00manifest.i (654 bytes) (zstd !)
309 adding [s] 00changelog.n (62 bytes) (rust !)
310 adding [s] 00changelog-b875dfc5.nd (128 bytes) (rust !)
311 adding [s] 00changelog.d (289 bytes)
312 adding [s] 00changelog.i (320 bytes)
313 adding [c] branch2-served (94 bytes)
314 adding [c] rbc-names-v2 (7 bytes)
315 adding [c] rbc-revs-v2 (40 bytes)
316 bundle2-input-part: total payload size 2099 (no-rust no-zstd !)
317 bundle2-input-part: total payload size 2104 (no-rust zstd !)
318 bundle2-input-part: total payload size 2337 (rust !)
319 stream-cloned 14 files / 1.86 KB in * seconds (* */sec) (glob) (no-rust no-zstd !)
320 stream-cloned 14 files / 1.87 KB in * seconds (* */sec) (glob) (no-rust zstd !)
321 stream-cloned 16 files / 2.05 KB in * seconds (* */sec) (glob) (rust !)
322 bundle2-input-bundle: 1 parts total
323 updating the branch cache
324 finished applying clone bundle
325 query 1; heads
326 sending batch command
327 searching for changes
328 all remote heads known locally
329 no changes found
330 sending getbundle command
331 bundle2-input-bundle: with-transaction
332 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
333 bundle2-input-part: "phase-heads" supported
334 bundle2-input-part: total payload size 24
335 bundle2-input-bundle: 2 parts total
336 checking for updated bookmarks
337 updating to branch default
338 resolving manifests (no-rust !)
339 branchmerge: False, force: False, partial: False (no-rust !)
340 ancestor: 000000000000, local: 000000000000+, remote: 92165ab525bf (no-rust !)
341 A: remote created -> g (no-rust !)
342 getting A (no-rust !)
343 B: remote created -> g (no-rust !)
344 getting B (no-rust !)
345 C: remote created -> g (no-rust !)
346 getting C (no-rust !)
347 D: remote created -> g (no-rust !)
348 getting D (no-rust !)
349 E: remote created -> g (no-rust !)
350 getting E (no-rust !)
351 blu: remote created -> g (no-rust !)
352 getting blu (no-rust !)
353 6 files updated, 0 files merged, 0 files removed, 0 files unresolved
354 updating the branch cache
355 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
356
357 #endif
358
359 #if stream-v3
360 $ hg clone http://localhost:$HGPORT stream-clone-implicit --debug
361 using http://localhost:$HGPORT/
362 sending capabilities command
363 sending clonebundles_manifest command
364 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
365 bundle2-input-bundle: with-transaction
366 bundle2-input-part: "stream3-exp" (params: 1 mandatory) supported
367 applying stream bundle
368 13 entries to transfer
369 starting 4 threads for background file closing (?)
370 starting 4 threads for background file closing (?)
371 adding [s] data/A.i (66 bytes)
372 adding [s] data/B.i (66 bytes)
373 adding [s] data/C.i (66 bytes)
374 adding [s] data/D.i (66 bytes)
375 adding [s] data/E.i (66 bytes)
376 adding [s] data/ba"r.i (68 bytes)
377 adding [s] data/blu.i (68 bytes)
378 adding [s] phaseroots (43 bytes)
379 adding [s] 00manifest.i (649 bytes) (no-zstd !)
380 adding [s] 00manifest.i (654 bytes) (zstd !)
381 adding [s] 00changelog.n (62 bytes) (rust !)
382 adding [s] 00changelog-b875dfc5.nd (128 bytes) (rust !)
383 adding [s] 00changelog.d (289 bytes)
384 adding [s] 00changelog.i (320 bytes)
385 adding [c] branch2-served (94 bytes)
386 adding [c] rbc-names-v2 (7 bytes)
387 adding [c] rbc-revs-v2 (40 bytes)
388 stream-cloned 14 files / 1.86 KB in * seconds (* */sec) (glob) (no-rust no-zstd !)
389 stream-cloned 14 files / 1.87 KB in * seconds (* */sec) (glob) (no-rust zstd !)
390 bundle2-input-part: total payload size 2113 (no-rust no-zstd !)
391 bundle2-input-part: total payload size 2118 (no-rust zstd !)
392 stream-cloned 16 files / 2.05 KB in * seconds (* */sec) (glob) (rust !)
393 bundle2-input-part: total payload size 2351 (rust !)
394 bundle2-input-bundle: 1 parts total
395 updating the branch cache
396 finished applying clone bundle
397 query 1; heads
398 sending batch command
399 searching for changes
400 all remote heads known locally
401 no changes found
402 sending getbundle command
403 bundle2-input-bundle: with-transaction
404 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
405 bundle2-input-part: "phase-heads" supported
406 bundle2-input-part: total payload size 24
407 bundle2-input-bundle: 2 parts total
408 checking for updated bookmarks
409 updating to branch default
410 resolving manifests (no-rust !)
411 branchmerge: False, force: False, partial: False (no-rust !)
412 ancestor: 000000000000, local: 000000000000+, remote: 92165ab525bf (no-rust !)
413 A: remote created -> g (no-rust !)
414 getting A (no-rust !)
415 B: remote created -> g (no-rust !)
416 getting B (no-rust !)
417 C: remote created -> g (no-rust !)
418 getting C (no-rust !)
419 D: remote created -> g (no-rust !)
420 getting D (no-rust !)
421 E: remote created -> g (no-rust !)
422 getting E (no-rust !)
423 blu: remote created -> g (no-rust !)
424 getting blu (no-rust !)
425 6 files updated, 0 files merged, 0 files removed, 0 files unresolved
426 updating the branch cache
427 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
428
429 $ hg clone --stream http://localhost:$HGPORT stream-clone-explicit --debug
430 using http://localhost:$HGPORT/
431 sending capabilities command
432 sending clonebundles_manifest command
433 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
434 bundle2-input-bundle: with-transaction
435 bundle2-input-part: "stream3-exp" (params: 1 mandatory) supported
436 applying stream bundle
437 13 entries to transfer
438 starting 4 threads for background file closing (?)
439 starting 4 threads for background file closing (?)
440 adding [s] data/A.i (66 bytes)
441 adding [s] data/B.i (66 bytes)
442 adding [s] data/C.i (66 bytes)
443 adding [s] data/D.i (66 bytes)
444 adding [s] data/E.i (66 bytes)
445 adding [s] data/ba"r.i (68 bytes)
446 adding [s] data/blu.i (68 bytes)
447 adding [s] phaseroots (43 bytes)
448 adding [s] 00manifest.i (649 bytes) (no-zstd !)
449 adding [s] 00manifest.i (654 bytes) (zstd !)
450 adding [s] 00changelog.n (62 bytes) (rust !)
451 adding [s] 00changelog-b875dfc5.nd (128 bytes) (rust !)
452 adding [s] 00changelog.d (289 bytes)
453 adding [s] 00changelog.i (320 bytes)
454 adding [c] branch2-served (94 bytes)
455 adding [c] rbc-names-v2 (7 bytes)
456 adding [c] rbc-revs-v2 (40 bytes)
457 stream-cloned 14 files / 1.86 KB in * seconds (* */sec) (glob) (no-rust no-zstd !)
458 stream-cloned 14 files / 1.87 KB in * seconds (* */sec) (glob) (no-rust zstd !)
459 bundle2-input-part: total payload size 2113 (no-rust no-zstd !)
460 bundle2-input-part: total payload size 2118 (no-rust zstd !)
461 stream-cloned 16 files / 2.05 KB in * seconds (* */sec) (glob) (rust !)
462 bundle2-input-part: total payload size 2351 (rust !)
463 bundle2-input-bundle: 1 parts total
464 updating the branch cache
465 finished applying clone bundle
466 query 1; heads
467 sending batch command
468 searching for changes
469 all remote heads known locally
470 no changes found
471 sending getbundle command
472 bundle2-input-bundle: with-transaction
473 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
474 bundle2-input-part: "phase-heads" supported
475 bundle2-input-part: total payload size 24
476 bundle2-input-bundle: 2 parts total
477 checking for updated bookmarks
478 updating to branch default
479 resolving manifests (no-rust !)
480 branchmerge: False, force: False, partial: False (no-rust !)
481 ancestor: 000000000000, local: 000000000000+, remote: 92165ab525bf (no-rust !)
482 A: remote created -> g (no-rust !)
483 getting A (no-rust !)
484 B: remote created -> g (no-rust !)
485 getting B (no-rust !)
486 C: remote created -> g (no-rust !)
487 getting C (no-rust !)
488 D: remote created -> g (no-rust !)
489 getting D (no-rust !)
490 E: remote created -> g (no-rust !)
491 getting E (no-rust !)
492 blu: remote created -> g (no-rust !)
493 getting blu (no-rust !)
494 6 files updated, 0 files merged, 0 files removed, 0 files unresolved
495 updating the branch cache
496 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
497
498 #endif
499
500 Test that bundles with unsupported compression engines are just ignored.
501
502 #if stream-v2 no-zstd
503 $ cat > main/.hg/clonebundles.manifest << EOF
504 > http://localhost:$HGPORT1/test-streamv2-zstd.hg BUNDLESPEC=none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog
505 > http://localhost:$HGPORT1/test-streamv2-zstd.hg BUNDLESPEC=zstd-v2
506 > EOF
507 $ hg clone http://localhost:$HGPORT stream-clone-bad-compression
508 no compatible clone bundles available on server; falling back to regular clone
509 (you may want to report this to the server operator)
510 requesting all changes
511 adding changesets
512 adding manifests
513 adding file changes
514 added 5 changesets with 7 changes to 7 files
515 new changesets 426bada5c675:92165ab525bf (5 drafts)
516 updating to branch default
517 6 files updated, 0 files merged, 0 files removed, 0 files unresolved
518 #endif