##// 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 if user is None and not self.interactive():
409 if user is None and not self.interactive():
410 try:
410 try:
411 user = '%s@%s' % (util.getuser(), socket.getfqdn())
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 except KeyError:
413 except KeyError:
414 pass
414 pass
415 if not user:
415 if not user:
@@ -53,7 +53,7 b''
53 [255]
53 [255]
54 $ rm .hg/hgrc
54 $ rm .hg/hgrc
55 $ hg commit -m commit-1 2>&1
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 $ echo space > asdf
58 $ echo space > asdf
59 $ hg commit -u ' ' -m commit-1
59 $ hg commit -u ' ' -m commit-1
General Comments 0
You need to be logged in to leave comments. Login now