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/
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
221
c4c3facf5d6b Switch to remote-hgrc.d
Paul Crowley <paul@lshift.net>
parents: 75
diff changeset
     1
# Check that a commit meets access control rules before allowing it
18
538d6b198f4a Big change to support file conditions; format of hg-ssh-access.conf
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
538d6b198f4a Big change to support file conditions; format of hg-ssh-access.conf
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
[hooks]
67
fd16d9a1234b Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents: 62
diff changeset
     4
pretxnchangegroup.access = python:mercurialserver.access.hook
372
80f78674c56e Add support for phases
David Douard <david.douard@logilab.fr>
parents: 311
diff changeset
     5
prepushkey.access = python:mercurialserver.access.phasehook