I am trying to deny everyone commit access to a branch using ACL on Windows but can't quite seem to figure it out. According to the little documentation I've found this should work.
My hgrc file:
[extensions]
hgext.acl=
[hooks]
pretxncommit.acl = python:hgext.acl.hook
[acl]
sources = commit
[acl.deny.branches]
default = *
Shouldn't this deny everyone commit access to the default branch? I tried and now every commit, no matter the branch give:
error: pretxncommit.acl hook failed: config error - hook type "pretxncommit" can
not stop incoming changesets
transaction abort!
rollback completed
abort: config error - hook type "pretxncommit" cannot stop incoming changesets
Leads me to think I configured it wrong, but it's pretty much exactly how they do it in the AclExtension documentation.