diff -r 9191585f2604 -r 776f9784b34b hgext/acl.py --- a/hgext/acl.py Sun Jun 20 17:38:57 2010 +0200 +++ b/hgext/acl.py Sun Jun 20 19:48:28 2010 +0200 @@ -74,7 +74,7 @@ # Use this if you want to check access restrictions at commit time pretxncommit.acl = python:hgext.acl.hook - + # Use this if you want to check access restrictions for pull, push, # bundle and serve. pretxnchangegroup.acl = python:hgext.acl.hook @@ -87,27 +87,27 @@ # Default: serve sources = serve - [acl.deny.branches] - - # Everyone is denied to the frozen branch: - frozen-branch = * - - # A bad user is denied on all branches: - * = bad-user - - [acl.allow.branches] - - # A few users are allowed on branch-a: - branch-a = user-1, user-2, user-3 - - # Only one user is allowed on branch-b: - branch-b = user-1 - - # The super user is allowed on any branch: - * = super-user - - # Everyone is allowed on branch-for-tests: - branch-for-tests = * + [acl.deny.branches] + + # Everyone is denied to the frozen branch: + frozen-branch = * + + # A bad user is denied on all branches: + * = bad-user + + [acl.allow.branches] + + # A few users are allowed on branch-a: + branch-a = user-1, user-2, user-3 + + # Only one user is allowed on branch-b: + branch-b = user-1 + + # The super user is allowed on any branch: + * = super-user + + # Everyone is allowed on branch-for-tests: + branch-for-tests = * [acl.deny] # This list is checked first. If a match is found, acl.allow is not