--- 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<Option<PyBytes>> {
Ok(Some(PyBytes::new(py, res.0.as_bytes())))
}
fn translate_key_value(
py: Python,
- res: (&HgPathBuf, &DirstateEntry),
+ res: (&HgPath, &DirstateEntry),
) -> PyResult<Option<(PyBytes, PyObject)>> {
let (f, entry) = res;
Ok(Some((