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
- 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
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