summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2022-01-01 17:49:08 +0100
committerCédric Krier <cedk@gentoo.org>2022-01-01 17:49:38 +0100
commit87329b8bc3ba12f7fd6ac5ac335991b3685221a7 (patch)
tree2f08f7575f2b2a628c14931e6d62333b98d1e0a6 /dev-vcs
parentdev-vcs/mercurial: Disable python warning on test (diff)
downloadgentoo-87329b8bc3ba12f7fd6ac5ac335991b3685221a7.tar.gz
gentoo-87329b8bc3ba12f7fd6ac5ac335991b3685221a7.tar.bz2
gentoo-87329b8bc3ba12f7fd6ac5ac335991b3685221a7.zip
dev-vcs/mercurial: version bumps
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Cédric Krier <cedk@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/mercurial/Manifest10
-rw-r--r--dev-vcs/mercurial/files/mercurial-6.0-testing-bigendian.patch255
-rw-r--r--dev-vcs/mercurial/mercurial-6.0.ebuild (renamed from dev-vcs/mercurial/mercurial-5.9.3.ebuild)24
3 files changed, 271 insertions, 18 deletions
diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
index 921ad8eef9c3..94b7d9e3a2af 100644
--- a/dev-vcs/mercurial/Manifest
+++ b/dev-vcs/mercurial/Manifest
@@ -18,7 +18,7 @@ DIST clap-2.33.3.crate 201925 BLAKE2B bec9c866481c5b3fddeb314f68af9bce38fc421e42
DIST const_fn-0.4.4.crate 16138 BLAKE2B 80885ad10a5649876d37635dc6eb8b426e68f23d7bfdac234ae32816e7fae6d246ff0657d904a3b18dc5ab93fcaa3d4ff28984a1144fa3557d082c1c4d064fd1 SHA512 d79f07982c8ead364f314672ed471d41c6f31431cf511eff5e4c42ebdde324842110ffb8238394d9e8ba2ac19d884fa5f359ba04cef83acb1ca9431e14acb030
DIST cpufeatures-0.1.4.crate 10129 BLAKE2B a497cb23661b52c8627ec7a794a6ded37277ecc6aa3a405258e712cca4194811645947368ac5db4e22360f52a98205d9420de2288879635e5269e3de3aa684ea SHA512 8d6fbdf934359f4fa5f65df30801fef2ef1d011107884060b542a8f521c86ad3ce808f39bd78e971794a888d53df8dc045efc00e208df8c26ccaa9d951e5570c
DIST cpython-0.5.2.crate 118024 BLAKE2B f50bfbc15b280cda22a7c7c47ec5453139fb8591b66c78de7897937296bb3805d7fd356ab09233293cedb5fe131699cf4517fcbf9b1ef61bb7ebb99d1c21e84a SHA512 9b2406afa2e309f9c748e42ac8d7d875b125e5cd40b8dc515c45ec87d1610bce50ab1ba2d95d7bec584de98e171377f08cb8a3ce0a0268383f030ed8631b728e
-DIST cpython-0.6.0.crate 120585 BLAKE2B e5d39cf53d982839125cc74f362974a8fa455f19094c6cd1955e9a7012dd2d4b6172e1a74a3fd609ca0063af48099b48f2f1fcd6f1ba903ee3127b5357165dc5 SHA512 d656b3671c5d50216f80d757278d2b25c91a6da659f65832fbc621b7aa2e5975318189e33139fa31d84dad1cf052fd7af2c6b1fa6287ab19dc4ec89939e537c5
+DIST cpython-0.7.0.crate 125875 BLAKE2B 7965a16c7f25423703eb041c02f9b31ddfbed7290bcbac57ba09496021fb1effe934bb0a0ca597ecbef2221f916964e71bad307c02b69e65e017757f5e1dfcd0 SHA512 74508ee2a58bf20ed374c92c8ee67fb850f807c84a6b53c01007db87541c4ede8690c376fe9958903f716b2d0024c3f8562377b63abf630dd6c8964c7946d40f
DIST crc32fast-1.2.1.crate 38172 BLAKE2B 80801a345f4c5ed8a5fd335bbf672eac1733a1c2b333dc8a8e0254338148ce7b34402201a8d2d7434dd1b057f33d99d3a8f02610ea50b54115d80bb8da28b2b0 SHA512 4c04236bb15a5c63b712c62652777917e947823abb20a0d0b372c850ec1c8695faa414e8de73904f1f1a296d7b00a6206cde8da404cf4cdaa2e8408e64b62b5e
DIST crossbeam-channel-0.4.4.crate 86868 BLAKE2B 88629c72c0be41bb3a0d7dc92f6908d46cb397223449da5b2c990b7660e09dfd3e3f3fb708d13586f5dbf199d62f781f1f7e0b73d279de0ef810f7bcf25b3f27 SHA512 2933721d6af3126f492f112f3d662fc40fb49139a84c72d33b6c2b0aa94fe964acb302fe726e999be4292a1410d3ee896169a0434dccfbf44d166008719846d3
DIST crossbeam-channel-0.5.0.crate 86811 BLAKE2B 9af4384f2b74d202971f1967887cfd0e71ddba9a6456ffbdfc80bf192d527f61242239d2eb6a0d9dcbe47be22eb414736976e6b1840c021610d96a3bf03c3d18 SHA512 838b433d48b84f1fea020a1d1324e366e6cdae30ef07396140f195afc45b8f705de6347d949b68ce1ed0708fe533ffaa2cfdedc9d2e6288a7325c188ccde9aa2
@@ -53,10 +53,11 @@ DIST log-0.4.11.crate 36276 BLAKE2B 728647c829e96cb4fc795682facceebec887508e1ca1
DIST maybe-uninit-2.0.0.crate 11809 BLAKE2B 5e517b8c59f9ae4f1a4f86b48679ea64d62450ec2519c8caaa914479ce9e5b3aff24707e2e37272ba74bb60499afdc602fff17756337b0c50a9184edbd8b8805 SHA512 3006fc009c7c743d9147a4122e677cdeb2546f7bb46963b2f266839614eb906f9d763c161044fd0bf3f7b54124ac0734ac9ae7f7151b1a7a5f45cbc739976434
DIST memchr-2.3.4.crate 23077 BLAKE2B 5ddcc5fba109030040dd0c394344860ac0cb96679948b364c3333eddd29992c335c2a46a6f496c2fe085981ecb6e5386f7d44c1d489cabba180c037f1a872013 SHA512 24cde03e6f7cbee1c1d12dcc691190c7e3dc72f468cf41e2397560961d62685976fe47de51119c04c473cccf75b38311bd887fd9db93e92563aebac8f9184df6
DIST memmap-0.7.0.crate 15214 BLAKE2B 44a5bde9b85b2c378fd4c6ebfaa322ef8d0076472d6c7322f7aa95b8aba3514fd5212b4429eb369d30d0327377e36c626de474ea5e1f764bd4fae595680a04f8 SHA512 3a7c7f963111c2afeaa0381aaa6a57f0f57600392693ee1807d54771bc058ea0f86ac6e8afbe858e45f9f17b685430bf256dba1126b8074ace3aafc07bc14bfa
+DIST memmap2-0.4.0.crate 19851 BLAKE2B 6bf418db7ad4af69121cc525be4ecb834c6ace06a0ab011e536f52d7b7f02659747891f26aaccefc9805865b7e336386a36d7d747c30e4fd50eb9962c2adf2e9 SHA512 80a688941af4fa7a6d78909bed0cb08652bba0a045b7808449fec011771428154eb0199d74891247532c9a679076c6b662cfaa9b8510a8cd06a4865ade20dd32
DIST memoffset-0.6.1.crate 7706 BLAKE2B 351e6ff24a61b1016e7749571e1e66dae370c58746baf00b4688bb1e2d8c88621aa6f135468593bcd8ba30acf2c097d06a0dd7243eb06b9825e3fc1ffd31ea52 SHA512 74d081af00b7e442198b786d79e4ef35c243d2e78347ab9cb50e127569aed3fd77b47b95df6f361a716abce27c8cc6cb1dfa12c92b0b2208b21f9eb9527b61be
DIST mercurial-5.8.1.tar.gz 7988000 BLAKE2B 7805a7141a503f8533a25d0cfd3c58c421c966cb9ec83503c855e02aeb8a7fff98bf529f4807bf6fc5f606ae110c4a0571e0e249441bd4be6b5eefb07284958e SHA512 d17c809fc48c55d646b677ad23b5cf4a1755f5a81790988109cd50ac259acc230edad7bf5ccc7a6384a490aeba4a7492327bb9878a541d5fa7207e2c378be966
DIST mercurial-5.8.tar.gz 7985326 BLAKE2B 3b64343b692c389368b9c61baf367fe739bb79a7b555308fcd4f09069472b393343f57608954017038c849d6812cd6fe5e1e20bbc6a95974d827d7e402c60bd7 SHA512 79eec3a468a1826d4910d140797f26f281ff5e5fb9a0e09656d458577e05cf11ac6032c0d282aeec2996edbd7af954652c97097ea4485b211dad7424c4d20979
-DIST mercurial-5.9.3.tar.gz 8126023 BLAKE2B 8799f7ec1533a1b1b97b683cf002a0562f5feb52ec02b2b627a2467b83a3ec667b39b28ad8a38a0b5f7f1d1a4561cdf68c83c3332f7d3d2f3740a3d4157b8565 SHA512 d2a91cf63ca8f7621a2d36af7993c9878a2a36c7c95a027f2ff9d5ec3cdb01b9f86a60108cf3ca674b5b306488f61f749c3d8c5f814d6c90c04941d551d458dd
+DIST mercurial-6.0.tar.gz 8137797 BLAKE2B d6b4021e3ee249280c99e4f84f393801ac1feb0560fe20333c2b5c99eac46d704afe6788a1ca27ba22b8fd2a2f363869da05d2880e7ad6a19774a297310b89aa SHA512 342440af75b8e48b75ca604ee4f81298b652413a07f84cb475d9ed3c875a8b69bc22289c2a22d6f07c7bc54fdb1bc25a51a179eb9dcdc299b85fdd0fa4827dad
DIST micro-timer-0.3.1.crate 3357 BLAKE2B 13c518d2b3de6fa683078b9906b719498da2e2be5a23e7a2511f3d1d69730769031ed6b488927bec845c0405782f55cfe5af8610d56d92e716ff5d9056650f5a SHA512 197beadbdf35dd0892f6e0c1a09b6b57472166ecaec3e10be12c436e1381540100092c9e717684db44b53375390cf2c245fdc6fdb376117fdf5b4405ade73cf7
DIST micro-timer-macros-0.3.1.crate 2928 BLAKE2B 148639d1f22965c7487fefd19b1413797aad0f9e0c4eb8ee7be181e7b6bd39e03a6d3d68131b05e09f87a3ef653d6eda643952025983b49736a9c6ddb778aafa SHA512 9c9ffc8432c9377d2de3fce931f398d7f77012f496dd6c011718abd46535205766d9f5a7c97ff14ecd87bb172039d8e92a8c45cfd9c14d220a368448da1b7917
DIST miniz_oxide-0.4.3.crate 50058 BLAKE2B bc7a152a984de061803c11255459ce3d8fa64dd5b38de9f2ed29213abc1922d68746ff523de3b99e0e95a8933ea75448a9fa1e14cbbe248549074cd5ce7b3c1d SHA512 8c0e2b3a585a0986a61977d4459adb1a7c396ab53f4f688dcbeb2a09c60878b0423f54fd1879c190f5c64690a2473ed2a07d4162a650f6c39f402f6b27e863b7
@@ -74,9 +75,9 @@ DIST pretty_assertions-0.6.1.crate 61551 BLAKE2B 1e92be2282e42720c9e1d1d26f9e675
DIST proc-macro-hack-0.5.19.crate 15556 BLAKE2B 98c22fc3e5f5fa8b6f44d15de42b6ffcc82ba3f98a07ffa48bcbc5d3abcfca6af136c5d0d8c7f1ca34261ed8f8c9c17a394231f97a4c342c81aa7f8b9e74b203 SHA512 9e4cbec41056438287f5b23086264c86e2f0cdc193064006556736377b2954229de13a585149b9995002c9aee3334ee2a80ae4afdcc96cabe7ed2bf718476952
DIST proc-macro2-1.0.24.crate 37716 BLAKE2B e2bdbc7cc9ea254529e322f6a2eb44002b4994fc4a00df32012f66740e8e73ae70820dd40b7fcfcf024f3c7784ab9add5cc1db37f4c72d5af5c8f00164ebc145 SHA512 c3d23a5136c55d734084ce1d76d54f237fc1003074af102c2ad96d851ac496ffc7513ddc505a68af4051c9d6de09725a0ecb6e76ebcdd77a1c056f8f9242c9be
DIST python27-sys-0.5.2.crate 37459 BLAKE2B a122bf29fbb16b46876c885811219e08376f666e385055ddc4976a0ba9a7d90954143a55a68033113d1e52375bdba68519fbade2cc8bba56174ada9e89448790 SHA512 670087e6edf55084fbe005f33baddd7936900f18753181288d9fb06deec56bc09cb78cd2ec2c94529be5ae603b95de364ea7f92e5d4cd2aad727672fe96754ec
-DIST python27-sys-0.6.0.crate 37198 BLAKE2B 9d35f3ceb1be97d9404d5a3de6419696a13a941522701b6b6506a3f8e936ead2046eeb62986a70fa35fd5283c451379288b80d5ce1bc358ff1b57365368023bc SHA512 8104d7675ef9e92d17bcb34b2e7919a5dd7163be3fee66f4802c99153787a2d38f3959bb72f8d975e2cbca3d35949408d1911bc79e31b20905a5ee173775504d
+DIST python27-sys-0.7.0.crate 37506 BLAKE2B 739d2094fa5d7ead7508acf54073692a0e5e40989034fb91edd5e3a23fc1470a71e7a9e0294daa0e4715d4205f4cc8c04bc775faec8000b7d2a3a4464615955f SHA512 5748e7db36a97ba1b9d44096aab5dec9e18b1eb8723f301921f430edfee7f9bde54b205c6f8816eb1c0f1aa9d8e9a1da1fe046bf381da6a56548eeb058db3ea2
DIST python3-sys-0.5.2.crate 44605 BLAKE2B 72e68e32334e709bb291ef609b1da2f123cb0f080f6bc517bedc9eb46ae68fe37b6fe4655aca9b478a65726f03097ef6400c351b7a301885e019fa45328161d2 SHA512 abcc7624b5c8b018f553c5971414a33974e759056b50a20883c98168e790b26b94287f111fa1e00c6c78841cc5cc1a7462262462e6a9e72e5991140b729d4046
-DIST python3-sys-0.6.0.crate 44905 BLAKE2B 2cd2d4379182a5af623fa7b1f35c4c999a02235600d669e717e34e7550161ff5702f300d84bb148790cbc3517a1f1c4d34e61af71f24a85b111d2f09682f23bc SHA512 c5fa01dffd12aa95794c71798de21ac8619c42da2b6f408203032d6c4d1c17b72716cab7c54e981fb1eb1983dbaf0a845c6294893058c2ce2ce818e5378e72fd
+DIST python3-sys-0.7.0.crate 46268 BLAKE2B 0c79cd30c69c10ec3dc30f574e7cbefd465e7d8f13c8495e8090cfd8a69ae6d6095eace734bff5b4ff0b8b7de76425aa1b61aadf798ac3e5a2633397fe762b2c SHA512 f2debc89c6f415a5e5eb00699e2d40e30b9f2bf5b82f3ffcc62695e45a9345a8c30f39a823e01fb13ce8a22624b09d6a4f40729614b826964203c3787f99951f
DIST quick-error-1.2.3.crate 15066 BLAKE2B 1c61525d383f3588c1c5017f016f60b484bbf2035e7f63c553bd9a49b638ab0c6106ac3676a41072b24da4e13dde78706e0f99fd1ec9ee329d5be81d45a85866 SHA512 f8aaf9024d20ccd42b706c756eed8320aee339f8776392b47a41cc82ca06b03df1a5b1f00854cea96689c5af261b4d8c5d2b1a242d10f2755e7e33dc41be35b9
DIST quote-1.0.7.crate 25170 BLAKE2B 9597c94ac365bb6e9d632738a88ece2da7818cb9f3fa0e755324e693eb513c76347032737025375a486319caad13c22ae13bcb257703eacdf2fdc755cbac0de2 SHA512 b7cb576c07419854f71072a88e4216f50d78196703d3d8a1068dfd0f2ccb1e417c3a865ec3be613b46e74e46654f64378f527800701f74d50352cb766a885953
DIST rand-0.3.23.crate 11318 BLAKE2B 5ad9b187fcdfc515c606a73bd1e9aa3215e367659c35a013c9d4d0f80f9832331dfb971ca370a627c0a2afe2b8860514740e00b1d7572e221a557b5570cff6ff SHA512 a4f46fb7dfe39677dfc112eeb56fb3c28cec4cdaaf95f336f2a494f0b2b30fdf22ceb9ea956f90e13c7ffe711a68aef9fc1a80d9a911d93221ae263c243fb2c3
@@ -103,6 +104,7 @@ DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764
DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d
DIST sha-1-0.9.6.crate 13758 BLAKE2B 8199c2cbdab2954edd44aae6bee8fdbaa883f27993722845179aa2117849c5ea86df08ef58da514d0bb78612381977f9d101928a764a62b8b14ac04e86e83d6b SHA512 10a37e30b0c65cdb64a49e14185faf7d0bb776910f87c5dff128674762b4375aa1f9f2bf90b38ef37c521ad365d3a2f02c0e33157593fac15fecf9b33a5fa9fc
DIST sized-chunks-0.6.2.crate 40265 BLAKE2B eb02254a9feaf421460130345969ac244f8b46a536f6eae27e9fe55133ab6149f545864bacee70d839a492b81b790a9eb74a0f31f44c6f2d6ce7f470a6a2eb48 SHA512 524eb5ca27cbadc6b3a2ee32e4968308ab7fd01c961511b2c783338fbc0435303a607d92c2066a9dc1fe1772ccfdc0a97875da9a929e7cfcbbb8d0647768d26d
+DIST stable_deref_trait-1.2.0.crate 8054 BLAKE2B 287a65c3e5b47213544a43e57c60a54add60b4c2e3c8d042407d860cc950ba7ca01a2e67ce56aed6744992b61ec1f9aed3321e3d88482e33129548b7d51df205 SHA512 a13cfb22723f1f2cf089b2d07d657846f50c37bc0438d1a76096bea30214cad226b7a422c21f9e191ce87071da8a141d61882aedf9e0203a5fffdfda86a5fb03
DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee
DIST strsim-0.8.0.crate 9309 BLAKE2B 40a8be506c43ee1ffe006ddc7dee98c3d418bdd205d57b78f5d1e4c9312feb57e1eaf952e02d92d4e0932db240c6fba45beb06ea8c4fc6de1cf1faa8b6a3a939 SHA512 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
DIST syn-1.0.54.crate 228322 BLAKE2B bf4455927b913902fcf1804284660c0b7c9fbe3c50a9f854b8e44d3fc726825fcde85c563f3df4404406d51b517299eda19dbd085bde552dfe5d4f0d9a7510f4 SHA512 2cbed3fafcb3c628623273b83678238d0e66f899599e3364a6511c59c881ad4a3299b806462c06f19ddabfade096c1a7dedea95273461ea3f8ae347a2b3c1ecb
diff --git a/dev-vcs/mercurial/files/mercurial-6.0-testing-bigendian.patch b/dev-vcs/mercurial/files/mercurial-6.0-testing-bigendian.patch
new file mode 100644
index 000000000000..c47eaff7b385
--- /dev/null
+++ b/dev-vcs/mercurial/files/mercurial-6.0-testing-bigendian.patch
@@ -0,0 +1,255 @@
+# HG changeset patch
+# User Julien Cristau <jcristau@debian.org>
+# Date 1629904487 -7200
+# Wed Aug 25 17:14:47 2021 +0200
+# Branch stable
+# Node ID e11f903fd7a6e80b6168c7ef6e28f20349e681e2
+# Parent 132819e1fa1565b45fc09093ebbfbe991b0a0f5d
+tests: allow for variation in zstd output as seen on s390x and powerpc
+
+--- a/tests/hghave.py
++++ b/tests/hghave.py
+@@ -1141,8 +1141,13 @@ def has_lzma():
+ return True
+ except ImportError:
+ return False
+
+
+ @check("bash", "bash shell")
+ def has_bash():
+ return matchoutput("bash -c 'echo hi'", b'^hi$')
++
++
++@check("bigendian", "big-endian CPU")
++def has_bigendian():
++ return sys.byteorder == 'big'
+--- a/tests/test-clone-stream.t
++++ b/tests/test-clone-stream.t
+@@ -399,21 +399,23 @@ getbundle requests with stream=1 are unc
+ 00b0: 00 00 00 00 00 00 00 01 ff ff ff ff ff ff ff ff |................|
+ 00c0: 80 29 63 a0 49 d3 23 87 bf ce fe 56 67 92 67 2c |.)c.I.#....Vg.g,|
+ 00d0: 69 d1 ec 39 00 00 00 00 00 00 00 00 00 00 00 00 |i..9............|
+ 00e0: 75 30 73 26 45 64 61 74 61 2f 30 30 63 68 61 6e |u0s&Edata/00chan|
+ 00f0: 67 65 6c 6f 67 2d 61 62 33 34 39 31 38 30 61 30 |gelog-ab349180a0|
+ #endif
+ #if zstd no-rust
+ $ f --size --hex --bytes 256 body
+- body: size=116340
++ body: size=116340 (no-bigendian !)
++ body: size=116335 (bigendian !)
+ 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
+ 0010: 9a 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
+ 0020: 06 09 04 0c 5e 62 79 74 65 63 6f 75 6e 74 31 30 |....^bytecount10|
+- 0030: 31 32 37 36 66 69 6c 65 63 6f 75 6e 74 31 30 39 |1276filecount109|
++ 0030: 31 32 37 36 66 69 6c 65 63 6f 75 6e 74 31 30 39 |1276filecount109| (no-bigendian !)
++ 0030: 31 32 37 31 66 69 6c 65 63 6f 75 6e 74 31 30 39 |1271filecount109| (bigendian !)
+ 0040: 33 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |3requirementsdot|
+ 0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
+ 0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
+ 0070: 32 43 72 65 76 6c 6f 67 2d 63 6f 6d 70 72 65 73 |2Crevlog-compres|
+ 0080: 73 69 6f 6e 2d 7a 73 74 64 25 32 43 72 65 76 6c |sion-zstd%2Crevl|
+ 0090: 6f 67 76 31 25 32 43 73 70 61 72 73 65 72 65 76 |ogv1%2Csparserev|
+ 00a0: 6c 6f 67 25 32 43 73 74 6f 72 65 00 00 80 00 73 |log%2Cstore....s|
+ 00b0: 08 42 64 61 74 61 2f 30 2e 69 00 03 00 01 00 00 |.Bdata/0.i......|
+@@ -528,17 +530,18 @@ Clone with background file closing enabl
+ 1093 files to transfer, 102 KB of data (no-zstd !)
+ 1093 files to transfer, 98.9 KB of data (zstd !)
+ starting 4 threads for background file closing
+ starting 4 threads for background file closing
+ updating the branch cache
+ transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
+ bundle2-input-part: total payload size 118984 (no-zstd !)
+ transferred 98.9 KB in * seconds (* */sec) (glob) (zstd !)
+- bundle2-input-part: total payload size 116145 (zstd !)
++ bundle2-input-part: total payload size 116145 (zstd no-bigendian !)
++ bundle2-input-part: total payload size 116140 (zstd bigendian !)
+ bundle2-input-part: "listkeys" (params: 1 mandatory) supported
+ bundle2-input-bundle: 2 parts total
+ checking for updated bookmarks
+ updating the branch cache
+ (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob)
+ #endif
+
+ Cannot stream clone when there are secret changesets
+--- a/tests/test-generaldelta.t
++++ b/tests/test-generaldelta.t
+@@ -285,21 +285,24 @@ test maxdeltachainspan
+ 47 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000
+ 48 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000
+ 49 4 1 -1 base 197 316 197 0.62342 197 0 0.00000 (no-zstd !)
+ 50 4 2 49 p1 58 362 255 0.70442 255 0 0.00000 (no-zstd !)
+ 51 4 3 50 prev 356 594 611 1.02862 611 0 0.00000 (no-zstd !)
+ 52 4 4 51 p1 58 640 669 1.04531 669 0 0.00000 (no-zstd !)
+ 49 4 1 -1 base 205 316 205 0.64873 205 0 0.00000 (zstd !)
+ 50 4 2 49 p1 58 362 263 0.72652 263 0 0.00000 (zstd !)
+- 51 4 3 50 prev 366 594 629 1.05892 629 0 0.00000 (zstd !)
+- 52 4 4 51 p1 58 640 687 1.07344 687 0 0.00000 (zstd !)
++ 51 4 3 50 prev 366 594 629 1.05892 629 0 0.00000 (zstd no-bigendian !)
++ 52 4 4 51 p1 58 640 687 1.07344 687 0 0.00000 (zstd no-bigendian !)
++ 51 4 3 50 prev 367 594 630 1.06061 630 0 0.00000 (zstd bigendian !)
++ 52 4 4 51 p1 58 640 688 1.07500 688 0 0.00000 (zstd bigendian !)
+ 53 5 1 -1 base 0 0 0 0.00000 0 0 0.00000
+ 54 6 1 -1 base 369 640 369 0.57656 369 0 0.00000 (no-zstd !)
+- 54 6 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd !)
++ 54 6 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd no-bigendian !)
++ 54 6 1 -1 base 376 640 376 0.58750 376 0 0.00000 (zstd bigendian !)
+ $ hg clone --pull source-repo --config experimental.maxdeltachainspan=2800 relax-chain --config format.generaldelta=yes
+ requesting all changes
+ adding changesets
+ adding manifests
+ adding file changes
+ added 55 changesets with 53 changes to 53 files (+2 heads)
+ new changesets 61246295ee1e:c930ac4a5b32
+ updating to branch default
+@@ -357,20 +360,22 @@ test maxdeltachainspan
+ 48 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000
+ 49 4 1 -1 base 197 316 197 0.62342 197 0 0.00000 (no-zstd !)
+ 50 4 2 49 p1 58 362 255 0.70442 255 0 0.00000 (no-zstd !)
+ 51 2 13 17 p1 58 594 739 1.24411 2781 2042 2.76319 (no-zstd !)
+ 52 5 1 -1 base 369 640 369 0.57656 369 0 0.00000 (no-zstd !)
+ 49 4 1 -1 base 205 316 205 0.64873 205 0 0.00000 (zstd !)
+ 50 4 2 49 p1 58 362 263 0.72652 263 0 0.00000 (zstd !)
+ 51 2 13 17 p1 58 594 739 1.24411 2789 2050 2.77402 (zstd !)
+- 52 5 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd !)
++ 52 5 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd no-bigendian !)
++ 52 5 1 -1 base 376 640 376 0.58750 376 0 0.00000 (zstd bigendian !)
+ 53 6 1 -1 base 0 0 0 0.00000 0 0 0.00000
+ 54 7 1 -1 base 369 640 369 0.57656 369 0 0.00000 (no-zstd !)
+- 54 7 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd !)
++ 54 7 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd no-bigendian !)
++ 54 7 1 -1 base 376 640 376 0.58750 376 0 0.00000 (zstd bigendian !)
+ $ hg clone --pull source-repo --config experimental.maxdeltachainspan=0 noconst-chain --config format.usegeneraldelta=yes --config storage.revlog.reuse-external-delta-parent=no
+ requesting all changes
+ adding changesets
+ adding manifests
+ adding file changes
+ added 55 changesets with 53 changes to 53 files (+2 heads)
+ new changesets 61246295ee1e:c930ac4a5b32
+ updating to branch default
+@@ -427,9 +432,10 @@ test maxdeltachainspan
+ 47 3 30 46 p1 58 1380 1729 1.25290 1729 0 0.00000
+ 48 3 31 47 p1 58 1426 1787 1.25316 1787 0 0.00000
+ 49 1 7 5 p1 58 316 389 1.23101 2857 2468 6.34447
+ 50 1 8 49 p1 58 362 447 1.23481 2915 2468 5.52125
+ 51 2 13 17 p1 58 594 739 1.24411 2642 1903 2.57510
+ 52 2 14 51 p1 58 640 797 1.24531 2700 1903 2.38770
+ 53 4 1 -1 base 0 0 0 0.00000 0 0 0.00000
+ 54 5 1 -1 base 369 640 369 0.57656 369 0 0.00000 (no-zstd !)
+- 54 5 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd !)
++ 54 5 1 -1 base 375 640 375 0.58594 375 0 0.00000 (zstd no-bigendian !)
++ 54 5 1 -1 base 376 640 376 0.58750 376 0 0.00000 (zstd bigendian !)
+--- a/tests/test-persistent-nodemap.t
++++ b/tests/test-persistent-nodemap.t
+@@ -1017,17 +1017,18 @@ Simple case
+ No race condition
+
+ $ hg clone -U --stream ssh://user@dummy/test-repo stream-clone --debug | egrep '00(changelog|manifest)'
+ adding [s] 00manifest.n (62 bytes)
+ adding [s] 00manifest-*.nd (118 KB) (glob)
+ adding [s] 00changelog.n (62 bytes)
+ adding [s] 00changelog-*.nd (118 KB) (glob)
+ adding [s] 00manifest.d (452 KB) (no-zstd !)
+- adding [s] 00manifest.d (491 KB) (zstd !)
++ adding [s] 00manifest.d (491 KB) (zstd no-bigendian !)
++ adding [s] 00manifest.d (492 KB) (zstd bigendian !)
+ adding [s] 00changelog.d (360 KB) (no-zstd !)
+ adding [s] 00changelog.d (368 KB) (zstd !)
+ adding [s] 00manifest.i (313 KB)
+ adding [s] 00changelog.i (313 KB)
+ $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
+ 00changelog-*.nd (glob)
+ 00changelog.n
+ 00manifest-*.nd (glob)
+@@ -1057,17 +1058,18 @@ setup the step-by-step stream cloning
+ > [extensions]
+ > steps=$RUNTESTDIR/testlib/ext-stream-clone-steps.py
+ > EOF
+
+ Check and record file state beforehand
+
+ $ f --size test-repo/.hg/store/00changelog*
+ test-repo/.hg/store/00changelog-*.nd: size=121088 (glob)
+- test-repo/.hg/store/00changelog.d: size=376891 (zstd !)
++ test-repo/.hg/store/00changelog.d: size=376891 (zstd no-bigendian !)
++ test-repo/.hg/store/00changelog.d: size=376889 (zstd bigendian !)
+ test-repo/.hg/store/00changelog.d: size=368890 (no-zstd !)
+ test-repo/.hg/store/00changelog.i: size=320384
+ test-repo/.hg/store/00changelog.n: size=62
+ $ hg -R test-repo debugnodemap --metadata | tee server-metadata.txt
+ uid: * (glob)
+ tip-rev: 5005
+ tip-node: 90d5d3ba2fc47db50f712570487cb261a68c8ffe
+ data-length: 121088
+@@ -1087,28 +1089,30 @@ Do a mix of clone and commit at the same
+ $ touch $HG_TEST_STREAM_WALKED_FILE_2
+ $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3
+ $ cat clone-output
+ adding [s] 00manifest.n (62 bytes)
+ adding [s] 00manifest-*.nd (118 KB) (glob)
+ adding [s] 00changelog.n (62 bytes)
+ adding [s] 00changelog-*.nd (118 KB) (glob)
+ adding [s] 00manifest.d (452 KB) (no-zstd !)
+- adding [s] 00manifest.d (491 KB) (zstd !)
++ adding [s] 00manifest.d (491 KB) (zstd no-bigendian !)
++ adding [s] 00manifest.d (492 KB) (zstd bigendian !)
+ adding [s] 00changelog.d (360 KB) (no-zstd !)
+ adding [s] 00changelog.d (368 KB) (zstd !)
+ adding [s] 00manifest.i (313 KB)
+ adding [s] 00changelog.i (313 KB)
+
+ Check the result state
+
+ $ f --size stream-clone-race-1/.hg/store/00changelog*
+ stream-clone-race-1/.hg/store/00changelog-*.nd: size=121088 (glob)
+ stream-clone-race-1/.hg/store/00changelog.d: size=368890 (no-zstd !)
+- stream-clone-race-1/.hg/store/00changelog.d: size=376891 (zstd !)
++ stream-clone-race-1/.hg/store/00changelog.d: size=376891 (zstd no-bigendian !)
++ stream-clone-race-1/.hg/store/00changelog.d: size=376889 (zstd bigendian !)
+ stream-clone-race-1/.hg/store/00changelog.i: size=320384
+ stream-clone-race-1/.hg/store/00changelog.n: size=62
+
+ $ hg -R stream-clone-race-1 debugnodemap --metadata | tee client-metadata.txt
+ uid: * (glob)
+ tip-rev: 5005
+ tip-node: 90d5d3ba2fc47db50f712570487cb261a68c8ffe
+ data-length: 121088
+@@ -1152,17 +1156,18 @@ get changed, however to make thing simpl
+ this test.
+
+ Check the initial state
+
+ $ f --size test-repo/.hg/store/00changelog*
+ test-repo/.hg/store/00changelog-*.nd: size=121344 (glob) (rust !)
+ test-repo/.hg/store/00changelog-*.nd: size=121344 (glob) (pure !)
+ test-repo/.hg/store/00changelog-*.nd: size=121152 (glob) (no-rust no-pure !)
+- test-repo/.hg/store/00changelog.d: size=376950 (zstd !)
++ test-repo/.hg/store/00changelog.d: size=376950 (zstd no-bigendian !)
++ test-repo/.hg/store/00changelog.d: size=376948 (zstd bigendian !)
+ test-repo/.hg/store/00changelog.d: size=368949 (no-zstd !)
+ test-repo/.hg/store/00changelog.i: size=320448
+ test-repo/.hg/store/00changelog.n: size=62
+ $ hg -R test-repo debugnodemap --metadata | tee server-metadata-2.txt
+ uid: * (glob)
+ tip-rev: 5006
+ tip-node: ed2ec1eef9aa2a0ec5057c51483bc148d03e810b
+ data-length: 121344 (rust !)
+@@ -1203,17 +1208,18 @@ Performe the mix of clone and full refre
+ adding [s] 00changelog.i (313 KB)
+
+ Check the result.
+
+ $ f --size stream-clone-race-2/.hg/store/00changelog*
+ stream-clone-race-2/.hg/store/00changelog-*.nd: size=121344 (glob) (rust !)
+ stream-clone-race-2/.hg/store/00changelog-*.nd: size=121344 (glob) (pure !)
+ stream-clone-race-2/.hg/store/00changelog-*.nd: size=121152 (glob) (no-rust no-pure !)
+- stream-clone-race-2/.hg/store/00changelog.d: size=376950 (zstd !)
++ stream-clone-race-2/.hg/store/00changelog.d: size=376950 (zstd no-bigendian !)
++ stream-clone-race-2/.hg/store/00changelog.d: size=376948 (zstd bigendian !)
+ stream-clone-race-2/.hg/store/00changelog.d: size=368949 (no-zstd !)
+ stream-clone-race-2/.hg/store/00changelog.i: size=320448
+ stream-clone-race-2/.hg/store/00changelog.n: size=62
+
+ $ hg -R stream-clone-race-2 debugnodemap --metadata | tee client-metadata-2.txt
+ uid: * (glob)
+ tip-rev: 5006
+ tip-node: ed2ec1eef9aa2a0ec5057c51483bc148d03e810b
diff --git a/dev-vcs/mercurial/mercurial-5.9.3.ebuild b/dev-vcs/mercurial/mercurial-6.0.ebuild
index 018cd801cb82..2626b7df8aeb 100644
--- a/dev-vcs/mercurial/mercurial-5.9.3.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.0.ebuild
@@ -27,7 +27,7 @@ CRATES="
clap-2.33.3
const_fn-0.4.4
cpufeatures-0.1.4
- cpython-0.6.0
+ cpython-0.7.0
crc32fast-1.2.1
crossbeam-channel-0.4.4
crossbeam-channel-0.5.0
@@ -59,7 +59,7 @@ CRATES="
log-0.4.11
maybe-uninit-2.0.0
memchr-2.3.4
- memmap-0.7.0
+ memmap2-0.4.0
memoffset-0.6.1
micro-timer-0.3.1
micro-timer-macros-0.3.1
@@ -75,8 +75,8 @@ CRATES="
pretty_assertions-0.6.1
proc-macro-hack-0.5.19
proc-macro2-1.0.24
- python27-sys-0.6.0
- python3-sys-0.6.0
+ python27-sys-0.7.0
+ python3-sys-0.7.0
quick-error-1.2.3
quote-1.0.7
rand-0.7.3
@@ -96,6 +96,7 @@ CRATES="
scopeguard-1.1.0
sha-1-0.9.6
sized-chunks-0.6.2
+ stable_deref_trait-1.2.0
static_assertions-1.1.0
strsim-0.8.0
syn-1.0.54
@@ -123,7 +124,7 @@ CRATES="
zstd-sys-1.4.17+zstd.1.4.5
"
-inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+inherit bash-completion-r1 cargo elisp-common distutils-r1 flag-o-matic multiprocessing
DESCRIPTION="Scalable distributed SCM"
HOMEPAGE="https://www.mercurial-scm.org/"
@@ -148,6 +149,10 @@ DEPEND="emacs? ( >=app-editors/emacs-23.1:* )
dev-python/pygments[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}"/${P}-testing-bigendian.patch
+)
+
SITEFILE="70${PN}-gentoo.el"
RESTRICT="!test? ( test )"
@@ -261,13 +266,6 @@ src_test() {
rm -f test-largefiles* # tends to time out
rm -f test-https* # requires to support tls1.0
rm -rf test-removeemptydirs* # requires access to access parent directories
- if [[ $(tc-endian) == "big" ]]; then
- # tests no working on big-endian
- # https://bz.mercurial-scm.org/show_bug.cgi?id=6607
- rm -f test-clone-uncompressed.t
- rm -f test-generaldelta.t
- rm -f test-persistent-nodemap.t
- fi
if [[ ${EUID} -eq 0 ]]; then
einfo "Removing tests which require user privileges to succeed"
rm -f test-convert*
@@ -283,8 +281,6 @@ src_test() {
}
python_test() {
- local TEST_DIR
-
distutils_install_for_testing
cd tests || die
PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \