def get_hook_location(self):
        return os.path.join(self.path, '.hg', '.hgrc')
returns absolute path to location where hooks are stored
dataset/ETHPy150Open codeinn/vcs/vcs/backends/hg/repository.py/MercurialRepository.get_hook_location