diff 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
line wrap: on
line diff
--- a/tests/test-ssh-bundle1.t	Wed Feb 21 19:26:41 2018 +0100
+++ b/tests/test-ssh-bundle1.t	Thu Jan 18 15:10:22 2018 +0100
@@ -478,9 +478,9 @@
   sending upgrade request: * proto=exp-ssh-v2-0001 (glob) (sshv2 !)
   sending hello command
   sending between command
+  remote: 403 (sshv1 !)
   protocol upgraded to exp-ssh-v2-0001 (sshv2 !)
-  remote: 384 (sshv1 !)
-  remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
+  remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN (sshv2 !)
   remote: 1 (sshv1 !)
   preparing listkeys for "bookmarks"
   sending listkeys command