precommit hook that changes commit list?

Adrian Buehlmann adrian at cadifra.com
Sat Sep 6 18:45:54 CDT 2008


On 07.09.2008 01:33, Nicholas Tung wrote:
> I take it the changeset hashes only has file names, not content?

No. The hash is over everything, so over every bit in file contents
as well.

And hg verify checks it (in reasonable time -- unlike bzr check)

See (top down in hierarchy of data structures):
http://www.selenic.com/mercurial/wiki/index.cgi/ChangeSet
http://www.selenic.com/mercurial/wiki/index.cgi/Manifest
http://www.selenic.com/mercurial/wiki/index.cgi/Revlog


More information about the Mercurial mailing list