rust/hg-cpython/src/discovery.rs
changeset 42755 8041a1b45163
parent 42753 b6f3f704a561
child 42756 1c4b5689bef5
--- 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
             )))
         )
     }