I'm using http to serve two branches in HG.
I need one user to have access only for certain branch.
How can I deny cloning exact branch with AclExtension?
My .hg/hgrc is
pretxnchangegroup = python:hgext.acl.hook
[acl]
sources = http, pull, push
[acl.allow]
* = admin #admin has full access
release = baduser #baduser has access only to release branch
[acl.deny.branches]
default = baduser #deny this branch for user baduser
This doesn't work.