diff rust/hg-cpython/src/revlog.rs @ 51998:8060257fd918

head-revs: remove the `headrevsfiltered` method on the index This method is no longer called and can be removed.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 26 Sep 2024 00:50:21 +0200
parents fb4d49c52c06
children e5dcaf6d4ac0
line wrap: on
line diff
--- a/rust/hg-cpython/src/revlog.rs	Wed Sep 25 17:11:32 2024 +0200
+++ b/rust/hg-cpython/src/revlog.rs	Thu Sep 26 00:50:21 2024 +0200
@@ -333,12 +333,6 @@
         Ok(rust_res)
     }
 
-    /// get filtered head revisions
-    def headrevsfiltered(&self, *args, **_kw) -> PyResult<PyObject> {
-        let rust_res = self.inner_headrevsfiltered(py, &args.get_item(py, 0))?;
-        Ok(rust_res)
-    }
-
     /// True if the object is a snapshot
     def issnapshot(&self, *args, **_kw) -> PyResult<bool> {
         let index = self.index(py).borrow();