ui: lowercase "not trusting file" warning message
authorMartin Geisler <mg@aragost.com>
Tue, 12 Jun 2012 14:18:18 +0200
changeset 16939 fa91ddfc3f36
parent 16938 ba9bfdc6bfb2
child 16940 6409a5c75125
ui: lowercase "not trusting file" warning message
mercurial/ui.py
tests/test-trusted.py.out
--- a/mercurial/ui.py	Tue Jun 12 14:18:18 2012 +0200
+++ b/mercurial/ui.py	Tue Jun 12 14:18:18 2012 +0200
@@ -64,7 +64,7 @@
             return True
 
         if self._reportuntrusted:
-            self.warn(_('Not trusting file %s from untrusted '
+            self.warn(_('not trusting file %s from untrusted '
                         'user %s, group %s\n') % (f, user, group))
         return False
 
--- a/tests/test-trusted.py.out	Tue Jun 12 14:18:18 2012 +0200
+++ b/tests/test-trusted.py.out	Tue Jun 12 14:18:18 2012 +0200
@@ -15,7 +15,7 @@
 . . local = /another/path
 
 # different user, same group
-Not trusting file .hg/hgrc from untrusted user abc, group bar
+not trusting file .hg/hgrc from untrusted user abc, group bar
 trusted
     global = /some/path
 untrusted
@@ -31,7 +31,7 @@
 . . local = /another/path
 
 # different user, different group
-Not trusting file .hg/hgrc from untrusted user abc, group def
+not trusting file .hg/hgrc from untrusted user abc, group def
 trusted
     global = /some/path
 untrusted
@@ -91,7 +91,7 @@
 
 # we don't get confused by users and groups with the same name
 # different user, different group
-Not trusting file .hg/hgrc from untrusted user abc, group def
+not trusting file .hg/hgrc from untrusted user abc, group def
 trusted
     global = /some/path
 untrusted
@@ -118,7 +118,7 @@
 
 # Can't figure out the name of the user running this process
 # different user, different group
-Not trusting file .hg/hgrc from untrusted user abc, group def
+not trusting file .hg/hgrc from untrusted user abc, group def
 trusted
     global = /some/path
 untrusted
@@ -127,7 +127,7 @@
 
 # prints debug warnings
 # different user, different group
-Not trusting file .hg/hgrc from untrusted user abc, group def
+not trusting file .hg/hgrc from untrusted user abc, group def
 trusted
 ignoring untrusted configuration option paths.local = /another/path
     global = /some/path
@@ -146,7 +146,7 @@
 
 # report_untrusted enabled with debug shows warnings
 # different user, different group
-Not trusting file .hg/hgrc from untrusted user abc, group def
+not trusting file .hg/hgrc from untrusted user abc, group def
 trusted
 ignoring untrusted configuration option paths.local = /another/path
     global = /some/path
@@ -159,7 +159,7 @@
 quux
 
 # read trusted, untrusted, new ui, trusted
-Not trusting file foobar from untrusted user abc, group def
+not trusting file foobar from untrusted user abc, group def
 trusted:
 ignoring untrusted configuration option foobar.baz = quux
 None
@@ -173,7 +173,7 @@
 
 # parse error
 # different user, different group
-Not trusting file .hg/hgrc from untrusted user abc, group def
+not trusting file .hg/hgrc from untrusted user abc, group def
 ('foo', '.hg/hgrc:1')
 # same user, same group
 ('foo', '.hg/hgrc:1')