--- a/mercurial/ui.py Sat Nov 07 22:12:50 2009 +0100
+++ b/mercurial/ui.py Sat Nov 07 22:13:09 2009 +0100
@@ -186,7 +186,7 @@
except KeyError:
pass
if not user:
- raise util.Abort(_("Please specify a username."))
+ raise util.Abort(_('no username supplied (see "hg help config")'))
if "\n" in user:
raise util.Abort(_("username %s contains a newline\n") % repr(user))
return user
--- a/tests/test-committer.out Sat Nov 07 22:12:50 2009 +0100
+++ b/tests/test-committer.out Sat Nov 07 22:13:09 2009 +0100
@@ -22,7 +22,7 @@
date: Mon Jan 12 13:46:40 1970 +0000
summary: commit-1
-abort: Please specify a username.
+abort: no username supplied (see "hg help config")
No username found, using user@host instead
transaction abort!
rollback completed
--- a/tests/test-install.out Sat Nov 07 22:12:50 2009 +0100
+++ b/tests/test-install.out Sat Nov 07 22:13:09 2009 +0100
@@ -13,6 +13,6 @@
Checking patch...
Checking commit editor...
Checking username...
- Please specify a username.
+ no username supplied (see "hg help config")
(specify a username in your .hgrc file)
1 problems detected, please check your install!