Is there anyway i can change a commit message trough a hook when someone amends the commit message ?
I tried to use precommit
hook but this hook isn't called when amending.
I also tried to call hg commit --amend
from the changegroup
hook, but this causes errors.
I managed to do it by calling an external python script but this requires python to be installed and certainly doesn't feel like the right way to go about it.