comparison tests/test-bundle2-exchange.t @ 35264:a1e70c1dbec0

bookmark: use the 'bookmarks' bundle2 part to push bookmark update (issue5165) We use the new binary parts we introduced earlier to exchange bookmark. The payload is a bit more compact since we use binary and the length of bookmarks is no longer constrained to 255. .. fix:: Issue 5165 Bookmark, whose name is longer than 255, can again be exchanged again between 4.4+ client and servers.
author Boris Feld <boris.feld@octobus.net>
date Tue, 17 Oct 2017 12:38:13 +0200
parents 44797aedfb35
children 4441705b7111
comparison
equal deleted inserted replaced
35263:ae79d878702b 35264:a1e70c1dbec0
251 remote: adding manifests 251 remote: adding manifests
252 remote: adding file changes 252 remote: adding file changes
253 remote: added 1 changesets with 0 changes to 0 files (-1 heads) 253 remote: added 1 changesets with 0 changes to 0 files (-1 heads)
254 remote: 1 new obsolescence markers 254 remote: 1 new obsolescence markers
255 remote: pre-close-tip:eea13746799a public book_eea1 255 remote: pre-close-tip:eea13746799a public book_eea1
256 remote: pushkey: lock state after "bookmarks"
257 remote: lock: free
258 remote: wlock: free
259 remote: postclose-tip:eea13746799a public book_eea1 256 remote: postclose-tip:eea13746799a public book_eea1
260 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_NEW_OBSMARKERS=1 HG_NODE=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_NODE_LAST=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_PHASES_MOVED=1 HG_SOURCE=push HG_TXNID=TXN:$ID$ HG_TXNNAME=push HG_URL=file:$TESTTMP/other 257 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_NEW_OBSMARKERS=1 HG_NODE=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_NODE_LAST=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_PHASES_MOVED=1 HG_SOURCE=push HG_TXNID=TXN:$ID$ HG_TXNNAME=push HG_URL=file:$TESTTMP/other
261 updating bookmark book_eea1 258 updating bookmark book_eea1
262 pre-close-tip:02de42196ebe draft book_02de 259 pre-close-tip:02de42196ebe draft book_02de
263 postclose-tip:02de42196ebe draft book_02de 260 postclose-tip:02de42196ebe draft book_02de
337 remote: adding manifests 334 remote: adding manifests
338 remote: adding file changes 335 remote: adding file changes
339 remote: added 1 changesets with 1 changes to 1 files 336 remote: added 1 changesets with 1 changes to 1 files
340 remote: 1 new obsolescence markers 337 remote: 1 new obsolescence markers
341 remote: pre-close-tip:5fddd98957c8 draft book_5fdd 338 remote: pre-close-tip:5fddd98957c8 draft book_5fdd
342 remote: pushkey: lock state after "bookmarks"
343 remote: lock: free
344 remote: wlock: free
345 remote: postclose-tip:5fddd98957c8 draft book_5fdd 339 remote: postclose-tip:5fddd98957c8 draft book_5fdd
346 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_NEW_OBSMARKERS=1 HG_NODE=5fddd98957c8a54a4d436dfe1da9d87f21a1b97b HG_NODE_LAST=5fddd98957c8a54a4d436dfe1da9d87f21a1b97b HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_TXNNAME=serve HG_URL=remote:ssh:$LOCALIP 340 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_NEW_OBSMARKERS=1 HG_NODE=5fddd98957c8a54a4d436dfe1da9d87f21a1b97b HG_NODE_LAST=5fddd98957c8a54a4d436dfe1da9d87f21a1b97b HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_TXNNAME=serve HG_URL=remote:ssh:$LOCALIP
347 updating bookmark book_5fdd 341 updating bookmark book_5fdd
348 pre-close-tip:02de42196ebe draft book_02de 342 pre-close-tip:02de42196ebe draft book_02de
349 postclose-tip:02de42196ebe draft book_02de 343 postclose-tip:02de42196ebe draft book_02de
388 remote: adding manifests 382 remote: adding manifests
389 remote: adding file changes 383 remote: adding file changes
390 remote: added 1 changesets with 1 changes to 1 files 384 remote: added 1 changesets with 1 changes to 1 files
391 remote: 1 new obsolescence markers 385 remote: 1 new obsolescence markers
392 remote: pre-close-tip:32af7686d403 public book_32af 386 remote: pre-close-tip:32af7686d403 public book_32af
393 remote: pushkey: lock state after "bookmarks"
394 remote: lock: free
395 remote: wlock: free
396 remote: postclose-tip:32af7686d403 public book_32af 387 remote: postclose-tip:32af7686d403 public book_32af
397 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_NEW_OBSMARKERS=1 HG_NODE=32af7686d403cf45b5d95f2d70cebea587ac806a HG_NODE_LAST=32af7686d403cf45b5d95f2d70cebea587ac806a HG_PHASES_MOVED=1 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_TXNNAME=serve HG_URL=remote:http:$LOCALIP: (glob) 388 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_NEW_OBSMARKERS=1 HG_NODE=32af7686d403cf45b5d95f2d70cebea587ac806a HG_NODE_LAST=32af7686d403cf45b5d95f2d70cebea587ac806a HG_PHASES_MOVED=1 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_TXNNAME=serve HG_URL=remote:http:$LOCALIP: (glob)
398 updating bookmark book_32af 389 updating bookmark book_32af
399 pre-close-tip:02de42196ebe draft book_02de 390 pre-close-tip:02de42196ebe draft book_02de
400 postclose-tip:02de42196ebe draft book_02de 391 postclose-tip:02de42196ebe draft book_02de