Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-pyo3/src/lib.rs @ 52987:6332e5f857f6
pyo3: transliterate the `copy_tracing` module from `hg-cpython`
This is the last module left to migrate to PyO3 from rust-cpython. We will
remove the rust-cpython code at the start of the next cycle.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Tue, 18 Feb 2025 15:33:26 +0100 |
parents | a60d1eb74dc6 |
children |
line wrap: on
line diff
--- a/rust/hg-pyo3/src/lib.rs Tue Feb 18 11:48:54 2025 +0100 +++ b/rust/hg-pyo3/src/lib.rs Tue Feb 18 15:33:26 2025 +0100 @@ -1,6 +1,7 @@ use pyo3::prelude::*; mod ancestors; +mod copy_tracing; mod dagops; mod dirstate; mod discovery; @@ -26,6 +27,7 @@ env_logger::init(); m.add_submodule(&ancestors::init_module(py, &dotted_name)?)?; + m.add_submodule(©_tracing::init_module(py, &dotted_name)?)?; m.add_submodule(&dagops::init_module(py, &dotted_name)?)?; m.add_submodule(&dirstate::init_module(py, &dotted_name)?)?; m.add_submodule(&discovery::init_module(py, &dotted_name)?)?;