diff -r e63843793f01 -r 1d58c0491d5e mercurial/changelog.py --- a/mercurial/changelog.py Fri Dec 05 22:22:14 2008 +0100 +++ b/mercurial/changelog.py Sat Dec 06 14:27:31 2008 +0100 @@ -179,7 +179,7 @@ user = user.strip() if "\n" in user: - raise RevlogError(_("username %s contains a newline") % `user`) + raise RevlogError(_("username %s contains a newline") % repr(user)) user, desc = util.fromlocal(user), util.fromlocal(desc) if date: