Show More
@@ -401,7 +401,9 b' py_class!(pub class DirstateMap |py| {' | |||||
401 | .copy_map_remove(HgPath::new(key.data(py))) |
|
401 | .copy_map_remove(HgPath::new(key.data(py))) | |
402 | .map_err(|e| v2_error(py, e))? |
|
402 | .map_err(|e| v2_error(py, e))? | |
403 | { |
|
403 | { | |
404 |
Some( |
|
404 | Some(copy) => Ok(Some( | |
|
405 | PyBytes::new(py, copy.as_bytes()).into_object(), | |||
|
406 | )), | |||
405 | None => Ok(default), |
|
407 | None => Ok(default), | |
406 | } |
|
408 | } | |
407 | } |
|
409 | } |
General Comments 0
You need to be logged in to leave comments.
Login now