src/init/conf/remote-hgrc.d/access.rc
author David Douard <david.douard@logilab.fr>
Wed, 05 Mar 2014 12:16:46 +0100
changeset 373 a286d6c6b19c
parent 372 80f78674c56e
permissions -rw-r--r--
Log phase transitions (draft->public) Ensure phase transitions are logged in the mercurial-server.log file

# Check that a commit meets access control rules before allowing it

[hooks]
pretxnchangegroup.access = python:mercurialserver.access.hook
prepushkey.access = python:mercurialserver.access.phasehook