##// END OF EJS Templates
bundlespec: do not check for `-` in the params portion of the bundlespec...
marmoute -
r50227:d89bfc07 default
parent child Browse files
Show More
@@ -192,7 +192,8 b' def parsebundlespec(repo, spec, strict=T'
192 % spec
192 % spec
193 )
193 )
194
194
195 if b'-' in spec:
195 pre_args = spec.split(b';', 1)[0]
196 if b'-' in pre_args:
196 compression, version = spec.split(b'-', 1)
197 compression, version = spec.split(b'-', 1)
197
198
198 if compression not in util.compengines.supportedbundlenames:
199 if compression not in util.compengines.supportedbundlenames:
@@ -1494,6 +1494,14 b' Test bundlespec overwrite default'
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 $ hg bundle -R repo-with-obs --type 'v2;obsolescence=yes;obsolescence-mandatory=no' --all --hidden bundle-type-with-obs-adv
1499 1 changesets found
1500 $ hg debugbundle bundle-type-with-obs-adv --part-type obsmarkers
1501 Stream params: {Compression: BZ}
1502 obsmarkers -- {} (mandatory: False)
1503 version: 1 (50 bytes)
1504 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
1497 $ hg bundle -R repo-with-obs --type 'v2;obsolescence=no' --all --hidden bundle-type-without-obs
1505 $ hg bundle -R repo-with-obs --type 'v2;obsolescence=no' --all --hidden bundle-type-without-obs
1498 1 changesets found
1506 1 changesets found
1499 $ hg debugbundle bundle-type-without-obs --part-type obsmarkers
1507 $ hg debugbundle bundle-type-without-obs --part-type obsmarkers
General Comments 0
You need to be logged in to leave comments. Login now