src/init/conf/remote-hgrc.d/access.rc
author Cédric Krier <ced@b2ck.com>
Mon, 11 Sep 2017 21:38:10 +0200
changeset 375 a41e4382ea6e
parent 372 80f78674c56e
permissions -rw-r--r--
Use repo vfs to join the server log The method join on repo has been removed in changeset edb7f628ef8b of mercurial.

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

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