diff -r 9626819b2e3d -r 08cabecfa8a8 mercurial/changelog.py --- a/mercurial/changelog.py Sat Jan 10 18:02:38 2009 -0600 +++ b/mercurial/changelog.py Sun Jan 11 22:48:28 2009 -0600 @@ -8,7 +8,7 @@ from node import bin, hex, nullid from revlog import revlog, RevlogError from i18n import _ -import util +import util, error def _string_escape(text): """ @@ -179,7 +179,8 @@ user = user.strip() if "\n" in user: - raise RevlogError(_("username %s contains a newline") % repr(user)) + raise error.RevlogError(_("username %s contains a newline") + % repr(user)) user, desc = util.fromlocal(user), util.fromlocal(desc) if date: