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.hookprepushkey.access = python:mercurialserver.access.phasehook