diff hgext/acl.py @ 6747:f6c00b17387c

use repo[changeid] to get a changectx
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Jun 2008 14:35:46 -0500
parents f89fd07fc51d
children fb42030d79d6
line wrap: on
line diff
--- a/hgext/acl.py	Thu Jun 26 13:58:24 2008 -0500
+++ b/hgext/acl.py	Thu Jun 26 14:35:46 2008 -0500
@@ -91,7 +91,7 @@
 
     def check(self, node):
         '''return if access allowed, raise exception if not.'''
-        files = self.repo.changectx(node).files()
+        files = self.repo[node].files()
         if self.deniable:
             for f in files:
                 if self.deny(f):