comparison tests/test-obsolete-changeset-exchange.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 f1186c292d03
comparison
equal deleted inserted replaced
37841:d618558e4e8b 37842:326b174c6a47
93 1 changesets found 93 1 changesets found
94 $ hg debugbundle ../f89bcc95eba5.hg 94 $ hg debugbundle ../f89bcc95eba5.hg
95 Stream params: {Compression: BZ} 95 Stream params: {Compression: BZ}
96 changegroup -- {nbchanges: 1, version: 02} (mandatory: True) 96 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
97 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee 97 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee
98 cache:rev-branch-cache -- {} (mandatory: True) 98 cache:rev-branch-cache -- {} (mandatory: False)
99 $ hg debugbundle ../f89bcc95eba5-obs.hg 99 $ hg debugbundle ../f89bcc95eba5-obs.hg
100 Stream params: {Compression: BZ} 100 Stream params: {Compression: BZ}
101 changegroup -- {nbchanges: 1, version: 02} (mandatory: True) 101 changegroup -- {nbchanges: 1, version: 02} (mandatory: True)
102 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee 102 f89bcc95eba5174b1ccc3e33a82e84c96e8338ee
103 cache:rev-branch-cache -- {} (mandatory: True) 103 cache:rev-branch-cache -- {} (mandatory: False)
104 obsmarkers -- {} (mandatory: True) 104 obsmarkers -- {} (mandatory: True)
105 version: 1 (70 bytes) 105 version: 1 (70 bytes)
106 9d73aac1b2ed7d53835eaeec212ed41ea47da53a f89bcc95eba5174b1ccc3e33a82e84c96e8338ee 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 106 9d73aac1b2ed7d53835eaeec212ed41ea47da53a f89bcc95eba5174b1ccc3e33a82e84c96e8338ee 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
107 107
108 $ cd .. 108 $ cd ..
157 listing keys for "bookmarks" 157 listing keys for "bookmarks"
158 bundle2-output-bundle: "HG20", 4 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-output-part: "cache:rev-branch-cache" (advisory) streamed payload
163 bundle2-input-bundle: with-transaction 163 bundle2-input-bundle: with-transaction
164 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported 164 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
165 adding changesets 165 adding changesets
166 add changeset bec0734cd68e 166 add changeset bec0734cd68e
167 adding manifests 167 adding manifests
170 added 1 changesets with 1 changes to 1 files (+1 heads) 170 added 1 changesets with 1 changes to 1 files (+1 heads)
171 bundle2-input-part: total payload size 476 171 bundle2-input-part: total payload size 476
172 bundle2-input-part: "listkeys" (params: 1 mandatory) supported 172 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
173 bundle2-input-part: "phase-heads" supported 173 bundle2-input-part: "phase-heads" supported
174 bundle2-input-part: total payload size 24 174 bundle2-input-part: total payload size 24
175 bundle2-input-part: "cache:rev-branch-cache" supported 175 bundle2-input-part: "cache:rev-branch-cache" (advisory) supported
176 bundle2-input-part: total payload size 39 176 bundle2-input-part: total payload size 39
177 bundle2-input-bundle: 3 parts total 177 bundle2-input-bundle: 3 parts total
178 checking for updated bookmarks 178 checking for updated bookmarks
179 updating the branch cache 179 updating the branch cache
180 new changesets bec0734cd68e 180 new changesets bec0734cd68e