# HG changeset patch # User Elifarley Callado Coelho Cruz # Date 2012-05-18 15:40:04 # Node ID ffb68b9dbaa94a5fbb3d56e1d03bfd832082da4b # Parent c38f96ab63cb2d9dc4433d02e52f8ad1ff00eff2 acl: 'util.never' used diff --git a/hgext/acl.py b/hgext/acl.py --- a/hgext/acl.py +++ b/hgext/acl.py @@ -193,7 +193,7 @@ def buildmatch(ui, repo, user, key): if not repo: if pats: return lambda b: '*' in pats or b in pats - return lambda b: False + return util.never if pats: return match.match(repo.root, '', pats)