##// END OF EJS Templates
ui: lowercase "no username" warning
Martin Geisler -
r16940:6409a5c7 default
parent child Browse files
Show More
@@ -409,7 +409,7 b' class ui(object):'
409 409 if user is None and not self.interactive():
410 410 try:
411 411 user = '%s@%s' % (util.getuser(), socket.getfqdn())
412 self.warn(_("No username found, using '%s' instead\n") % user)
412 self.warn(_("no username found, using '%s' instead\n") % user)
413 413 except KeyError:
414 414 pass
415 415 if not user:
@@ -53,7 +53,7 b''
53 53 [255]
54 54 $ rm .hg/hgrc
55 55 $ hg commit -m commit-1 2>&1
56 No username found, using '[^']*' instead (re)
56 no username found, using '[^']*' instead (re)
57 57
58 58 $ echo space > asdf
59 59 $ hg commit -u ' ' -m commit-1
General Comments 0
You need to be logged in to leave comments. Login now