Show More
@@ -451,7 +451,7 b' class ui(object):' | |||
|
451 | 451 | if not user: |
|
452 | 452 | raise util.Abort(_('no username supplied'), |
|
453 | 453 | hint=_('use "hg config --edit" ' |
|
454 |
' |
|
|
454 | 'to set your username')) | |
|
455 | 455 | if "\n" in user: |
|
456 | 456 | raise util.Abort(_("username %s contains a newline\n") % repr(user)) |
|
457 | 457 | return user |
@@ -50,7 +50,7 b'' | |||
|
50 | 50 | $ echo "username = " >> .hg/hgrc |
|
51 | 51 | $ hg commit -m commit-1 |
|
52 | 52 | abort: no username supplied |
|
53 |
(use "hg config --edit" |
|
|
53 | (use "hg config --edit" to set your username) | |
|
54 | 54 | [255] |
|
55 | 55 | $ rm .hg/hgrc |
|
56 | 56 | $ hg commit -m commit-1 2>&1 |
@@ -252,7 +252,7 b' Modify end of plain file with username u' | |||
|
252 | 252 | $ unset HGUSER |
|
253 | 253 | $ hg record --config ui.username= -d '8 0' -m end plain |
|
254 | 254 | abort: no username supplied |
|
255 |
(use "hg config --edit" |
|
|
255 | (use "hg config --edit" to set your username) | |
|
256 | 256 | [255] |
|
257 | 257 | |
|
258 | 258 |
General Comments 0
You need to be logged in to leave comments.
Login now