Show More
@@ -583,7 +583,7 b' class ui(object):' | |||||
583 | pass |
|
583 | pass | |
584 | if not user: |
|
584 | if not user: | |
585 | raise error.Abort(_('no username supplied'), |
|
585 | raise error.Abort(_('no username supplied'), | |
586 |
hint=_(' |
|
586 | hint=_("use 'hg config --edit' " | |
587 | 'to set your username')) |
|
587 | 'to set your username')) | |
588 | if "\n" in user: |
|
588 | if "\n" in user: | |
589 | raise error.Abort(_("username %s contains a newline\n") |
|
589 | raise error.Abort(_("username %s contains a newline\n") |
@@ -291,7 +291,7 b' Modify end of plain file with username u' | |||||
291 | $ unset HGUSER |
|
291 | $ unset HGUSER | |
292 | $ hg commit -i --config ui.username= -d '8 0' -m end plain |
|
292 | $ hg commit -i --config ui.username= -d '8 0' -m end plain | |
293 | abort: no username supplied |
|
293 | abort: no username supplied | |
294 |
(use |
|
294 | (use 'hg config --edit' to set your username) | |
295 | [255] |
|
295 | [255] | |
296 |
|
296 | |||
297 |
|
297 |
@@ -50,7 +50,7 b'' | |||||
50 | $ echo "username = " >> .hg/hgrc |
|
50 | $ echo "username = " >> .hg/hgrc | |
51 | $ hg commit -m commit-1 |
|
51 | $ hg commit -m commit-1 | |
52 | abort: no username supplied |
|
52 | abort: no username supplied | |
53 |
(use |
|
53 | (use 'hg config --edit' to set your username) | |
54 | [255] |
|
54 | [255] | |
55 |
|
55 | |||
56 | # test alternate config var |
|
56 | # test alternate config var |
General Comments 0
You need to be logged in to leave comments.
Login now