diff -r 547d1a4aa105 -r bc3fe3b5b785 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Sep 08 02:16:16 2006 +0200 +++ b/mercurial/localrepo.py Fri Sep 08 09:36:18 2006 +0200 @@ -133,7 +133,7 @@ except Exception, exc: if isinstance(exc, util.Abort): self.ui.warn(_('error: %s hook failed: %s\n') % - (hname, exc.args[0] % exc.args[1:])) + (hname, exc.args[0])) else: self.ui.warn(_('error: %s hook raised an exception: ' '%s\n') % (hname, exc))