comparison tests/test-bookmarks-pushpull.t @ 44412:edc8504bc26b

exchange: turn on option that makes concurrent pushes work better The motivation is simply to make hg work better out of the box. This is a slight backwards compatibility break, because client extensions could have assumed that the list of heads the client sees during discovery will be the list of heads during the entirety of the push. It seems unlikely to matter, and not worth mentioning. There's a fair amount of diff in tests, but this is just due to sending a few more bytes on the wire, except for test-acl.t. The extra "invalid branch cache" lines in test-acl.t don't seem to indicate a problem: the branchcache now get computed during the bundle application (because of the check:updated-heads bundle part), but doesn't get rolled back when transactions rollback, thus causing a message in the next operation computing the branch cache. Before this change, I assume the branchcache was only computed on transaction commit, so not computed at all when the transactions roll back, thus no messages. Differential Revision: https://phab.mercurial-scm.org/D8202
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Tue, 25 Feb 2020 20:27:39 -0500
parents 8407031f195f
children ed84a4d48910
comparison
equal deleted inserted replaced
44411:1e508097f570 44412:edc8504bc26b
127 bundle2-output-bundle: "HG20", 4 parts total 127 bundle2-output-bundle: "HG20", 4 parts total
128 bundle2-output: start emission of HG20 stream 128 bundle2-output: start emission of HG20 stream
129 bundle2-output: bundle parameter: 129 bundle2-output: bundle parameter:
130 bundle2-output: start of parts 130 bundle2-output: start of parts
131 bundle2-output: bundle part: "replycaps" 131 bundle2-output: bundle part: "replycaps"
132 bundle2-output-part: "replycaps" 222 bytes payload 132 bundle2-output-part: "replycaps" 241 bytes payload
133 bundle2-output: part 0: "REPLYCAPS" 133 bundle2-output: part 0: "REPLYCAPS"
134 bundle2-output: header chunk size: 16 134 bundle2-output: header chunk size: 16
135 bundle2-output: payload chunk size: 222 135 bundle2-output: payload chunk size: 241
136 bundle2-output: closing payload chunk 136 bundle2-output: closing payload chunk
137 bundle2-output: bundle part: "check:bookmarks" 137 bundle2-output: bundle part: "check:bookmarks"
138 bundle2-output-part: "check:bookmarks" 23 bytes payload 138 bundle2-output-part: "check:bookmarks" 23 bytes payload
139 bundle2-output: part 1: "CHECK:BOOKMARKS" 139 bundle2-output: part 1: "CHECK:BOOKMARKS"
140 bundle2-output: header chunk size: 22 140 bundle2-output: header chunk size: 22
160 bundle2-input: part type: "REPLYCAPS" 160 bundle2-input: part type: "REPLYCAPS"
161 bundle2-input: part id: "0" 161 bundle2-input: part id: "0"
162 bundle2-input: part parameters: 0 162 bundle2-input: part parameters: 0
163 bundle2-input: found a handler for part replycaps 163 bundle2-input: found a handler for part replycaps
164 bundle2-input-part: "replycaps" supported 164 bundle2-input-part: "replycaps" supported
165 bundle2-input: payload chunk size: 222 165 bundle2-input: payload chunk size: 241
166 bundle2-input: payload chunk size: 0 166 bundle2-input: payload chunk size: 0
167 bundle2-input-part: total payload size 222 167 bundle2-input-part: total payload size 241
168 bundle2-input: part header size: 22 168 bundle2-input: part header size: 22
169 bundle2-input: part type: "CHECK:BOOKMARKS" 169 bundle2-input: part type: "CHECK:BOOKMARKS"
170 bundle2-input: part id: "1" 170 bundle2-input: part id: "1"
171 bundle2-input: part parameters: 0 171 bundle2-input: part parameters: 0
172 bundle2-input: found a handler for part check:bookmarks 172 bundle2-input: found a handler for part check:bookmarks
239 bundle2-output-bundle: "HG20", 4 parts total 239 bundle2-output-bundle: "HG20", 4 parts total
240 bundle2-output: start emission of HG20 stream 240 bundle2-output: start emission of HG20 stream
241 bundle2-output: bundle parameter: 241 bundle2-output: bundle parameter:
242 bundle2-output: start of parts 242 bundle2-output: start of parts
243 bundle2-output: bundle part: "replycaps" 243 bundle2-output: bundle part: "replycaps"
244 bundle2-output-part: "replycaps" 222 bytes payload 244 bundle2-output-part: "replycaps" 241 bytes payload
245 bundle2-output: part 0: "REPLYCAPS" 245 bundle2-output: part 0: "REPLYCAPS"
246 bundle2-output: header chunk size: 16 246 bundle2-output: header chunk size: 16
247 bundle2-output: payload chunk size: 222 247 bundle2-output: payload chunk size: 241
248 bundle2-output: closing payload chunk 248 bundle2-output: closing payload chunk
249 bundle2-output: bundle part: "check:bookmarks" 249 bundle2-output: bundle part: "check:bookmarks"
250 bundle2-output-part: "check:bookmarks" 23 bytes payload 250 bundle2-output-part: "check:bookmarks" 23 bytes payload
251 bundle2-output: part 1: "CHECK:BOOKMARKS" 251 bundle2-output: part 1: "CHECK:BOOKMARKS"
252 bundle2-output: header chunk size: 22 252 bundle2-output: header chunk size: 22
273 bundle2-input: part type: "REPLYCAPS" 273 bundle2-input: part type: "REPLYCAPS"
274 bundle2-input: part id: "0" 274 bundle2-input: part id: "0"
275 bundle2-input: part parameters: 0 275 bundle2-input: part parameters: 0
276 bundle2-input: found a handler for part replycaps 276 bundle2-input: found a handler for part replycaps
277 bundle2-input-part: "replycaps" supported 277 bundle2-input-part: "replycaps" supported
278 bundle2-input: payload chunk size: 222 278 bundle2-input: payload chunk size: 241
279 bundle2-input: payload chunk size: 0 279 bundle2-input: payload chunk size: 0
280 bundle2-input-part: total payload size 222 280 bundle2-input-part: total payload size 241
281 bundle2-input: part header size: 22 281 bundle2-input: part header size: 22
282 bundle2-input: part type: "CHECK:BOOKMARKS" 282 bundle2-input: part type: "CHECK:BOOKMARKS"
283 bundle2-input: part id: "1" 283 bundle2-input: part id: "1"
284 bundle2-input: part parameters: 0 284 bundle2-input: part parameters: 0
285 bundle2-input: found a handler for part check:bookmarks 285 bundle2-input: found a handler for part check:bookmarks