diff -r f325db39c8b9 -r 32a9744acf1e mercurial/dagparser.py --- a/mercurial/dagparser.py Tue Jun 15 09:55:59 2010 +0200 +++ b/mercurial/dagparser.py Tue Jun 15 10:00:07 2010 +0200 @@ -363,8 +363,8 @@ yield '#' + data yield '\n' else: - raise util.Abort("invalid event type in dag: " - + format((type, data))) + raise util.Abort(_("invalid event type in dag: %s") + % str((type, data))) if run: yield '+' + str(run)