##// END OF EJS Templates
dirstatemap: fix copymap.pop in Rust to return the value it pops...
marmoute -
r48947:bd5f7c61 default
parent child Browse files
Show More
@@ -401,7 +401,9 b' py_class!(pub class DirstateMap |py| {'
401 401 .copy_map_remove(HgPath::new(key.data(py)))
402 402 .map_err(|e| v2_error(py, e))?
403 403 {
404 Some(_) => Ok(None),
404 Some(copy) => Ok(Some(
405 PyBytes::new(py, copy.as_bytes()).into_object(),
406 )),
405 407 None => Ok(default),
406 408 }
407 409 }
General Comments 0
You need to be logged in to leave comments. Login now