# HG changeset patch # User Pierre-Yves David # Date 1653441527 -7200 # Node ID aaa7df6992ea7dc54fb377f60397aaa609702bba # Parent 5bc3e76f919d1674156cb75a8047461df2af7572 bundlespec: test that parameter overwrite the local config This is currently working, but havint it explicitly tested seems useful. diff -r 5bc3e76f919d -r aaa7df6992ea tests/test-obsolete-bundle-strip.t --- a/tests/test-obsolete-bundle-strip.t Tue May 24 18:43:24 2022 +0200 +++ b/tests/test-obsolete-bundle-strip.t Wed May 25 03:18:47 2022 +0200 @@ -1494,3 +1494,14 @@ obsmarkers -- {} (mandatory: True) version: 1 (50 bytes) 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} + +Test bundlespec overwrite local config +-------------------------------------- + + $ hg bundle -R repo-with-obs --config experimental.evolution.bundle-obsmarker=false --type 'v2;obsolescence=yes' --all --hidden bundle-type-with-obs2 + 1 changesets found + $ hg debugbundle bundle-type-with-obs2 --part-type obsmarkers + Stream params: {Compression: BZ} + obsmarkers -- {} (mandatory: True) + version: 1 (50 bytes) + 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}