hgext/acl.py
changeset 36381 2827fa74adbc
parent 36377 39212037e65e
child 36412 03eff66adb3b
--- 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):