--- a/rust/hg-cpython/src/discovery.rs Fri May 17 01:56:56 2019 +0200
+++ b/rust/hg-cpython/src/discovery.rs Fri May 17 01:56:57 2019 +0200
@@ -36,7 +36,7 @@
_cls,
repo: PyObject,
targetheads: PyObject,
- _respectsize: bool
+ respectsize: bool
) -> PyResult<PartialDiscovery> {
let index = repo.getattr(py, "changelog")?.getattr(py, "index")?;
Self::create_instance(
@@ -44,6 +44,7 @@
RefCell::new(Box::new(CorePartialDiscovery::new(
Index::new(py, index)?,
rev_pyiter_collect(py, &targetheads)?,
+ respectsize
)))
)
}