src/mercurialserver/access.py
changeset 311 3cbde66305e4
parent 242 03d8f07230b3
child 372 80f78674c56e
equal deleted inserted replaced
310:38c222727017 311:3cbde66305e4
    23                            'incoming changesets') % hooktype)
    23                            'incoming changesets') % hooktype)
    24     for ctx in changes.changes(repo, node):
    24     for ctx in changes.changes(repo, node):
    25         if not allow(ctx):
    25         if not allow(ctx):
    26             raise mercurial.util.Abort(_('%s: access denied for changeset %s') %
    26             raise mercurial.util.Abort(_('%s: access denied for changeset %s') %
    27                 (__name__, mercurial.node.short(ctx.node())))
    27                 (__name__, mercurial.node.short(ctx.node())))
    28