src/init/conf/remote-hgrc.d/access.rc
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:45 +0100
changeset 372 80f78674c56e
parent 311 3cbde66305e4
permissions -rw-r--r--
Add support for phases This adds a "publish" permission level (between "init" and "write") required to be able to change the phase of a changeset from "draft" to "public". Update documentation accordingly. This is meant to be used for using the changeset evolution feature of mercurial, see http://evolution.experimentalworks.net/doc/

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

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