##// END OF EJS Templates
amend: add boolean to ignore date-only change...
amend: add boolean to ignore date-only change I want to add -D/--currentdate option, which should behave slightly different from the update-timestamp option.

File last commit:

r41001:5532823e default
r41159:cffa8e0b default
Show More
exceptions.rs
15 lines | 367 B | application/rls-services+xml | RustLexer
Georges Racinet
rust-cpython: start cpython crate bindings...
r41001 use cpython::exc::ValueError;
use cpython::{PyErr, Python};
use hg;
py_exception!(rustext, GraphError, ValueError);
impl GraphError {
pub fn pynew(py: Python, inner: hg::GraphError) -> PyErr {
match inner {
hg::GraphError::ParentOutOfRange(r) => {
GraphError::new(py, ("ParentOutOfRange", r))
}
}
}
}