Show More
@@ -419,46 +419,25 b' actually serving file content' | |||||
419 | Stream repository with bookmarks |
|
419 | Stream repository with bookmarks | |
420 | -------------------------------- |
|
420 | -------------------------------- | |
421 |
|
421 | |||
|
422 | The bookmark file should be send over in the stream bundle. | |||
|
423 | ||||
422 | add a bookmark |
|
424 | add a bookmark | |
423 |
|
425 | |||
424 | $ hg -R server bookmark -r tip some-bookmark |
|
426 | $ hg -R server bookmark -r tip some-bookmark | |
425 |
|
427 | |||
426 | clone it |
|
428 | clone it | |
427 |
|
429 | |||
428 | #if stream-legacy |
|
|||
429 | $ hg clone --stream http://localhost:$HGPORT with-bookmarks |
|
|||
430 | streaming all changes |
|
|||
431 | 1091 files to transfer, 102 KB of data (no-zstd !) |
|
|||
432 | transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !) |
|
|||
433 | 1091 files to transfer, 98.8 KB of data (zstd !) |
|
|||
434 | transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !) |
|
|||
435 | searching for changes |
|
|||
436 | no changes found |
|
|||
437 | updating to branch default |
|
|||
438 | 1088 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
|||
439 | #endif |
|
|||
440 | #if stream-bundle2-v2 |
|
|||
441 | $ hg clone --stream http://localhost:$HGPORT with-bookmarks |
|
430 | $ hg clone --stream http://localhost:$HGPORT with-bookmarks | |
442 | streaming all changes |
|
431 | streaming all changes | |
443 |
109 |
|
432 | 1091 files to transfer, * KB of data (glob) (stream-legacy !) | |
444 | transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !) |
|
433 | 1097 files to transfer, * KB of data (glob) (stream-bundle2-v2 no-rust !) | |
445 |
109 |
|
434 | 1099 files to transfer, * KB of data (glob) (stream-bundle2-v2 rust !) | |
446 | transferred 99.1 KB in * seconds (* */sec) (glob) (zstd no-rust !) |
|
435 | 1096 entries to transfer (stream-bundle2-v3 !) | |
447 | 1099 files to transfer, 99.2 KB of data (zstd rust !) |
|
436 | transferred * KB in * seconds (* */sec) (glob) | |
448 | transferred 99.2 KB in * seconds (* */sec) (glob) (zstd rust !) |
|
437 | searching for changes (stream-legacy !) | |
|
438 | no changes found (stream-legacy !) | |||
449 | updating to branch default |
|
439 | updating to branch default | |
450 | 1088 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
440 | 1088 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
451 | #endif |
|
|||
452 | #if stream-bundle2-v3 |
|
|||
453 | $ hg clone --stream http://localhost:$HGPORT with-bookmarks |
|
|||
454 | streaming all changes |
|
|||
455 | 1096 entries to transfer |
|
|||
456 | transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !) |
|
|||
457 | transferred 99.1 KB in * seconds (* */sec) (glob) (zstd no-rust !) |
|
|||
458 | transferred 99.2 KB in * seconds (* */sec) (glob) (zstd rust !) |
|
|||
459 | updating to branch default |
|
|||
460 | 1088 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
|||
461 | #endif |
|
|||
462 | $ hg verify -R with-bookmarks -q |
|
441 | $ hg verify -R with-bookmarks -q | |
463 | $ hg -R with-bookmarks bookmarks |
|
442 | $ hg -R with-bookmarks bookmarks | |
464 | some-bookmark 2:5223b5e3265f |
|
443 | some-bookmark 2:5223b5e3265f |
General Comments 0
You need to be logged in to leave comments.
Login now