src/access.py
changeset 41 de0c61b778fa
parent 39 f5055ce263c7
child 50 77d97aa18f29
equal deleted inserted replaced
40:abbb822779da 41:de0c61b778fa
    48     if hooktype != 'pretxnchangegroup':
    48     if hooktype != 'pretxnchangegroup':
    49         raise util.Abort(_('config error - hook type "%s" cannot stop '
    49         raise util.Abort(_('config error - hook type "%s" cannot stop '
    50                            'incoming changesets') % hooktype)
    50                            'incoming changesets') % hooktype)
    51     c = Checker(ui, repo)
    51     c = Checker(ui, repo)
    52     start = repo.changelog.rev(bin(node))
    52     start = repo.changelog.rev(bin(node))
    53     end = repo.changelog.count()
    53     end = len(repo.changelog)
    54     for rev in xrange(start, end):
    54     for rev in xrange(start, end):
    55         c.check(repo.changelog.node(rev))
    55         c.check(repo.changelog.node(rev))
    56 
    56