Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, as it uses a similar hashing scheme as git. https://www.mercurial-scm.org/wiki/FAQ#FAQ.2FTechnicalDetail...

That said the file format was switched pretty early on (2006 I think, less than a year after initial release) to reserve space for 32 bytes instead of 20 for the hash, thus allowing hash migration more easily (sha1 is 20 bytes, sha2 which at the time was the obvious replacement was 32 bytes). https://www.mercurial-scm.org/wiki/RevlogNG



Except all exchanges between mercurial client and server happen with changegroups and changegroups are still limited to 20 bytes for the hash.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: