##// END OF EJS Templates
py3: pass ctx.rev() instead of ctx in range()
Pulkit Goyal -
r36399:2827fa74 default
parent child Browse files
Show More
@@ -356,7 +356,7 b' def hook(ui, repo, hooktype, node=None, '
356 allow = buildmatch(ui, repo, user, 'acl.allow')
356 allow = buildmatch(ui, repo, user, 'acl.allow')
357 deny = buildmatch(ui, repo, user, 'acl.deny')
357 deny = buildmatch(ui, repo, user, 'acl.deny')
358
358
359 for rev in xrange(repo[node], len(repo)):
359 for rev in xrange(repo[node].rev(), len(repo)):
360 ctx = repo[rev]
360 ctx = repo[rev]
361 branch = ctx.branch()
361 branch = ctx.branch()
362 if denybranches and denybranches(branch):
362 if denybranches and denybranches(branch):
General Comments 0
You need to be logged in to leave comments. Login now