changeset 52795 | adf91dfe6c04 |
parent 52792 | acae91fad6be |
child 52850 | ffda57aa98fa |
52794:5ad4ed71fbe0 | 52795:adf91dfe6c04 |
---|---|
76 rev |
76 rev |
77 )) |
77 )) |
78 } |
78 } |
79 } |
79 } |
80 } |
80 } |
81 |
|
82 pub fn graph_error(_err: hg::GraphError) -> PyErr { |
|
83 // ParentOutOfRange is currently the only alternative |
|
84 // in `hg::GraphError`. The C index always raises this simple ValueError. |
|
85 PyValueError::new_err("parent out of range") |
|
86 } |