Refactor the v1 logic to determine the node parsing based on the flag.
Move the predecessor out of the fixed part and handle it like the other
nodes, removing most of the duplicated code for parsing 20/32 bytes
hashes.
Details
Details
- Reviewers
Alphare pulkit - Group Reviewers
hg-reviewers - Commits
- rHG145cfe84d3e4: obsstore: refactor v1 logic to fix 32 byte hash support
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
Other than my "nit but please do it" comment, this looks fine.
mercurial/obsolete.py | ||
---|---|---|
414 | I would add a comment explaining the magic 1 |
I would add a comment explaining the magic 1