# HG changeset patch # User Matt Mackall # Date 1393535677 21600 # Node ID b75a23eec9c9f9c2dc0cff67cf7c261344a2db7f # Parent 625533523c9ec4b758cac93100e190623f5c6345 ui: fix extra space in username abort diff -r 625533523c9e -r b75a23eec9c9 mercurial/ui.py --- a/mercurial/ui.py Thu Feb 27 14:58:44 2014 -0600 +++ b/mercurial/ui.py Thu Feb 27 15:14:37 2014 -0600 @@ -451,7 +451,7 @@ if not user: raise util.Abort(_('no username supplied'), hint=_('use "hg config --edit" ' - ' to set your username')) + 'to set your username')) if "\n" in user: raise util.Abort(_("username %s contains a newline\n") % repr(user)) return user diff -r 625533523c9e -r b75a23eec9c9 tests/test-committer.t --- a/tests/test-committer.t Thu Feb 27 14:58:44 2014 -0600 +++ b/tests/test-committer.t Thu Feb 27 15:14:37 2014 -0600 @@ -50,7 +50,7 @@ $ echo "username = " >> .hg/hgrc $ hg commit -m commit-1 abort: no username supplied - (use "hg config --edit" to set your username) + (use "hg config --edit" to set your username) [255] $ rm .hg/hgrc $ hg commit -m commit-1 2>&1 diff -r 625533523c9e -r b75a23eec9c9 tests/test-record.t --- a/tests/test-record.t Thu Feb 27 14:58:44 2014 -0600 +++ b/tests/test-record.t Thu Feb 27 15:14:37 2014 -0600 @@ -252,7 +252,7 @@ $ unset HGUSER $ hg record --config ui.username= -d '8 0' -m end plain abort: no username supplied - (use "hg config --edit" to set your username) + (use "hg config --edit" to set your username) [255]