commit 07da5cc0d41a7ee6b7e4039d84429d42ae25b37b
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 20:20:29 2026 +0100
Use python3-zstandard instead of the vendored zstd module
Don't build mercurial.zstd from contrib/python-zstandard (which embeds
a copy of libzstd); mercurial.policy falls back to the system zstandard
module. Add python3-zstandard to mercurial-common's Depends and to
Build-Depends for the testsuite.
commit 3384a041c5449b7e0ed46b8995bb1eb537b03a14
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 19:59:57 2026 +0100
Upload to unstable
commit a5a93f4f644468fd818e6fe6820031cdeff6d3c6
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 17:48:36 2026 +0100
Salsa CI: split the autopkgtest across 4 parallel jobs
Salsa's shared runners have 2 CPUs, and the autopkgtest has been hitting
autopkgtest's default 10000s per-test timeout there (e.g. job 10508267),
so the 6h job timeout doesn't help. run-tests.py can already run a
subset of the tests with --shard-total/--shard-index, so have
debian/tests/testsuite pass those through when HGTEST_SHARD_TOTAL and
HGTEST_SHARD_INDEX are set, and use GitLab's parallel keyword to run
4 autopkgtest jobs, passing CI_NODE_INDEX/CI_NODE_TOTAL into the
testbed via SALSA_CI_AUTOPKGTEST_ARGS.
Outside Salsa CI (e.g. ci.debian.net) the variables are unset and the
whole testsuite runs as before.
commit bf011ca6ebe8f61ac61fdd003e1f5d81fe1b343e
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 18:17:06 2026 +0100
changelog: close #1154507
The revert to the old autopkgtest in 3a0e006a removed
debian/pybuild.testfiles, which copied the unbuilt mercurial and hgext
sources into the test directory so the tests didn't use the installed
package.
commit 2681b1cf94a32dfbfc922c4617185ad558c97608
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 17:22:47 2026 +0100
Revert test-doctest.py patch to walk the source tree
This reverts a788b964 ("Updated doctests patch to work with the
installed Python modules"). That version finds modules with
importlib.util.find_spec("tests"), which only works if the tests
directory is importable as a package, as it was in the pybuild layout
from pybuild.testfiles. With tests run from the source tree and
PYTHONPATH pointing at the build directory, find_spec() returns None
and test-doctest.py dies with an AttributeError.
commit 80cf8de277b58dd8223a841397e13f3666a0b92c
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 17:14:28 2026 +0100
Re-enable test-http-proxy.t and test-lfs-serve-access.t
This reverts 28495044 ("skip 2 more tests under sbuild"). No failure
was recorded, and both tests passed under sbuild on the amd64 buildd for
7.2.4-1 and 7.2.4-1+b1, and again for 7.2.4-2 in the pass that runs
the blacklisted tests while ignoring their results.
commit 594f7c4841a3f9866b86c674b1527af489111c90
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 17:04:47 2026 +0100
Revert debian/watch to format version 3
This reverts a615c689 ("watch file standard 5 (routine-update)") and
89903cd6's debputy changes to debian/watch. uscan from devscripts
2.25.15 (trixie) doesn't understand version 5: it parses the file as
version 1, skips every line and reports nothing.
commit 3c0099157421b99d4d199bc5af3ab7f059891be9
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 16:48:35 2026 +0100
Fix test-phabricator.t and bring python3-vcr back to autopkgtest
python3-vcr was dropped from the autopkgtest dependencies as "too new",
but test-phabricator.t fails the same way with vcrpy 7.0.0 and 8.3.0:
url._makeconnection passes key_file/cert_file to vcr's HTTPS stub,
which forwards them to http.client.HTTPSConnection, which no longer
accepts them since Python 3.12. The test's hgrc globs were also stale.
Add the fix proposed upstream as
https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/2307
and restore python3-vcr.
commit be2e9bc54d26091b96f0e2a91cf1cd4551074bb4
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 16:48:35 2026 +0100
Fix convert svn URL encoding check with Python 3.12+, re-enable test-convert-svn-encoding.t
The test's failure wasn't due to changed svn output, but issvnurl()
missing non-UTF-8 percent-encoded bytes with Python 3.12+'s
url2pathname.
commit b936159c24e20f55f96e7c19637011a71be6f1db
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 16:48:35 2026 +0100
autopkgtest: depend on tzdata-legacy, re-enable test-convert-svn-source.t
test-convert-svn-source.t runs hg convert with TZ=US/Hawaii, which is
only available from tzdata-legacy. Its failure wasn't due to changed
svn output.
commit 3a0e006a306fd4300ef8c7dcb52899ae95bff917
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Nov 23 16:48:35 2026 +0100
Revert to non-pybuild test setup and autopkgtest
This reverts 0739a1f5 ("Run the test using pybuild, adapt the
autopkgtest to also use pybuild-autopkgtest") and the follow-up
pybuild fixes in 23b997a9 and 0968f501's autopkgtest-pkg-pybuild.conf.
Per-interpreter testing in autopkgtest was largely illusory: run-tests
with --with-hg=/usr/bin/hg uses hg's #!/usr/bin/python3 shebang, so hg
ran under the default Python for every interpreter.
python3-vcr stays out of debian/tests/control for now. The
hgsubversion and mercurial-git scripts are not restored: they have been
unused since ab66b96f disabled their autopkgtests (#890191), the
packages they tested having been abandoned. The unused ARCH_IS_*
variables in debian/rules are not restored either.
Among the 13 debian patches available in version 7.2.4-3 of the package, we noticed the following issues: