Read the content of a revlog at a given revision.
Details
Details
- Reviewers
Alphare indygreg - Group Reviewers
hg-reviewers - Commits
- rHGb56df13a0450: hg-core: define a `DebugData` `Operation`
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
rust/hg-core/src/operations/debugdata.rs | ||
---|---|---|
24 | This enum duplicates a lot of states from RevlogError. This kinda feels like an anti-pattern. Should it store a RevlogError(RevlogError) instead? (I legitimately do not know what the best practice is here. Completely duplicating an enum just doesn't sit right with me!) | |
102 | We would ideally have a method on the repo resolve this path, since the logic is influenced by .hg/requires. But this is probably fine for now. |
This enum duplicates a lot of states from RevlogError. This kinda feels like an anti-pattern. Should it store a RevlogError(RevlogError) instead?
(I legitimately do not know what the best practice is here. Completely duplicating an enum just doesn't sit right with me!)