rust: add GraphError::ParentOutOfOrder
This will be used in a follow-up commit that creates a data structure optimized for inserting revisions in descending order, since it will need to fail if a revision number is greater than its descendant (meaning the graph is corrupted).
Showing
- rust/hg-core/src/revlog/mod.rs 6 additions, 0 deletionsrust/hg-core/src/revlog/mod.rs
- rust/hg-cpython/src/cindex.rs 3 additions, 0 deletionsrust/hg-cpython/src/cindex.rs
- rust/hg-cpython/src/exceptions.rs 3 additions, 0 deletionsrust/hg-cpython/src/exceptions.rs
- rust/hg-cpython/src/revlog.rs 3 additions, 0 deletionsrust/hg-cpython/src/revlog.rs
- rust/hg-pyo3/src/exceptions.rs 3 additions, 0 deletionsrust/hg-pyo3/src/exceptions.rs
Loading
Please register or sign in to comment