# HG changeset patch # User Benoit Boissinot # Date 1167099891 -3600 # Node ID 7b1fce1d5e71c981ca2c643baa93fcee9310688a # Parent a3aa97171546ec75cbde32f9b12dd3efe1557f40 acl: use contexts diff -r a3aa97171546 -r 7b1fce1d5e71 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):