equal
deleted
inserted
replaced
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 |