comparison tests/test-trusted.py.out @ 16939:fa91ddfc3f36

ui: lowercase "not trusting file" warning message
author Martin Geisler <mg@aragost.com>
date Tue, 12 Jun 2012 14:18:18 +0200
parents 95b0d4c1c9e1
children c4040a35b5d9
comparison
equal deleted inserted replaced
16938:ba9bfdc6bfb2 16939:fa91ddfc3f36
13 untrusted 13 untrusted
14 . . global = /some/path 14 . . global = /some/path
15 . . local = /another/path 15 . . local = /another/path
16 16
17 # different user, same group 17 # different user, same group
18 Not trusting file .hg/hgrc from untrusted user abc, group bar 18 not trusting file .hg/hgrc from untrusted user abc, group bar
19 trusted 19 trusted
20 global = /some/path 20 global = /some/path
21 untrusted 21 untrusted
22 . . global = /some/path 22 . . global = /some/path
23 . . local = /another/path 23 . . local = /another/path
29 untrusted 29 untrusted
30 . . global = /some/path 30 . . global = /some/path
31 . . local = /another/path 31 . . local = /another/path
32 32
33 # different user, different group 33 # different user, different group
34 Not trusting file .hg/hgrc from untrusted user abc, group def 34 not trusting file .hg/hgrc from untrusted user abc, group def
35 trusted 35 trusted
36 global = /some/path 36 global = /some/path
37 untrusted 37 untrusted
38 . . global = /some/path 38 . . global = /some/path
39 . . local = /another/path 39 . . local = /another/path
89 . . global = /some/path 89 . . global = /some/path
90 . . local = /another/path 90 . . local = /another/path
91 91
92 # we don't get confused by users and groups with the same name 92 # we don't get confused by users and groups with the same name
93 # different user, different group 93 # different user, different group
94 Not trusting file .hg/hgrc from untrusted user abc, group def 94 not trusting file .hg/hgrc from untrusted user abc, group def
95 trusted 95 trusted
96 global = /some/path 96 global = /some/path
97 untrusted 97 untrusted
98 . . global = /some/path 98 . . global = /some/path
99 . . local = /another/path 99 . . local = /another/path
116 . . global = /some/path 116 . . global = /some/path
117 . . local = /another/path 117 . . local = /another/path
118 118
119 # Can't figure out the name of the user running this process 119 # Can't figure out the name of the user running this process
120 # different user, different group 120 # different user, different group
121 Not trusting file .hg/hgrc from untrusted user abc, group def 121 not trusting file .hg/hgrc from untrusted user abc, group def
122 trusted 122 trusted
123 global = /some/path 123 global = /some/path
124 untrusted 124 untrusted
125 . . global = /some/path 125 . . global = /some/path
126 . . local = /another/path 126 . . local = /another/path
127 127
128 # prints debug warnings 128 # prints debug warnings
129 # different user, different group 129 # different user, different group
130 Not trusting file .hg/hgrc from untrusted user abc, group def 130 not trusting file .hg/hgrc from untrusted user abc, group def
131 trusted 131 trusted
132 ignoring untrusted configuration option paths.local = /another/path 132 ignoring untrusted configuration option paths.local = /another/path
133 global = /some/path 133 global = /some/path
134 untrusted 134 untrusted
135 . . global = /some/path 135 . . global = /some/path
144 . . global = /some/path 144 . . global = /some/path
145 . . local = /another/path 145 . . local = /another/path
146 146
147 # report_untrusted enabled with debug shows warnings 147 # report_untrusted enabled with debug shows warnings
148 # different user, different group 148 # different user, different group
149 Not trusting file .hg/hgrc from untrusted user abc, group def 149 not trusting file .hg/hgrc from untrusted user abc, group def
150 trusted 150 trusted
151 ignoring untrusted configuration option paths.local = /another/path 151 ignoring untrusted configuration option paths.local = /another/path
152 global = /some/path 152 global = /some/path
153 untrusted 153 untrusted
154 . . global = /some/path 154 . . global = /some/path
157 157
158 # ui.readconfig sections 158 # ui.readconfig sections
159 quux 159 quux
160 160
161 # read trusted, untrusted, new ui, trusted 161 # read trusted, untrusted, new ui, trusted
162 Not trusting file foobar from untrusted user abc, group def 162 not trusting file foobar from untrusted user abc, group def
163 trusted: 163 trusted:
164 ignoring untrusted configuration option foobar.baz = quux 164 ignoring untrusted configuration option foobar.baz = quux
165 None 165 None
166 untrusted: 166 untrusted:
167 quux 167 quux
171 # same user, same group 171 # same user, same group
172 # different user, different group 172 # different user, different group
173 173
174 # parse error 174 # parse error
175 # different user, different group 175 # different user, different group
176 Not trusting file .hg/hgrc from untrusted user abc, group def 176 not trusting file .hg/hgrc from untrusted user abc, group def
177 ('foo', '.hg/hgrc:1') 177 ('foo', '.hg/hgrc:1')
178 # same user, same group 178 # same user, same group
179 ('foo', '.hg/hgrc:1') 179 ('foo', '.hg/hgrc:1')