What is hg equivalent for git client and server side hooks?
I was trying to find the two different types of hooks for hg like in git, but only found lot of hooks not specific of client or server side. I think hooks cannot be setup on the client side, but I am not sure.
Mercurial doesn't divide hooks into 'client' and 'server', because your repository is both the client and the server. If you register hooks locally, they'll be run for the appropriate interaction points.
Hooks are run on the repository where the triggers are fired. If you register a precommit
hook on your local repository, it will be triggered every time you make a commit.
Hooks are local, so they are not propagated when you clone a repository or push commits to another repository.