ui: lowercase "no username" warning
authorMartin Geisler <mg@aragost.com>
Tue, 12 Jun 2012 14:18:18 +0200
changeset 16940 6409a5c75125
parent 16939 fa91ddfc3f36
child 16941 a1eb17bed550
ui: lowercase "no username" warning
mercurial/ui.py
tests/test-committer.t
--- a/mercurial/ui.py	Tue Jun 12 14:18:18 2012 +0200
+++ b/mercurial/ui.py	Tue Jun 12 14:18:18 2012 +0200
@@ -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:
--- a/tests/test-committer.t	Tue Jun 12 14:18:18 2012 +0200
+++ b/tests/test-committer.t	Tue Jun 12 14:18:18 2012 +0200
@@ -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