Mercurial > hg
changeset 16767:363bde4224c8
acl: 'util.never' can be used instead of a more complex expression
author | Elifarley Callado Coelho Cruz |
---|---|
date | Fri, 18 May 2012 13:50:02 -0300 |
parents | 9d778f80ad2a |
children | e406b9656da3 |
files | hgext/acl.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/acl.py Fri May 18 13:47:44 2012 -0300 +++ b/hgext/acl.py Fri May 18 13:50:02 2012 -0300 @@ -203,8 +203,7 @@ # Path-based ACL if pats: return match.match(repo.root, '', pats) - return match.exact(repo.root, '', []) - + return util.never def hook(ui, repo, hooktype, node=None, source=None, **kwargs): if hooktype not in ['pretxnchangegroup', 'pretxncommit']: