mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
ui: lowercase "no username" warning
This commit is contained in:
parent
85338c4193
commit
2fb6d24292
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user