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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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.)