comparison tests/test-ssh-bundle1.t @ 25401:d29201352af7

bundle2: part handler for processing .hgtags fnodes mappings .hgtags fnodes cache entries can be expensive to compute, especially if there are hundreds of even thousands of them. This patch implements support for receiving a bundle2 part that contains a mapping of changeset to .hgtags fnodes. An upcoming patch will teach the server to send this part, allowing clients to bypass having to redundantly compute these values. A number of tests changed due to the client advertising the "hgtagsfnodes" capability.
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 01 Jun 2015 20:23:22 -0700
parents b08887e723a9
children 46727fea7a00
comparison
equal deleted inserted replaced
25400:7759dc97c5c7 25401:d29201352af7
458 $ hg pull --debug ssh://user@dummy/remote 458 $ hg pull --debug ssh://user@dummy/remote
459 pulling from ssh://user@dummy/remote 459 pulling from ssh://user@dummy/remote
460 running python "*/dummyssh" user@dummy 'hg -R remote serve --stdio' (glob) 460 running python "*/dummyssh" user@dummy 'hg -R remote serve --stdio' (glob)
461 sending hello command 461 sending hello command
462 sending between command 462 sending between command
463 remote: 271 463 remote: 286
464 remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 464 remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
465 remote: 1 465 remote: 1
466 preparing listkeys for "bookmarks" 466 preparing listkeys for "bookmarks"
467 sending listkeys command 467 sending listkeys command
468 received listkey for "bookmarks": 45 bytes 468 received listkey for "bookmarks": 45 bytes
469 query 1; heads 469 query 1; heads