acl: use contexts
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 26 Dec 2006 03:24:51 +0100
changeset 3975 7b1fce1d5e71
parent 3974 a3aa97171546
child 3976 f8849648b0e2
acl: use contexts
hgext/acl.py
--- a/hgext/acl.py	Tue Dec 26 03:17:34 2006 +0100
+++ b/hgext/acl.py	Tue Dec 26 03:24:51 2006 +0100
@@ -91,7 +91,7 @@
 
     def check(self, node):
         '''return if access allowed, raise exception if not.'''
-        files = self.repo.changelog.read(node)[3]
+        files = self.repo.changectx(node).files()
         if self.deniable:
             for f in files:
                 if self.deny(f):