Mercurial > hg
changeset 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 |
files | tests/test-obsolete-bundle-strip.t |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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'}