hgext/acl.py
changeset 49284 d44e3c45f0e4
parent 48875 6000f5b25c9b
child 51690 493034cc3265
--- a/hgext/acl.py	Sun May 29 12:38:54 2022 +0200
+++ b/hgext/acl.py	Sun May 29 15:17:27 2022 +0200
@@ -219,7 +219,6 @@
     error,
     extensions,
     match,
-    pycompat,
     registrar,
     util,
 )
@@ -452,7 +451,7 @@
     allow = buildmatch(ui, repo, user, b'acl.allow')
     deny = buildmatch(ui, repo, user, b'acl.deny')
 
-    for rev in pycompat.xrange(repo[node].rev(), len(repo)):
+    for rev in range(repo[node].rev(), len(repo)):
         ctx = repo[rev]
         branch = ctx.branch()
         if denybranches and denybranches(branch):