Mercurial > hg
comparison tests/test-obsolete-changeset-exchange.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 | b89a7ef29013 |
children | d618558e4e8b |
comparison
equal
deleted
inserted
replaced
36967:f62873dba3fd | 36968:2090044a288d |
---|---|
153 2 total queries in *.????s (glob) | 153 2 total queries in *.????s (glob) |
154 1 changesets found | 154 1 changesets found |
155 list of changesets: | 155 list of changesets: |
156 bec0734cd68e84477ba7fc1d13e6cff53ab70129 | 156 bec0734cd68e84477ba7fc1d13e6cff53ab70129 |
157 listing keys for "bookmarks" | 157 listing keys for "bookmarks" |
158 bundle2-output-bundle: "HG20", 3 parts total | 158 bundle2-output-bundle: "HG20", 4 parts total |
159 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload | 159 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload |
160 bundle2-output-part: "listkeys" (params: 1 mandatory) empty payload | 160 bundle2-output-part: "listkeys" (params: 1 mandatory) empty payload |
161 bundle2-output-part: "phase-heads" 24 bytes payload | 161 bundle2-output-part: "phase-heads" 24 bytes payload |
162 bundle2-output-part: "cache:rev-branch-cache" streamed payload | |
162 bundle2-input-bundle: with-transaction | 163 bundle2-input-bundle: with-transaction |
163 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported | 164 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported |
164 adding changesets | 165 adding changesets |
165 add changeset bec0734cd68e | 166 add changeset bec0734cd68e |
166 adding manifests | 167 adding manifests |
169 added 1 changesets with 1 changes to 1 files (+1 heads) | 170 added 1 changesets with 1 changes to 1 files (+1 heads) |
170 bundle2-input-part: total payload size 476 | 171 bundle2-input-part: total payload size 476 |
171 bundle2-input-part: "listkeys" (params: 1 mandatory) supported | 172 bundle2-input-part: "listkeys" (params: 1 mandatory) supported |
172 bundle2-input-part: "phase-heads" supported | 173 bundle2-input-part: "phase-heads" supported |
173 bundle2-input-part: total payload size 24 | 174 bundle2-input-part: total payload size 24 |
174 bundle2-input-bundle: 2 parts total | 175 bundle2-input-part: "cache:rev-branch-cache" supported |
176 bundle2-input-part: total payload size 39 | |
177 bundle2-input-bundle: 3 parts total | |
175 checking for updated bookmarks | 178 checking for updated bookmarks |
176 updating the branch cache | 179 updating the branch cache |
177 new changesets bec0734cd68e | 180 new changesets bec0734cd68e |
178 (run 'hg heads' to see heads, 'hg merge' to merge) | 181 (run 'hg heads' to see heads, 'hg merge' to merge) |