# HG changeset patch # User Matt Mackall # Date 1243810458 18000 # Node ID cc7da5aae4cd5fa484aa5c57050bef7de1fb34e1 # Parent 26f133267cd745dcf48e0667f70e0de705c6a61e match: remove match.never Only one user, can be translated to match.exact() diff -r 26f133267cd7 -r cc7da5aae4cd hgext/acl.py --- a/hgext/acl.py Sun May 31 17:54:18 2009 -0500 +++ b/hgext/acl.py Sun May 31 17:54:18 2009 -0500 @@ -61,7 +61,7 @@ (key, len(pats), user)) if pats: return match.match(repo.root, '', pats) - return match.never(repo.root, '') + return match.exact(repo.root, '', []) def hook(ui, repo, hooktype, node=None, source=None, **kwargs): diff -r 26f133267cd7 -r cc7da5aae4cd mercurial/match.py --- a/mercurial/match.py Sun May 31 17:54:18 2009 -0500 +++ b/mercurial/match.py Sun May 31 17:54:18 2009 -0500 @@ -106,10 +106,6 @@ def __init__(self, root, cwd): match.__init__(self, root, cwd, []) -class never(match): - def __init__(self, root, cwd): - match.__init__(self, root, cwd, [], exact = True) - def patkind(pat): return _patsplit(pat, None)[0]