title: How do I set up a hook in HG / Mercurial that gets dictated by the repository?
body: <p>I have a need for a hook to run after update (this will build the solution they have updated) and I don't want to have to add that hook manually for each person that clones my central repository.</p>
  
  <p>When someone first clones my central repository, is it possible to include hooks into that clone? It seems that the .hgrc file doesn't get cloned automatically.</p>
  
  <p>I did read about site-wide hooks, but as far as I understand it, they work on each created repository, where I only want to have the hooks on some repos.</p>