ui: lowercase "no username" warning

This commit is contained in:
Martin Geisler 2012-06-12 14:18:18 +02:00
parent 85338c4193
commit 2fb6d24292
2 changed files with 2 additions and 2 deletions

View File

@ -409,7 +409,7 @@ class ui(object):
if user is None and not self.interactive():
try:
user = '%s@%s' % (util.getuser(), socket.getfqdn())
self.warn(_("No username found, using '%s' instead\n") % user)
self.warn(_("no username found, using '%s' instead\n") % user)
except KeyError:
pass
if not user:

View File

@ -53,7 +53,7 @@
[255]
$ rm .hg/hgrc
$ hg commit -m commit-1 2>&1
No username found, using '[^']*' instead (re)
no username found, using '[^']*' instead (re)
$ echo space > asdf
$ hg commit -u ' ' -m commit-1