# HG changeset patch # User Paul Crowley # Date 1235143173 0 # Node ID 853444c5d393d338953f572fdc16b79410e69196 # Parent f9eb98bb0791e1895d3f3f23dea56b60578a79b4 small fix diff -r f9eb98bb0791 -r 853444c5d393 src/access.py --- a/src/access.py Fri Feb 20 15:08:50 2009 +0000 +++ b/src/access.py Fri Feb 20 15:19:33 2009 +0000 @@ -10,6 +10,7 @@ from mercurial.i18n import _ import mercurial.util +import mercurial.node import os import ruleset @@ -39,7 +40,7 @@ '''return if access allowed, raise exception if not.''' if not self.allow(ctx): raise mercurial.util.Abort(_('%s: access denied for changeset %s') % - (__name__, ctx.short())) + (__name__, mercurial.node.short(ctx.node()))) def hook(ui, repo, hooktype, node=None, source=None, **kwargs): if hooktype != 'pretxnchangegroup':