changeset 52981:1a99bdbdb71b

rust: switch `update` module to the `pyo3` implementation This is the second to last module that is needed for a complete switchover from `rust-cpython`, the last being `copy_tracing`, which should follow soon.
author Rapha?l Gom?s <rgomes@octobus.net>
date Tue, 18 Feb 2025 11:48:54 +0100
parents a60d1eb74dc6
children 6332e5f857f6
files mercurial/merge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/merge.py	Tue Feb 18 11:47:51 2025 +0100
+++ b/mercurial/merge.py	Tue Feb 18 11:48:54 2025 +0100
@@ -53,7 +53,7 @@
     """The merge action, data about the merge, and message about the merge, for
     the keyed file."""
 
-rust_update_mod = policy.importrust("update")
+rust_update_mod = policy.importrust("update", pyo3=True)
 
 _pack = struct.pack
 _unpack = struct.unpack