I am trying to find if there is an easy way to make a mercurial repository read-only. The user should be able to clone, but no pushes should be allowed. I need to do this for all my repositories which is more than 100.
You can do this like this in .hg/hgrc:
[hooks]
prechangegroup = false