diff -r d8ac62374943 -r cd8ca38fccff rust/hg-cpython/src/dirstate/dirstate_map.rs --- a/rust/hg-cpython/src/dirstate/dirstate_map.rs Fri Apr 30 18:24:54 2021 +0200 +++ b/rust/hg-cpython/src/dirstate/dirstate_map.rs Fri Apr 30 19:57:46 2021 +0200 @@ -514,13 +514,13 @@ } fn translate_key( py: Python, - res: (&HgPathBuf, &DirstateEntry), + res: (&HgPath, &DirstateEntry), ) -> PyResult> { Ok(Some(PyBytes::new(py, res.0.as_bytes()))) } fn translate_key_value( py: Python, - res: (&HgPathBuf, &DirstateEntry), + res: (&HgPath, &DirstateEntry), ) -> PyResult> { let (f, entry) = res; Ok(Some((