Mercurial > public > mercurial-scm > hg
comparison rust/hg-cpython/src/revlog.rs @ 51964: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 |
comparison
equal
deleted
inserted
replaced
51963:6204fc81a291 | 51964:8060257fd918 |
---|---|
328 def headrevsdiff(&self, *args, **_kw) -> PyResult<PyObject> { | 328 def headrevsdiff(&self, *args, **_kw) -> PyResult<PyObject> { |
329 let rust_res = self.inner_headrevsdiff( | 329 let rust_res = self.inner_headrevsdiff( |
330 py, | 330 py, |
331 &args.get_item(py, 0), | 331 &args.get_item(py, 0), |
332 &args.get_item(py, 1))?; | 332 &args.get_item(py, 1))?; |
333 Ok(rust_res) | |
334 } | |
335 | |
336 /// get filtered head revisions | |
337 def headrevsfiltered(&self, *args, **_kw) -> PyResult<PyObject> { | |
338 let rust_res = self.inner_headrevsfiltered(py, &args.get_item(py, 0))?; | |
339 Ok(rust_res) | 333 Ok(rust_res) |
340 } | 334 } |
341 | 335 |
342 /// True if the object is a snapshot | 336 /// True if the object is a snapshot |
343 def issnapshot(&self, *args, **_kw) -> PyResult<bool> { | 337 def issnapshot(&self, *args, **_kw) -> PyResult<bool> { |