In the Mercurial vcs handler the def for get_hook_location appears to have either a typo or a very confusing name.
def get_hook_location(self): """ returns absolute path to location where hooks are stored """ return os.path.join(self.path, '.hg', '.hgrc')
If is meant to be a distinct location from the standard repo rc file, then it may be better named ‘.hooks’ or some such.
If it is meant to be the standard repo hgrc then the '.' is a typo (unless I missed something wrt mercurial repos).
Sry, I don’t have enough insight into the design decisions for this to confidently make a PR.