RevlogNG format description - nodeid size

Augie Fackler raf at durin42.com
Sun Apr 8 22:14:39 UTC 2012


On Apr 8, 2012, at 3:36 PM, Wujek Srujek wrote:

> Hi. Here:
> http://mercurial.selenic.com/wiki/RevlogNG
> under the 'RevlogNG format' the fields are described, and at the very end,
> we read:
> '32 bytes: nodeid -- A unique identifier, also used in verification (hash
> of content + parent IDs)'
> nodeids are 20 bytes everywhere else - is this here a mistake, or is there
> some more data attached?

I believe this is padding for the day when we move to a longer hash than SHA1. The extra 12 bytes are presently unused (but reserved).

> 
> wujek
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial




More information about the Mercurial mailing list