src/init/conf/remote-hgrc.d/access.rc
author Cédric Krier <ced@b2ck.com>
Fri, 20 Jul 2018 17:17:49 +0200
changeset 376 d503d5a786f3
parent 372 80f78674c56e
permissions -rw-r--r--
Remove usage of changectx The method has been removed in changeset 836867586b83 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