author | Pulkit Goyal <7895pulkit@gmail.com> |
Fri, 23 Feb 2018 18:04:33 +0530 | |
changeset 36381 | 2827fa74adbc |
parent 36380 | 2bff5f05b01b |
child 36382 | b4d1c09b754b |
hgext/acl.py | file | annotate | diff | comparison | revisions |
--- a/hgext/acl.py Fri Feb 23 18:03:58 2018 +0530 +++ b/hgext/acl.py Fri Feb 23 18:04:33 2018 +0530 @@ -356,7 +356,7 @@ allow = buildmatch(ui, repo, user, 'acl.allow') deny = buildmatch(ui, repo, user, 'acl.deny') - for rev in xrange(repo[node], len(repo)): + for rev in xrange(repo[node].rev(), len(repo)): ctx = repo[rev] branch = ctx.branch() if denybranches and denybranches(branch):