Show More
@@ -266,95 +266,15 b' The alias flag should trigger a stream c' | |||
|
266 | 266 | no changes found (stream-legacy !) |
|
267 | 267 | |
|
268 | 268 | Clone with background file closing enabled |
|
269 | ------------------------------------------- | |
|
269 | 270 | |
|
270 | #if stream-legacy | |
|
271 | $ hg --debug --config worker.backgroundclose=true --config worker.backgroundcloseminfilecount=1 clone --stream -U http://localhost:$HGPORT clone-background | grep -v adding | |
|
272 | using http://localhost:$HGPORT/ | |
|
273 | sending capabilities command | |
|
274 | sending branchmap command | |
|
275 | streaming all changes | |
|
276 | sending stream_out command | |
|
277 | 1091 files to transfer, 102 KB of data (no-zstd !) | |
|
278 | 1091 files to transfer, 98.8 KB of data (zstd !) | |
|
279 | starting 4 threads for background file closing | |
|
280 | updating the branch cache | |
|
281 | transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !) | |
|
282 | transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !) | |
|
283 | query 1; heads | |
|
284 | sending batch command | |
|
285 | searching for changes | |
|
286 | all remote heads known locally | |
|
287 | no changes found | |
|
288 | sending getbundle command | |
|
289 | bundle2-input-bundle: with-transaction | |
|
290 | bundle2-input-part: "listkeys" (params: 1 mandatory) supported | |
|
291 | bundle2-input-part: "phase-heads" supported | |
|
292 | bundle2-input-part: total payload size 24 | |
|
293 | bundle2-input-bundle: 2 parts total | |
|
294 | checking for updated bookmarks | |
|
295 | updating the branch cache | |
|
296 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
297 | #endif | |
|
298 | #if stream-bundle2-v2 | |
|
299 | $ hg --debug --config worker.backgroundclose=true --config worker.backgroundcloseminfilecount=1 clone --stream -U http://localhost:$HGPORT clone-background | grep -v adding | |
|
300 | using http://localhost:$HGPORT/ | |
|
301 | sending capabilities command | |
|
302 | query 1; heads | |
|
303 | sending batch command | |
|
304 | streaming all changes | |
|
305 | sending getbundle command | |
|
306 | bundle2-input-bundle: with-transaction | |
|
307 | bundle2-input-part: "stream2" (params: 3 mandatory) supported | |
|
308 | applying stream bundle | |
|
309 | 1094 files to transfer, 102 KB of data (no-zstd !) | |
|
310 | 1094 files to transfer, 98.9 KB of data (zstd no-rust !) | |
|
311 | 1096 files to transfer, 99.0 KB of data (zstd rust !) | |
|
312 | starting 4 threads for background file closing | |
|
271 | The backgound file closing logic should trigger when configured to do so, and | |
|
272 | the result should be a valid repository. | |
|
273 | ||
|
274 | $ hg --debug --config worker.backgroundclose=true --config worker.backgroundcloseminfilecount=1 clone --stream -U http://localhost:$HGPORT clone-background | grep "background file closing" | |
|
313 | 275 | starting 4 threads for background file closing |
|
314 | updating the branch cache | |
|
315 | transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !) | |
|
316 | bundle2-input-part: total payload size 119001 (no-zstd !) | |
|
317 | transferred 98.9 KB in * seconds (* */sec) (glob) (zstd no-rust !) | |
|
318 | transferred 99.0 KB in * seconds (* */sec) (glob) (zstd rust !) | |
|
319 | bundle2-input-part: total payload size 116162 (zstd no-bigendian no-rust !) | |
|
320 | bundle2-input-part: total payload size 116330 (zstd no-bigendian rust !) | |
|
321 | bundle2-input-part: total payload size 116157 (zstd bigendian no-rust !) | |
|
322 | bundle2-input-part: total payload size 116325 (zstd bigendian rust !) | |
|
323 | bundle2-input-part: "listkeys" (params: 1 mandatory) supported | |
|
324 | bundle2-input-bundle: 2 parts total | |
|
325 | checking for updated bookmarks | |
|
326 | updating the branch cache | |
|
327 | (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
328 | #endif | |
|
329 | #if stream-bundle2-v3 | |
|
330 | $ hg --debug --config worker.backgroundclose=true --config worker.backgroundcloseminfilecount=1 clone --stream -U http://localhost:$HGPORT clone-background | grep -v adding | |
|
331 | using http://localhost:$HGPORT/ | |
|
332 | sending capabilities command | |
|
333 | query 1; heads | |
|
334 | sending batch command | |
|
335 | streaming all changes | |
|
336 | sending getbundle command | |
|
337 | bundle2-input-bundle: with-transaction | |
|
338 | bundle2-input-part: "stream3-exp" (params: 1 mandatory) supported | |
|
339 | applying stream bundle | |
|
340 | 1093 entries to transfer | |
|
341 | starting 4 threads for background file closing | |
|
342 | starting 4 threads for background file closing | |
|
343 | updating the branch cache | |
|
344 | transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !) | |
|
345 | bundle2-input-part: total payload size 120096 (no-zstd !) | |
|
346 | transferred 98.9 KB in * seconds (* */sec) (glob) (zstd no-rust !) | |
|
347 | transferred 99.0 KB in * seconds (* */sec) (glob) (zstd rust !) | |
|
348 | bundle2-input-part: total payload size 117257 (zstd no-rust no-bigendian !) | |
|
349 | bundle2-input-part: total payload size 117425 (zstd rust no-bigendian !) | |
|
350 | bundle2-input-part: total payload size 117252 (zstd bigendian no-rust !) | |
|
351 | bundle2-input-part: total payload size 117420 (zstd bigendian rust !) | |
|
352 | bundle2-input-part: "listkeys" (params: 1 mandatory) supported | |
|
353 | bundle2-input-bundle: 2 parts total | |
|
354 | checking for updated bookmarks | |
|
355 | updating the branch cache | |
|
356 | (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob) | |
|
357 | #endif | |
|
276 | starting 4 threads for background file closing (no-stream-legacy !) | |
|
277 | $ hg verify -R clone-background --quiet | |
|
358 | 278 |
|
|
359 | 279 | Cannot stream clone when there are secret changesets |
|
360 | 280 |
General Comments 0
You need to be logged in to leave comments.
Login now