rust/hg-cpython/src/revlog.rs
changeset 47268 9d1a8829f959
parent 47037 d57386e5c80e
child 47305 33e7508b0ae9
--- a/rust/hg-cpython/src/revlog.rs	Tue May 04 11:19:48 2021 +0200
+++ b/rust/hg-cpython/src/revlog.rs	Tue May 04 14:16:26 2021 +0200
@@ -300,6 +300,11 @@
         self.cindex(py).borrow().inner().getattr(py, "entry_size")?.extract::<PyInt>(py)
     }
 
+    @property
+    def rust_ext_compat(&self) -> PyResult<PyInt> {
+        self.cindex(py).borrow().inner().getattr(py, "rust_ext_compat")?.extract::<PyInt>(py)
+    }
+
 });
 
 impl MixedIndex {