Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mercurial for openSUSE:Factory checked in at 2026-12-02 16:59:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mercurial (Old) and /work/SRC/openSUSE:Factory/.mercurial.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mercurial" Wed Dec 2 16:59:08 2026 rev:227 rq:1402102 version:7.2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/mercurial/mercurial.changes 2026-08-12 16:11:34.568111597 +0200 +++ /work/SRC/openSUSE:Factory/.mercurial.new.1340718/mercurial.changes 2026-12-02 17:00:33.235283388 +0100 @@ -1,0 +2,101 @@ +Tue Dec 1 13:30:42 UTC 2026 - Dirk Müller <[email protected]> + +- fix description typo + +------------------------------------------------------------------- +Tue Dec 1 00:11:32 UTC 2026 - Sean Baggaley <[email protected]> + +- Added profile.d files that set the HGZSTDPOLICY environment variable to force + Mercurial to use the system-provided zstandard Python module. + +------------------------------------------------------------------- +Mon Nov 30 22:57:56 UTC 2026 - Sean Baggaley <[email protected]> + +- Mercurial 7.2.5 + + This release fixes security issues in the **vendored** zstd library used by all + builds and in the dependencies of the Rust extensions. + + Note that some packaged versions of Mercurial use the system's zstd, which is + hopefully patched. Mercurial 7.2 added support for `HGZSTDPOLICY=system` if + you want to switch to the system one (see `hg help environment.HGZSTDPOLICY`). + + + Security + * Upgrade the vendored zstd to 1.6.0 for CVE-2026-124851 (62da765eb74a) + * rust: upgrade zstd to 1.6.0 for CVE-2026-124851 and RUSTSEC-2026-0391, + RUSTSEC-2026-0395 to RUSTSEC-2026-0406 (8085ca21083d) + * rust: upgrade dependencies with security advisories (d5381e5de884) + + + Better checks of incoming data + `server.validate` is now the clear option to check the integrity of incoming + data, at the cost of extra processing. Here are more details: + + * Add a `storage.revlog.validate-incoming-content` option to check the content + of every incoming revision against its node id. This only applies to + incoming bundles: stream clones and some extensions may still skip + validation (7faacae20434) + * `server.validate` now enables `storage.revlog.validate-incoming-content` by + default unless it is explicitly disabled, which can further slow down + unbundling on servers using it (cfdfa04b728a) + * The preexisting `storage.revlog.validate-delta-base` is refocused on + validating the local content used during bundle ingestion. For historical + reasons, it still enables `storage.revlog.validate-incoming-content` unless + that option is set explicitly (7faacae20434) + * Speed up unbundling with `storage.revlog.validate-delta-base` (65a5fe0f06bf + + 712a5b3e1b6f) + * Fix the error message when applying a corrupt bundle (b6e9fab712b0) + + + Bug fixes + * rebase: keep the filelog ancestry of both sides when rebasing a merge. Files + that the destination did not touch used to be recorded as descending from the + second parent only, making annotate incorrect (851f240301e5) + * dirstate: fix a crash on update of files of 2 GiB or more (c0765d7ca84c) + * Fix pushes over HTTP hanging when authentication is requested mid-request + (dcb006ad7550) + * Fix stale head information in branchmap v3 (6bf2b1b5f089) + * Keep the branchmap in "pure" topo-mode after destroying revisions + (7d3f31934ee2) + * Fix `hg debug-repair-issue6528` on filelogs with long names (8de96775477c) + * templater: make `localdate(date)` use the offset in effect at that date + (c7bdca99cf23) + * Fix `ui` attributes like `ui.verbose` not following config overrides, and + show the full description in histedit's first curses patch view + (723c44287974 + 1273cb20b682) + * chg: honor the client's umask with the Rust extensions and detect changes to + `RUST_LOG` (b26c13e71f01 + 1d35604a0469) + * convert: warn again about non-UTF-8 Subversion file URLs on Python 3.12+ + (89441355f952) + * perf: abort the fncache commands on repositories without fncache + (45713bd17396) + + + Changegroup v4 and delta-info (experimental) + * Fix copy metadata being lost when converting from changegroup v4, causing + issue6528 (dc0887723930) + * Fix the Python check for the metadata flag of delta-info filelogs + (4fd31a43b832) + * Fix reading changegroup v4 bundles as repositories (`hg incoming`, pulling + from a strip backup, ...) (e9fea427e4b4 + af42298da2c4) + * Fix a server crash on push after a changegroup v4 pull (54382c41f659) + * Reject changegroup versions not supported by the repository (d698622a7615) + * lfs and remotefilelog shallow repositories no longer advertize support for + changegroup v4 (054d23cfee5f + 684459c4a41c) + * Fix `hg debugbundle --all` crashing on changegroup v4 full texts + (cb8bb1e3c2bb) + + + rhg + * Ignore `ui.formatted` in plain mode (479d64b7f923) + * Confirm purge when `extensions.purge` is disabled with `!` (541f10bde531) + + + Platforms and packaging + * Support for Python 3.15 with wheels for all platforms, and with OpenSSL 4.0 + * Windows installers are built and tested again + * `--pure` builds no longer need a C compiler (3d099089598b) + + + Miscellaneous + * convert: add a `convert.p4.enable` option to disable the Perforce source + (87a54a421fb1) + * Many help text fixes and improvements + * The Windows and macOS CI have been reworked to be more easily maintainable + * A bunch of fixes and improvements to the test runner and CI stability + +------------------------------------------------------------------- Old: ---- mercurial-7.2.4.tar.gz New: ---- mercurial-7.2.5.tar.gz mercurial.csh mercurial.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mercurial.spec ++++++ --- /var/tmp/diff_new_pack.RKkUUt/_old 2026-12-02 17:00:35.476378176 +0100 +++ /var/tmp/diff_new_pack.RKkUUt/_new 2026-12-02 17:00:35.477378219 +0100 @@ -37,7 +37,7 @@ %endif Name: mercurial -Version: 7.2.4 +Version: 7.2.5 Release: 0 Summary: Scalable Distributed SCM License: GPL-2.0-or-later @@ -45,6 +45,8 @@ URL: https://www.mercurial-scm.org/ Source: https://www.mercurial-scm.org/release/mercurial-%{version}.tar.gz Source1: cacerts.rc +Source2: mercurial.sh +Source3: mercurial.csh Source99: mercurial-rpmlintrc Patch0: mercurial-hgk-path-fix.diff # PATCH-FIX-OPENSUSE mercurial-locale-path-fix.patch [email protected] -- locales are found in /usr/share/locale @@ -55,10 +57,12 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: %{python_module xml} +BuildRequires: %{python_module zstandard} BuildRequires: %{pythons} BuildRequires: fdupes Requires: %{pprefix}-curses Requires: %{pprefix}-xml +Requires: %{pprefix}-zstandard Provides: hg = %{version} BuildRequires: %{python_module docutils} %if 0%{?sles_version} @@ -99,10 +103,10 @@ functionality of mercurial in Rust, e.g. ancestry computations in revision graphs, status or pull discovery. - rhg: a pure Rust implementation of Mercurial, with a fallback mechanism for - unsupported invocations. It reuses the logic `hg-core` but + unsupported invocations. It reuses the logic of `hg-core` but completely forgoes interaction with Python. -These features are varying degrees of experimental and come with caveats. +These features are experimental and come with some caveats. See 'hg help rust' (accessible without this package) or the documentation files in this package for more information. @@ -169,6 +173,11 @@ mkdir -p %{buildroot}%{_datadir}/mercurial cp -a tests/. %{buildroot}%{_datadir}/mercurial/tests +# environment variable overrides +mkdir -p %{buildroot}%{_sysconfdir}/profile.d/ +install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/ +install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d/ + %if %{with rust} # set modulepolicy that would usually be set by setup.py echo 'modulepolicy = b"rust+c-allow"' > %{buildroot}%{python_sitearch}/mercurial/__modulepolicy__.py @@ -229,6 +238,8 @@ %{python_sitearch}/hgext3rd %{python_sitearch}/mercurial %{python_sitearch}/mercurial-%{version}*-info +%{_sysconfdir}/profile.d/mercurial.sh +%{_sysconfdir}/profile.d/mercurial.csh %if %{with rust} %exclude %{python_sitearch}/mercurial/pyo3_rustext.so ++++++ mercurial-7.2.4.tar.gz -> mercurial-7.2.5.tar.gz ++++++ /work/SRC/openSUSE:Factory/mercurial/mercurial-7.2.4.tar.gz /work/SRC/openSUSE:Factory/.mercurial.new.1340718/mercurial-7.2.5.tar.gz differ: char 5, line 1 ++++++ mercurial.csh ++++++ # Disable the use of Mercurial's vendored zstandard, and force the use of the system's setenv HGZSTDPOLICY system,none ++++++ mercurial.sh ++++++ # Disable the use of Mercurial's vendored zstandard, and force the use of the system's export HGZSTDPOLICY=system,none ++++++ vendor-rust.tar.zst ++++++ /work/SRC/openSUSE:Factory/mercurial/vendor-rust.tar.zst /work/SRC/openSUSE:Factory/.mercurial.new.1340718/vendor-rust.tar.zst differ: char 7, line 1
