Mercurial > hg
diff tests/test-ssh.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 | 4901d1e22b27 |
children | cd0ca979a8b8 |
line wrap: on
line diff
--- a/tests/test-ssh.t Wed Feb 21 19:26:41 2018 +0100 +++ b/tests/test-ssh.t Thu Jan 18 15:10:22 2018 +0100 @@ -496,7 +496,7 @@ devel-peer-request: between devel-peer-request: pairs: 81 bytes sending between command - remote: 384 (sshv1 !) + remote: 403 (sshv1 !) protocol upgraded to exp-ssh-v2-0001 (sshv2 !) remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN remote: 1 (sshv1 !) @@ -512,7 +512,7 @@ no changes found devel-peer-request: getbundle devel-peer-request: bookmarks: 1 bytes - devel-peer-request: bundlecaps: 247 bytes + devel-peer-request: bundlecaps: 266 bytes devel-peer-request: cg: 1 bytes devel-peer-request: common: 122 bytes devel-peer-request: heads: 122 bytes