Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up ACL. I've got it mostly working. However, I've got a couple of specific questions.

Basically, I'm trying to set up a group @group that will be allowed to access a bunch of branches of the form xxxx-integration-xxxx. What I want to do is:

[acl.allow.branches]
*integration* = @group

However, that doesn't seem to work. Is there an easy way to do this?

Also, is there a better place to ask this? I asked some similar questions on stackoverflow, and got nothing.

share|improve this question

After enabling the extension, you can run hg help acl to read its help (it's unfortunately not included in the wiki page). There you'll find this section:

Branch-based Access Control

Use the acl.deny.branches and acl.allow.branches sections to have branch-based access control. Keys in these sections can be either:

  • a branch name, or
  • an asterisk, to match any branch;

So, you cannot use general glob-patterns here. It sounds like a nice feature request, though, so I suggest you submit it in the Mercurial bug tracker.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .