rust/hg-cpython/src/dirstate/status.rs
changeset 47350 04d1f17f49e7
parent 47112 d5956136d19d
child 47379 f6bb181c75f8
--- a/rust/hg-cpython/src/dirstate/status.rs	Fri May 28 11:48:59 2021 +0200
+++ b/rust/hg-cpython/src/dirstate/status.rs	Mon May 31 18:35:44 2021 +0200
@@ -260,6 +260,7 @@
     let unsure = collect_pybytes_list(py, status_res.unsure.as_ref());
     let bad = collect_bad_matches(py, status_res.bad.as_ref())?;
     let traversed = collect_pybytes_list(py, status_res.traversed.as_ref());
+    let dirty = status_res.dirty.to_py_object(py);
     let py_warnings = PyList::new(py, &[]);
     for warning in warnings.iter() {
         // We use duck-typing on the Python side for dispatch, good enough for
@@ -297,6 +298,7 @@
             py_warnings.into_object(),
             bad.into_object(),
             traversed.into_object(),
+            dirty.into_object(),
         ][..],
     ))
 }