changeset 3975:7b1fce1d5e71

acl: use contexts
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 26 Dec 2006 03:24:51 +0100
parents a3aa97171546
children f8849648b0e2
files hgext/acl.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):