diff -r 44b26349127b -r d44e3c45f0e4 hgext/acl.py --- 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):