--- a/hgext/acl.py
+++ b/hgext/acl.py
@@ -91,7 +91,7 @@ class checker(object):
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):