|
1 adding foo/Bar/file.txt |
|
2 adding foo/file.txt |
|
3 adding quux/file.py |
|
4 3:911600dab2ae |
|
5 requesting all changes |
|
6 adding changesets |
|
7 adding manifests |
|
8 adding file changes |
|
9 added 1 changesets with 3 changes to 3 files |
|
10 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
11 |
|
12 Extension disabled for lack of a hook |
|
13 Pushing as user fred |
|
14 hgrc = """ |
|
15 """ |
|
16 pushing to ../b |
|
17 searching for changes |
|
18 common changesets up to 6675d58eff77 |
|
19 adding changesets |
|
20 add changeset ef1ea85a6374 |
|
21 add changeset f9cafe1212c8 |
|
22 add changeset 911600dab2ae |
|
23 adding manifests |
|
24 adding file changes |
|
25 adding foo/Bar/file.txt revisions |
|
26 adding foo/file.txt revisions |
|
27 adding quux/file.py revisions |
|
28 added 3 changesets with 3 changes to 3 files |
|
29 rolling back last transaction |
|
30 0:6675d58eff77 |
|
31 |
|
32 Extension disabled for lack of acl.sources |
|
33 Pushing as user fred |
|
34 hgrc = """ |
|
35 [hooks] |
|
36 pretxnchangegroup.acl = python:hgext.acl.hook |
|
37 """ |
|
38 pushing to ../b |
|
39 searching for changes |
|
40 common changesets up to 6675d58eff77 |
|
41 adding changesets |
|
42 add changeset ef1ea85a6374 |
|
43 add changeset f9cafe1212c8 |
|
44 add changeset 911600dab2ae |
|
45 adding manifests |
|
46 adding file changes |
|
47 adding foo/Bar/file.txt revisions |
|
48 adding foo/file.txt revisions |
|
49 adding quux/file.py revisions |
|
50 added 3 changesets with 3 changes to 3 files |
|
51 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
52 acl: acl.allow not enabled |
|
53 acl: acl.deny not enabled |
|
54 acl: changes have source "push" - skipping |
|
55 rolling back last transaction |
|
56 0:6675d58eff77 |
|
57 |
|
58 No [acl.allow]/[acl.deny] |
|
59 Pushing as user fred |
|
60 hgrc = """ |
|
61 [hooks] |
|
62 pretxnchangegroup.acl = python:hgext.acl.hook |
|
63 [acl] |
|
64 sources = push |
|
65 """ |
|
66 pushing to ../b |
|
67 searching for changes |
|
68 common changesets up to 6675d58eff77 |
|
69 adding changesets |
|
70 add changeset ef1ea85a6374 |
|
71 add changeset f9cafe1212c8 |
|
72 add changeset 911600dab2ae |
|
73 adding manifests |
|
74 adding file changes |
|
75 adding foo/Bar/file.txt revisions |
|
76 adding foo/file.txt revisions |
|
77 adding quux/file.py revisions |
|
78 added 3 changesets with 3 changes to 3 files |
|
79 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
80 acl: acl.allow not enabled |
|
81 acl: acl.deny not enabled |
|
82 acl: allowing changeset ef1ea85a6374 |
|
83 acl: allowing changeset f9cafe1212c8 |
|
84 acl: allowing changeset 911600dab2ae |
|
85 rolling back last transaction |
|
86 0:6675d58eff77 |
|
87 |
|
88 Empty [acl.allow] |
|
89 Pushing as user fred |
|
90 hgrc = """ |
|
91 [hooks] |
|
92 pretxnchangegroup.acl = python:hgext.acl.hook |
|
93 [acl] |
|
94 sources = push |
|
95 [acl.allow] |
|
96 """ |
|
97 pushing to ../b |
|
98 searching for changes |
|
99 common changesets up to 6675d58eff77 |
|
100 adding changesets |
|
101 add changeset ef1ea85a6374 |
|
102 add changeset f9cafe1212c8 |
|
103 add changeset 911600dab2ae |
|
104 adding manifests |
|
105 adding file changes |
|
106 adding foo/Bar/file.txt revisions |
|
107 adding foo/file.txt revisions |
|
108 adding quux/file.py revisions |
|
109 added 3 changesets with 3 changes to 3 files |
|
110 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
111 acl: acl.allow enabled, 0 entries for user fred |
|
112 acl: acl.deny not enabled |
|
113 acl: user fred not allowed on foo/file.txt |
|
114 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374 |
|
115 abort: acl: access denied for changeset ef1ea85a6374 |
|
116 transaction abort! |
|
117 rollback completed |
|
118 no rollback information available |
|
119 0:6675d58eff77 |
|
120 |
|
121 fred is allowed inside foo/ |
|
122 Pushing as user fred |
|
123 hgrc = """ |
|
124 [hooks] |
|
125 pretxnchangegroup.acl = python:hgext.acl.hook |
|
126 [acl] |
|
127 sources = push |
|
128 [acl.allow] |
|
129 foo/** = fred |
|
130 """ |
|
131 pushing to ../b |
|
132 searching for changes |
|
133 common changesets up to 6675d58eff77 |
|
134 adding changesets |
|
135 add changeset ef1ea85a6374 |
|
136 add changeset f9cafe1212c8 |
|
137 add changeset 911600dab2ae |
|
138 adding manifests |
|
139 adding file changes |
|
140 adding foo/Bar/file.txt revisions |
|
141 adding foo/file.txt revisions |
|
142 adding quux/file.py revisions |
|
143 added 3 changesets with 3 changes to 3 files |
|
144 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
145 acl: acl.allow enabled, 1 entries for user fred |
|
146 acl: acl.deny not enabled |
|
147 acl: allowing changeset ef1ea85a6374 |
|
148 acl: allowing changeset f9cafe1212c8 |
|
149 acl: user fred not allowed on quux/file.py |
|
150 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae |
|
151 abort: acl: access denied for changeset 911600dab2ae |
|
152 transaction abort! |
|
153 rollback completed |
|
154 no rollback information available |
|
155 0:6675d58eff77 |
|
156 |
|
157 Empty [acl.deny] |
|
158 Pushing as user barney |
|
159 hgrc = """ |
|
160 [hooks] |
|
161 pretxnchangegroup.acl = python:hgext.acl.hook |
|
162 [acl] |
|
163 sources = push |
|
164 [acl.allow] |
|
165 foo/** = fred |
|
166 [acl.deny] |
|
167 """ |
|
168 pushing to ../b |
|
169 searching for changes |
|
170 common changesets up to 6675d58eff77 |
|
171 adding changesets |
|
172 add changeset ef1ea85a6374 |
|
173 add changeset f9cafe1212c8 |
|
174 add changeset 911600dab2ae |
|
175 adding manifests |
|
176 adding file changes |
|
177 adding foo/Bar/file.txt revisions |
|
178 adding foo/file.txt revisions |
|
179 adding quux/file.py revisions |
|
180 added 3 changesets with 3 changes to 3 files |
|
181 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
182 acl: acl.allow enabled, 0 entries for user barney |
|
183 acl: acl.deny enabled, 0 entries for user barney |
|
184 acl: user barney not allowed on foo/file.txt |
|
185 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374 |
|
186 abort: acl: access denied for changeset ef1ea85a6374 |
|
187 transaction abort! |
|
188 rollback completed |
|
189 no rollback information available |
|
190 0:6675d58eff77 |
|
191 |
|
192 fred is allowed inside foo/, but not foo/bar/ (case matters) |
|
193 Pushing as user fred |
|
194 hgrc = """ |
|
195 [hooks] |
|
196 pretxnchangegroup.acl = python:hgext.acl.hook |
|
197 [acl] |
|
198 sources = push |
|
199 [acl.allow] |
|
200 foo/** = fred |
|
201 [acl.deny] |
|
202 foo/bar/** = fred |
|
203 """ |
|
204 pushing to ../b |
|
205 searching for changes |
|
206 common changesets up to 6675d58eff77 |
|
207 adding changesets |
|
208 add changeset ef1ea85a6374 |
|
209 add changeset f9cafe1212c8 |
|
210 add changeset 911600dab2ae |
|
211 adding manifests |
|
212 adding file changes |
|
213 adding foo/Bar/file.txt revisions |
|
214 adding foo/file.txt revisions |
|
215 adding quux/file.py revisions |
|
216 added 3 changesets with 3 changes to 3 files |
|
217 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
218 acl: acl.allow enabled, 1 entries for user fred |
|
219 acl: acl.deny enabled, 1 entries for user fred |
|
220 acl: allowing changeset ef1ea85a6374 |
|
221 acl: allowing changeset f9cafe1212c8 |
|
222 acl: user fred not allowed on quux/file.py |
|
223 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae |
|
224 abort: acl: access denied for changeset 911600dab2ae |
|
225 transaction abort! |
|
226 rollback completed |
|
227 no rollback information available |
|
228 0:6675d58eff77 |
|
229 |
|
230 fred is allowed inside foo/, but not foo/Bar/ |
|
231 Pushing as user fred |
|
232 hgrc = """ |
|
233 [hooks] |
|
234 pretxnchangegroup.acl = python:hgext.acl.hook |
|
235 [acl] |
|
236 sources = push |
|
237 [acl.allow] |
|
238 foo/** = fred |
|
239 [acl.deny] |
|
240 foo/bar/** = fred |
|
241 foo/Bar/** = fred |
|
242 """ |
|
243 pushing to ../b |
|
244 searching for changes |
|
245 common changesets up to 6675d58eff77 |
|
246 adding changesets |
|
247 add changeset ef1ea85a6374 |
|
248 add changeset f9cafe1212c8 |
|
249 add changeset 911600dab2ae |
|
250 adding manifests |
|
251 adding file changes |
|
252 adding foo/Bar/file.txt revisions |
|
253 adding foo/file.txt revisions |
|
254 adding quux/file.py revisions |
|
255 added 3 changesets with 3 changes to 3 files |
|
256 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
257 acl: acl.allow enabled, 1 entries for user fred |
|
258 acl: acl.deny enabled, 2 entries for user fred |
|
259 acl: allowing changeset ef1ea85a6374 |
|
260 acl: user fred denied on foo/Bar/file.txt |
|
261 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8 |
|
262 abort: acl: access denied for changeset f9cafe1212c8 |
|
263 transaction abort! |
|
264 rollback completed |
|
265 no rollback information available |
|
266 0:6675d58eff77 |
|
267 |
|
268 barney is not mentioned => not allowed anywhere |
|
269 Pushing as user barney |
|
270 hgrc = """ |
|
271 [hooks] |
|
272 pretxnchangegroup.acl = python:hgext.acl.hook |
|
273 [acl] |
|
274 sources = push |
|
275 [acl.allow] |
|
276 foo/** = fred |
|
277 [acl.deny] |
|
278 foo/bar/** = fred |
|
279 foo/Bar/** = fred |
|
280 """ |
|
281 pushing to ../b |
|
282 searching for changes |
|
283 common changesets up to 6675d58eff77 |
|
284 adding changesets |
|
285 add changeset ef1ea85a6374 |
|
286 add changeset f9cafe1212c8 |
|
287 add changeset 911600dab2ae |
|
288 adding manifests |
|
289 adding file changes |
|
290 adding foo/Bar/file.txt revisions |
|
291 adding foo/file.txt revisions |
|
292 adding quux/file.py revisions |
|
293 added 3 changesets with 3 changes to 3 files |
|
294 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
295 acl: acl.allow enabled, 0 entries for user barney |
|
296 acl: acl.deny enabled, 0 entries for user barney |
|
297 acl: user barney not allowed on foo/file.txt |
|
298 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374 |
|
299 abort: acl: access denied for changeset ef1ea85a6374 |
|
300 transaction abort! |
|
301 rollback completed |
|
302 no rollback information available |
|
303 0:6675d58eff77 |
|
304 |
|
305 barney is allowed everywhere |
|
306 Pushing as user barney |
|
307 hgrc = """ |
|
308 [hooks] |
|
309 pretxnchangegroup.acl = python:hgext.acl.hook |
|
310 [acl] |
|
311 sources = push |
|
312 [acl.allow] |
|
313 foo/** = fred |
|
314 [acl.deny] |
|
315 foo/bar/** = fred |
|
316 foo/Bar/** = fred |
|
317 [acl.allow] |
|
318 ** = barney |
|
319 """ |
|
320 pushing to ../b |
|
321 searching for changes |
|
322 common changesets up to 6675d58eff77 |
|
323 adding changesets |
|
324 add changeset ef1ea85a6374 |
|
325 add changeset f9cafe1212c8 |
|
326 add changeset 911600dab2ae |
|
327 adding manifests |
|
328 adding file changes |
|
329 adding foo/Bar/file.txt revisions |
|
330 adding foo/file.txt revisions |
|
331 adding quux/file.py revisions |
|
332 added 3 changesets with 3 changes to 3 files |
|
333 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
334 acl: acl.allow enabled, 1 entries for user barney |
|
335 acl: acl.deny enabled, 0 entries for user barney |
|
336 acl: allowing changeset ef1ea85a6374 |
|
337 acl: allowing changeset f9cafe1212c8 |
|
338 acl: allowing changeset 911600dab2ae |
|
339 rolling back last transaction |
|
340 0:6675d58eff77 |
|
341 |
|
342 wilma can change files with a .txt extension |
|
343 Pushing as user wilma |
|
344 hgrc = """ |
|
345 [hooks] |
|
346 pretxnchangegroup.acl = python:hgext.acl.hook |
|
347 [acl] |
|
348 sources = push |
|
349 [acl.allow] |
|
350 foo/** = fred |
|
351 [acl.deny] |
|
352 foo/bar/** = fred |
|
353 foo/Bar/** = fred |
|
354 [acl.allow] |
|
355 ** = barney |
|
356 **/*.txt = wilma |
|
357 """ |
|
358 pushing to ../b |
|
359 searching for changes |
|
360 common changesets up to 6675d58eff77 |
|
361 adding changesets |
|
362 add changeset ef1ea85a6374 |
|
363 add changeset f9cafe1212c8 |
|
364 add changeset 911600dab2ae |
|
365 adding manifests |
|
366 adding file changes |
|
367 adding foo/Bar/file.txt revisions |
|
368 adding foo/file.txt revisions |
|
369 adding quux/file.py revisions |
|
370 added 3 changesets with 3 changes to 3 files |
|
371 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
372 acl: acl.allow enabled, 1 entries for user wilma |
|
373 acl: acl.deny enabled, 0 entries for user wilma |
|
374 acl: allowing changeset ef1ea85a6374 |
|
375 acl: allowing changeset f9cafe1212c8 |
|
376 acl: user wilma not allowed on quux/file.py |
|
377 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae |
|
378 abort: acl: access denied for changeset 911600dab2ae |
|
379 transaction abort! |
|
380 rollback completed |
|
381 no rollback information available |
|
382 0:6675d58eff77 |
|
383 |
|
384 file specified by acl.config does not exist |
|
385 Pushing as user barney |
|
386 hgrc = """ |
|
387 [hooks] |
|
388 pretxnchangegroup.acl = python:hgext.acl.hook |
|
389 [acl] |
|
390 sources = push |
|
391 [acl.allow] |
|
392 foo/** = fred |
|
393 [acl.deny] |
|
394 foo/bar/** = fred |
|
395 foo/Bar/** = fred |
|
396 [acl.allow] |
|
397 ** = barney |
|
398 **/*.txt = wilma |
|
399 [acl] |
|
400 config = ../acl.config |
|
401 """ |
|
402 pushing to ../b |
|
403 searching for changes |
|
404 common changesets up to 6675d58eff77 |
|
405 adding changesets |
|
406 add changeset ef1ea85a6374 |
|
407 add changeset f9cafe1212c8 |
|
408 add changeset 911600dab2ae |
|
409 adding manifests |
|
410 adding file changes |
|
411 adding foo/Bar/file.txt revisions |
|
412 adding foo/file.txt revisions |
|
413 adding quux/file.py revisions |
|
414 added 3 changesets with 3 changes to 3 files |
|
415 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
416 acl: acl.allow enabled, 1 entries for user barney |
|
417 acl: acl.deny enabled, 0 entries for user barney |
|
418 acl: allowing changeset ef1ea85a6374 |
|
419 acl: allowing changeset f9cafe1212c8 |
|
420 acl: allowing changeset 911600dab2ae |
|
421 rolling back last transaction |
|
422 0:6675d58eff77 |
|
423 |
|
424 betty is allowed inside foo/ by a acl.config file |
|
425 Pushing as user betty |
|
426 hgrc = """ |
|
427 [hooks] |
|
428 pretxnchangegroup.acl = python:hgext.acl.hook |
|
429 [acl] |
|
430 sources = push |
|
431 [acl.allow] |
|
432 foo/** = fred |
|
433 [acl.deny] |
|
434 foo/bar/** = fred |
|
435 foo/Bar/** = fred |
|
436 [acl.allow] |
|
437 ** = barney |
|
438 **/*.txt = wilma |
|
439 [acl] |
|
440 config = ../acl.config |
|
441 """ |
|
442 acl.config = """ |
|
443 [acl.allow] |
|
444 foo/** = betty |
|
445 """ |
|
446 pushing to ../b |
|
447 searching for changes |
|
448 common changesets up to 6675d58eff77 |
|
449 adding changesets |
|
450 add changeset ef1ea85a6374 |
|
451 add changeset f9cafe1212c8 |
|
452 add changeset 911600dab2ae |
|
453 adding manifests |
|
454 adding file changes |
|
455 adding foo/Bar/file.txt revisions |
|
456 adding foo/file.txt revisions |
|
457 adding quux/file.py revisions |
|
458 added 3 changesets with 3 changes to 3 files |
|
459 calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
460 acl: acl.allow enabled, 1 entries for user betty |
|
461 acl: acl.deny enabled, 0 entries for user betty |
|
462 acl: allowing changeset ef1ea85a6374 |
|
463 acl: allowing changeset f9cafe1212c8 |
|
464 acl: user betty not allowed on quux/file.py |
|
465 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae |
|
466 abort: acl: access denied for changeset 911600dab2ae |
|
467 transaction abort! |
|
468 rollback completed |
|
469 no rollback information available |
|
470 0:6675d58eff77 |
|
471 |