Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-cpython/src/exceptions.rs @ 42960:7a01778bc7b7
rust-hgpath: replace all paths and filenames with HgPath/HgPathBuf
Differential Revision: https://phab.mercurial-scm.org/D6774
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Sun, 01 Sep 2019 20:53:14 +0200 |
parents | 30320c7bf79f |
children | 3bd77c64bc74 |
line wrap: on
line diff
--- a/rust/hg-cpython/src/exceptions.rs Sun Sep 01 20:53:14 2019 +0200 +++ b/rust/hg-cpython/src/exceptions.rs Sun Sep 01 20:53:14 2019 +0200 @@ -41,6 +41,7 @@ py_exception!(rustext, PatternError, RuntimeError); py_exception!(rustext, PatternFileError, RuntimeError); +py_exception!(rustext, HgPathPyError, RuntimeError); impl PatternError { pub fn pynew(py: Python, inner: hg::PatternError) -> PyErr {