don't write about alternatives; best done elsewhere.
# hgrc to use for all remote users[hooks]pretxnchangegroup.access = python:mercurialserver.access.hookchangegroup.aaaaa_servelog = python:mercurialserver.servelog.hookoutgoing.aaaaa_servelog = python:mercurialserver.servelog.hook