232 rebasing shelved changes |
232 rebasing shelved changes |
233 $ hg status |
233 $ hg status |
234 A a_file.txt |
234 A a_file.txt |
235 |
235 |
236 $ cd .. |
236 $ cd .. |
|
237 |
|
238 Explicitly bundling the internal change |
|
239 ======================================= |
|
240 |
|
241 $ cd reference-repo |
|
242 |
|
243 try to bundle it alone explicitly |
|
244 --------------------------------- |
|
245 |
|
246 We should not allow it |
|
247 |
|
248 $ hg bundle --type v3 --exact --rev $shelved_node --hidden ../internal-01.hg |
|
249 abort: cannot bundle internal changesets |
|
250 (1 internal changesets selected) |
|
251 [255] |
|
252 $ hg debugbundle ../internal-01.hg |
|
253 abort: $ENOENT$: '../internal-01.hg' |
|
254 [255] |
|
255 |
|
256 try to bundle it with other, somewhat explicitly |
|
257 ------------------------------------------------ |
|
258 |
|
259 We should not allow it |
|
260 |
|
261 $ hg bundle --type v3 --exact --rev 'desc(b)':: --hidden ../internal-02.hg |
|
262 abort: cannot bundle internal changesets |
|
263 (1 internal changesets selected) |
|
264 [255] |
|
265 $ hg debugbundle ../internal-02.hg |
|
266 abort: $ENOENT$: '../internal-02.hg' |
|
267 [255] |
|
268 |
|
269 bundle visible ancestors |
|
270 ------------------------ |
|
271 |
|
272 This should succeed as the standard filtering is skipping the internal change naturally |
|
273 |
|
274 $ hg bundle --type v3 --exact --rev 'desc(b)':: ../internal-03.hg |
|
275 2 changesets found |
|
276 $ hg debugbundle ../internal-03.hg |
|
277 Stream params: {Compression: BZ} |
|
278 changegroup -- {nbchanges: 2, version: 03} (mandatory: True) |
|
279 d2ae7f538514cd87c17547b0de4cea71fe1af9fb |
|
280 07f0cc02c06869c81ebf33867edef30554020c0d |
|
281 cache:rev-branch-cache -- {} (mandatory: False) |
|
282 phase-heads -- {} (mandatory: True) |
|
283 07f0cc02c06869c81ebf33867edef30554020c0d draft |
|
284 |
|
285 $ cd .. |
|
286 |