diff rust/hg-cpython/src/revlog.rs @ 51232:3551f2a1c963

debugindexstats: handle the lack of Rust support better We don't have any stats in the Rust index. Currently it is not known which stats would be interesting to get, so if they end up being important, we can add them later.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 31 Oct 2023 18:09:43 +0100
parents 5807e3a8865e
children ca81cd96000a
line wrap: on
line diff
--- a/rust/hg-cpython/src/revlog.rs	Tue Oct 31 17:36:59 2023 +0100
+++ b/rust/hg-cpython/src/revlog.rs	Tue Oct 31 18:09:43 2023 +0100
@@ -405,11 +405,6 @@
         Ok(rust_res)
     }
 
-    /// stats for the index
-    def stats(&self, *args, **kw) -> PyResult<PyObject> {
-        self.call_cindex(py, "stats", args, kw)
-    }
-
     // index_sequence_methods and index_mapping_methods.
     //
     // Since we call back through the high level Python API,