Mercurial > hg
comparison tests/test-debugcommands.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 |
---|---|
377 heads | 377 heads |
378 pushkey | 378 pushkey |
379 remote-changegroup | 379 remote-changegroup |
380 http | 380 http |
381 https | 381 https |
382 rev-branch-cache | |
382 stream | 383 stream |
383 v2 | 384 v2 |
384 | 385 |
385 Test debugpeer | 386 Test debugpeer |
386 | 387 |
395 devel-peer-request: hello | 396 devel-peer-request: hello |
396 sending hello command | 397 sending hello command |
397 devel-peer-request: between | 398 devel-peer-request: between |
398 devel-peer-request: pairs: 81 bytes | 399 devel-peer-request: pairs: 81 bytes |
399 sending between command | 400 sending between command |
400 remote: 384 | 401 remote: 403 |
401 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 402 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
402 remote: 1 | 403 remote: 1 |
403 url: ssh://user@dummy/debugrevlog | 404 url: ssh://user@dummy/debugrevlog |
404 local: no | 405 local: no |
405 pushable: yes | 406 pushable: yes |