equal
deleted
inserted
replaced
25 impl GraphError { |
25 impl GraphError { |
26 pub fn pynew(py: Python, inner: hg::GraphError) -> PyErr { |
26 pub fn pynew(py: Python, inner: hg::GraphError) -> PyErr { |
27 match inner { |
27 match inner { |
28 hg::GraphError::ParentOutOfRange(r) => { |
28 hg::GraphError::ParentOutOfRange(r) => { |
29 GraphError::new(py, ("ParentOutOfRange", PyRevision(r.0))) |
29 GraphError::new(py, ("ParentOutOfRange", PyRevision(r.0))) |
|
30 } |
|
31 hg::GraphError::ParentOutOfOrder(r) => { |
|
32 GraphError::new(py, ("ParentOutOfOrder", PyRevision(r.0))) |
30 } |
33 } |
31 } |
34 } |
32 } |
35 } |
33 |
36 |
34 pub fn pynew_from_vcsgraph( |
37 pub fn pynew_from_vcsgraph( |