--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rust/hg-pyo3/src/revlog/mod.rs Tue Dec 24 18:02:11 2024 +0100
@@ -0,0 +1,19 @@
+// revlog.rs
+//
+// Copyright 2019-2020 Georges Racinet <georges.racinet@octobus.net>
+// 2020-2024 Raphaël Gomès <raphael.gomes@octobus.net>
+// 2024 Georges Racinet <georges.racinet@cloudcrane.io>
+//
+// This software may be used and distributed according to the terms of the
+// GNU General Public License version 2 or any later version.
+use pyo3::prelude::*;
+
+use crate::util::new_submodule;
+
+pub fn init_module<'py>(
+ py: Python<'py>,
+ package: &str,
+) -> PyResult<Bound<'py, PyModule>> {
+ let m = new_submodule(py, package, "revlog")?;
+ Ok(m)
+}