# HG changeset patch # User Benoit Boissinot # Date 1146074260 25200 # Node ID ef81e34ad674d8b9794db765d9a1982c714f065b # Parent 4334be196f8db44effc59167fb57cb4bbbc1d065 write to stderr with a single write call. this works around issue88. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3447,7 +3447,7 @@ def dispatch(args): u.warn(_("hg: unknown command '%s'\n") % inst.args[0]) help_(u, 'shortlist') except hg.RepoError, inst: - u.warn(_("abort: "), inst, "!\n") + u.warn(_("abort: %s!\n") % inst) except lock.LockHeld, inst: if inst.errno == errno.ETIMEDOUT: reason = _('timed out waiting for lock held by %s') % inst.locker