--- a/rust/hg-cpython/src/discovery.rs Wed Aug 14 09:22:54 2019 +0900
+++ b/rust/hg-cpython/src/discovery.rs Wed Jun 12 14:18:12 2019 +0100
@@ -29,10 +29,14 @@
py_class!(pub class PartialDiscovery |py| {
data inner: RefCell<Box<CorePartialDiscovery<Index>>>;
+ // `_respectsize` is currently only here to replicate the Python API and
+ // will be used in future patches inside methods that are yet to be
+ // implemented.
def __new__(
_cls,
index: PyObject,
- targetheads: PyObject
+ targetheads: PyObject,
+ _respectsize: bool
) -> PyResult<PartialDiscovery> {
Self::create_instance(
py,