Skip to content
Snippets Groups Projects
Commit 6409a5c7 authored by Martin Geisler's avatar Martin Geisler
Browse files

ui: lowercase "no username" warning

parent fa91ddfc
No related branches found
No related tags found
No related merge requests found
......@@ -409,7 +409,7 @@
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:
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment