I know how to include Mercurial hooks in my local repository. This is done by adding the hook to the hgrc file along with the location of the Python code and the Python hook.
[hooks] pretxncommit.require_case=python:.hg/require_case.py:require_case
Now I would like to take this hook and add it to the hgrc file located in the central repository. After I do make changes to the hgrc file of the central repository and when I do a mercurial clone on that repository, the hgrc file does not have my hook definition. This central repository is running under a Linux environment.
Am I missing anything in the steps. Any advice is appreciated. Thanks.