src/init/conf/remote-hgrc.d/access.rc
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:35 +0100
changeset 371 e9ce904b62a9
parent 311 3cbde66305e4
child 372 80f78674c56e
permissions -rw-r--r--
[test] add unit tests for ruleset We extract the rules building logic from readfile into a Ruleset.buildrules() method to ease testing.

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

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