rust: Return HgError instead of RevlogError in revlog constructors
This leaves fewer cases for callers to handle, as RevlogError is more general Differential Revision: https://phab.mercurial-scm.org/D11410
Showing
- rust/hg-core/src/repo.rs 7 additions, 7 deletionsrust/hg-core/src/repo.rs
- rust/hg-core/src/revlog/changelog.rs 1 addition, 1 deletionrust/hg-core/src/revlog/changelog.rs
- rust/hg-core/src/revlog/filelog.rs 1 addition, 1 deletionrust/hg-core/src/revlog/filelog.rs
- rust/hg-core/src/revlog/index.rs 1 addition, 2 deletionsrust/hg-core/src/revlog/index.rs
- rust/hg-core/src/revlog/manifest.rs 2 additions, 1 deletionrust/hg-core/src/revlog/manifest.rs
- rust/hg-core/src/revlog/nodemap_docket.rs 5 additions, 7 deletionsrust/hg-core/src/revlog/nodemap_docket.rs
- rust/hg-core/src/revlog/revlog.rs 2 additions, 2 deletionsrust/hg-core/src/revlog/revlog.rs
Loading
Please register or sign in to comment