What is Mercurial's equivalent to the prepare-commit-message
hook in Git?
Basically what I'm looking for is any hook that runs as part of a commit but before the commit message has been edited by the user. The hook will edit the commit message and the generated message will be shown to the user so it can be validated.