Show More
@@ -261,7 +261,8 b' def checknewlabel(repo, lbl, kind):' | |||
|
261 | 261 | raise error.Abort(_("the name '%s' is reserved") % lbl) |
|
262 | 262 | for c in (':', '\0', '\n', '\r'): |
|
263 | 263 | if c in lbl: |
|
264 |
raise error.Abort( |
|
|
264 | raise error.Abort( | |
|
265 | _("%r cannot be used in a name") % pycompat.bytestr(c)) | |
|
265 | 266 | try: |
|
266 | 267 | int(lbl) |
|
267 | 268 | raise error.Abort(_("cannot use an integer as a name")) |
General Comments 0
You need to be logged in to leave comments.
Login now