Mercurial > hg
comparison tests/test-ssh-bundle1.t @ 36968:2090044a288d
revbranchcache: advertise and use 'rbc' exchange capability
The feature is now advertised and use.
Updating the branchmap cache can be very expensive (up to minutes on large
repository) and fetching revision branch data is about 80% of that. Exchanging
the rev branch cache over the wire really help to recover from branch map
invalidation.
(There is a good chance other in flight chance would conflict on
test-http-bad-server.t and other. So here is a small note to help update that
test again: capabilities=19bytes, part-107bytes)
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 18 Jan 2018 15:10:22 +0100 |
parents | e89959970a08 |
children | cd0ca979a8b8 |
comparison
equal
deleted
inserted
replaced
36967:f62873dba3fd | 36968:2090044a288d |
---|---|
476 pulling from ssh://user@dummy/remote | 476 pulling from ssh://user@dummy/remote |
477 running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) | 477 running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) |
478 sending upgrade request: * proto=exp-ssh-v2-0001 (glob) (sshv2 !) | 478 sending upgrade request: * proto=exp-ssh-v2-0001 (glob) (sshv2 !) |
479 sending hello command | 479 sending hello command |
480 sending between command | 480 sending between command |
481 remote: 403 (sshv1 !) | |
481 protocol upgraded to exp-ssh-v2-0001 (sshv2 !) | 482 protocol upgraded to exp-ssh-v2-0001 (sshv2 !) |
482 remote: 384 (sshv1 !) | 483 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN (sshv2 !) |
483 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | |
484 remote: 1 (sshv1 !) | 484 remote: 1 (sshv1 !) |
485 preparing listkeys for "bookmarks" | 485 preparing listkeys for "bookmarks" |
486 sending listkeys command | 486 sending listkeys command |
487 received listkey for "bookmarks": 45 bytes | 487 received listkey for "bookmarks": 45 bytes |
488 query 1; heads | 488 query 1; heads |