Show More
@@ -179,7 +179,7 b' class changelog(revlog):' | |||
|
179 | 179 | |
|
180 | 180 | user = user.strip() |
|
181 | 181 | if "\n" in user: |
|
182 |
raise RevlogError(_("username %s contains a newline") % |
|
|
182 | raise RevlogError(_("username %s contains a newline") % repr(user)) | |
|
183 | 183 | user, desc = util.fromlocal(user), util.fromlocal(desc) |
|
184 | 184 | |
|
185 | 185 | if date: |
@@ -350,7 +350,7 b' class ui(object):' | |||
|
350 | 350 | if not user: |
|
351 | 351 | raise util.Abort(_("Please specify a username.")) |
|
352 | 352 | if "\n" in user: |
|
353 |
raise util.Abort(_("username %s contains a newline\n") % |
|
|
353 | raise util.Abort(_("username %s contains a newline\n") % repr(user)) | |
|
354 | 354 | return user |
|
355 | 355 | |
|
356 | 356 | def shortuser(self, user): |
General Comments 0
You need to be logged in to leave comments.
Login now