Mercurial > hg-stable
diff hgext/acl.py @ 49292:d44e3c45f0e4
py3: replace `pycompat.xrange` by `range`
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sun, 29 May 2022 15:17:27 +0200 |
parents | 6000f5b25c9b |
children | 493034cc3265 |
line wrap: on
line diff
--- 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):