1442 # unbundling: added 2 changesets with 2 changes to 2 files |
1442 # unbundling: added 2 changesets with 2 changes to 2 files |
1443 # unbundling: 1 new obsolescence markers |
1443 # unbundling: 1 new obsolescence markers |
1444 # unbundling: new changesets 9ac430e15fca (1 drafts) |
1444 # unbundling: new changesets 9ac430e15fca (1 drafts) |
1445 # unbundling: (1 other changesets obsolete on arrival) |
1445 # unbundling: (1 other changesets obsolete on arrival) |
1446 # unbundling: (run 'hg update' to get a working copy) |
1446 # unbundling: (run 'hg update' to get a working copy) |
|
1447 |
|
1448 Test that advisory obsolescence markers in bundles are ignored if unsupported |
|
1449 |
|
1450 $ hg init repo-with-obs |
|
1451 $ cd repo-with-obs |
|
1452 $ hg debugbuilddag +1 |
|
1453 $ hg debugobsolete `getid 0` |
|
1454 1 new obsolescence markers |
|
1455 obsoleted 1 changesets |
|
1456 $ hg bundle --config experimental.evolution.bundle-obsmarker=true --config experimental.evolution.bundle-obsmarker:mandatory=false --all --hidden bundle-with-obs |
|
1457 1 changesets found |
|
1458 $ cd .. |
|
1459 $ hg init repo-without-obs |
|
1460 $ cd repo-without-obs |
|
1461 $ hg --config experimental.evolution=False unbundle ../repo-with-obs/bundle-with-obs --debug |
|
1462 bundle2-input-bundle: 1 params with-transaction |
|
1463 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported |
|
1464 adding changesets |
|
1465 add changeset 1ea73414a91b |
|
1466 adding manifests |
|
1467 adding file changes |
|
1468 bundle2-input-part: total payload size 190 |
|
1469 bundle2-input-part: "cache:rev-branch-cache" (advisory) supported |
|
1470 bundle2-input-part: total payload size 39 |
|
1471 bundle2-input-part: "obsmarkers" (advisory) supported |
|
1472 bundle2-input-part: total payload size 50 |
|
1473 ignoring obsolescence markers, feature not enabled |
|
1474 bundle2-input-bundle: 3 parts total |
|
1475 updating the branch cache |
|
1476 added 1 changesets with 0 changes to 0 files |
|
1477 new changesets 1ea73414a91b (1 drafts) |
|
1478 (run 'hg update' to get a working copy) |