Show More
@@ -449,7 +449,9 b' class ui(object):' | |||||
449 | except KeyError: |
|
449 | except KeyError: | |
450 | pass |
|
450 | pass | |
451 | if not user: |
|
451 | if not user: | |
452 |
raise util.Abort(_('no username supplied |
|
452 | raise util.Abort(_('no username supplied'), | |
|
453 | hint=_('use "hg config --edit" ' | |||
|
454 | ' to set your username')) | |||
453 | if "\n" in user: |
|
455 | if "\n" in user: | |
454 | raise util.Abort(_("username %s contains a newline\n") % repr(user)) |
|
456 | raise util.Abort(_("username %s contains a newline\n") % repr(user)) | |
455 | return user |
|
457 | return user |
@@ -16,7 +16,7 b' hg debuginstall with no username' | |||||
16 | checking templates (*mercurial?templates)... (glob) |
|
16 | checking templates (*mercurial?templates)... (glob) | |
17 | checking commit editor... |
|
17 | checking commit editor... | |
18 | checking username... |
|
18 | checking username... | |
19 |
no username supplied |
|
19 | no username supplied | |
20 |
|
|
20 | (specify a username in your configuration file) | |
21 | 1 problems detected, please check your install! |
|
21 | 1 problems detected, please check your install! | |
22 | [1] |
|
22 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now