author | Elifarley Callado Coelho Cruz |
Fri, 18 May 2012 12:48:24 -0300 | |
changeset 16765 | 754e98e0a615 |
parent 16764 | ffb68b9dbaa9 |
child 16766 | 9d778f80ad2a |
hgext/acl.py | file | annotate | diff | comparison | revisions |
--- a/hgext/acl.py Fri May 18 12:40:04 2012 -0300 +++ b/hgext/acl.py Fri May 18 12:48:24 2012 -0300 @@ -190,11 +190,13 @@ ui.debug('acl: %s enabled, %d entries for user %s\n' % (key, len(pats), user)) + # Branch-based ACL if not repo: if pats: return lambda b: '*' in pats or b in pats return util.never + # Path-based ACL if pats: return match.match(repo.root, '', pats) return match.exact(repo.root, '', [])