comparison tests/test-obsolete-bundle-strip.t @ 49328:aaa7df6992ea

bundlespec: test that parameter overwrite the local config This is currently working, but havint it explicitly tested seems useful.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 25 May 2022 03:18:47 +0200
parents 5bc3e76f919d
children 2f60e2242f03
comparison
equal deleted inserted replaced
49327:5bc3e76f919d 49328:aaa7df6992ea
1492 $ hg debugbundle bundle-type-with-obs --part-type obsmarkers 1492 $ hg debugbundle bundle-type-with-obs --part-type obsmarkers
1493 Stream params: {Compression: BZ} 1493 Stream params: {Compression: BZ}
1494 obsmarkers -- {} (mandatory: True) 1494 obsmarkers -- {} (mandatory: True)
1495 version: 1 (50 bytes) 1495 version: 1 (50 bytes)
1496 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 1496 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
1497
1498 Test bundlespec overwrite local config
1499 --------------------------------------
1500
1501 $ hg bundle -R repo-with-obs --config experimental.evolution.bundle-obsmarker=false --type 'v2;obsolescence=yes' --all --hidden bundle-type-with-obs2
1502 1 changesets found
1503 $ hg debugbundle bundle-type-with-obs2 --part-type obsmarkers
1504 Stream params: {Compression: BZ}
1505 obsmarkers -- {} (mandatory: True)
1506 version: 1 (50 bytes)
1507 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}