On the project I am working on there is a standard pre-commit hook for mercurial that looks something like this:
python:hookhgext.messagevalidation.checkCommitMessage
I would like to find out where the python script is located so I can create my own hook script that also calls this.
How would I either find the location of this file or also call this hook from a python script?