equal
deleted
inserted
replaced
39 } |
39 } |
40 } |
40 } |
41 |
41 |
42 py_exception!(rustext, PatternError, RuntimeError); |
42 py_exception!(rustext, PatternError, RuntimeError); |
43 py_exception!(rustext, PatternFileError, RuntimeError); |
43 py_exception!(rustext, PatternFileError, RuntimeError); |
|
44 py_exception!(rustext, HgPathPyError, RuntimeError); |
44 |
45 |
45 impl PatternError { |
46 impl PatternError { |
46 pub fn pynew(py: Python, inner: hg::PatternError) -> PyErr { |
47 pub fn pynew(py: Python, inner: hg::PatternError) -> PyErr { |
47 match inner { |
48 match inner { |
48 hg::PatternError::UnsupportedSyntax(m) => { |
49 hg::PatternError::UnsupportedSyntax(m) => { |