diff hgext/acl.py @ 8682:cc7da5aae4cd

match: remove match.never Only one user, can be translated to match.exact()
author Matt Mackall <mpm@selenic.com>
date Sun, 31 May 2009 17:54:18 -0500
parents fea40a677d43
children b30775386d40
line wrap: on
line diff
--- 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):