changeset 38783 | e7aa113b14f7 |
parent 38531 | 6beb8347b709 |
child 39427 | 3694c9aaf5e4 |
--- a/hgext/acl.py Wed Aug 01 12:57:15 2018 -0700 +++ b/hgext/acl.py Wed Aug 01 13:00:45 2018 -0700 @@ -220,6 +220,7 @@ error, extensions, match, + pycompat, registrar, util, ) @@ -403,7 +404,7 @@ allow = buildmatch(ui, repo, user, 'acl.allow') deny = buildmatch(ui, repo, user, 'acl.deny') - for rev in xrange(repo[node].rev(), len(repo)): + for rev in pycompat.xrange(repo[node].rev(), len(repo)): ctx = repo[rev] branch = ctx.branch() if denybranches and denybranches(branch):