##// END OF EJS Templates
rust-cpython: don't swallow the dirstate error message...
Raphaël Gomès -
r52511:ccf5c440 stable
parent child Browse files
Show More
@@ -270,9 +270,9 b' py_class!(pub class DirstateMap |py| {'
270 let tuple = (packed, tree_metadata, append);
270 let tuple = (packed, tree_metadata, append);
271 Ok(tuple.to_py_object(py).into_object())
271 Ok(tuple.to_py_object(py).into_object())
272 },
272 },
273 Err(_) => Err(PyErr::new::<exc::OSError, _>(
273 Err(e) => Err(PyErr::new::<exc::OSError, _>(
274 py,
274 py,
275 "Dirstate error".to_string(),
275 e.to_string(),
276 )),
276 )),
277 }
277 }
278 }
278 }
General Comments 0
You need to be logged in to leave comments. Login now