This leaves fewer cases for callers to handle, as RevlogError is more general
Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHG001d747c2baf: rust: Return HgError instead of RevlogError in revlog constructors
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
There are strictly more error cases that can be represented by RevlogError so it is more general. (Since it has an Other variant that contains an HgError, plus some other variants.)