Mercurial > hg
diff tests/test-strip.t @ 37842:326b174c6a47 stable
bundle2: mark the bundle2 part as advisory (issue5872)
It blocks old clients to read bundle including this part.
Differential Revision: https://phab.mercurial-scm.org/D3481
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 08 May 2018 14:17:46 -0700 |
parents | d618558e4e8b |
children | f442c9494ec7 |
line wrap: on
line diff
--- a/tests/test-strip.t Tue May 08 11:39:38 2018 +0200 +++ b/tests/test-strip.t Tue May 08 14:17:46 2018 -0700 @@ -212,7 +212,7 @@ Stream params: {Compression: BZ} changegroup -- {nbchanges: 1, version: 02} (mandatory: True) 264128213d290d868c54642d13aeaa3675551a78 - cache:rev-branch-cache -- {} (mandatory: True) + cache:rev-branch-cache -- {} (mandatory: False) phase-heads -- {} (mandatory: True) 264128213d290d868c54642d13aeaa3675551a78 draft $ hg unbundle .hg/strip-backup/* @@ -851,7 +851,7 @@ d8db9d1372214336d2b5570f20ee468d2c72fa8b bundle2-output-bundle: "HG20", (1 params) 3 parts total bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload - bundle2-output-part: "cache:rev-branch-cache" streamed payload + bundle2-output-part: "cache:rev-branch-cache" (advisory) streamed payload bundle2-output-part: "phase-heads" 24 bytes payload saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/6625a5168474-345bb43d-backup.hg updating the branch cache