small fix
authorPaul Crowley <paul@lshift.net>
Fri, 20 Feb 2009 15:19:33 +0000
changeset 53 853444c5d393
parent 52 f9eb98bb0791
child 54 e2ca551c2822
small fix
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':