[Commented On] D9750: node: introduce nodeconstants class
joerg.sonnenberger (Joerg Sonnenberger)
phabricator at mercurial-scm.org
Wed Jan 13 19:59:27 UTC 2021
joerg.sonnenberger added a comment.
I'm aiming more for "only one hash size in the repository" and the magic constants staying the same independent of the hash function. The hash itself is planned to be tagged, i.e. 248bit for the hash function and the trailing byte as type tag. The SHA1 replacement would use "01" and in principle allow for existing SHA1 nodes to embedded directly into the larger 256bit space as type "00".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D9750/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D9750
To: joerg.sonnenberger, indygreg, durin42, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210113/ce798504/attachment-0002.html>
More information about the Mercurial-patches
mailing list