writing hooks to modify commit messages at precommit
Martin Geisler
mg at aragost.com
Tue Apr 12 08:37:06 CDT 2011
dwin <dwin at smartbrief.com> writes:
> correct me if I am wrong but commit messages are calculated into the
> changeset Id, therefore everything from the change context is
> immutable?
That is true, the changeset hash is computed on everything: username,
commit date, commit message, modified files, manifest hash:
http://selenic.com/hg/file/tip/mercurial/changelog.py#l200
--
Martin Geisler
aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/
More information about the Mercurial-devel
mailing list