tests/test-acl.out
changeset 4960 5c5d23d93447
parent 4517 5371a213b0f4
equal deleted inserted replaced
4959:97b734fb9c6f 4960:5c5d23d93447
   127 calling hook pretxnchangegroup.acl: hgext.acl.hook
   127 calling hook pretxnchangegroup.acl: hgext.acl.hook
   128 acl: acl.allow enabled, 0 entries for user fred
   128 acl: acl.allow enabled, 0 entries for user fred
   129 acl: acl.deny not enabled
   129 acl: acl.deny not enabled
   130 acl: user fred not allowed on foo/file.txt
   130 acl: user fred not allowed on foo/file.txt
   131 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
   131 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
       
   132 transaction abort!
       
   133 rollback completed
   132 abort: acl: access denied for changeset ef1ea85a6374
   134 abort: acl: access denied for changeset ef1ea85a6374
   133 transaction abort!
       
   134 rollback completed
       
   135 no rollback information available
   135 no rollback information available
   136 0:6675d58eff77
   136 0:6675d58eff77
   137 
   137 
   138 fred is allowed inside foo/
   138 fred is allowed inside foo/
   139 Pushing as user fred
   139 Pushing as user fred
   168 acl: acl.deny not enabled
   168 acl: acl.deny not enabled
   169 acl: allowing changeset ef1ea85a6374
   169 acl: allowing changeset ef1ea85a6374
   170 acl: allowing changeset f9cafe1212c8
   170 acl: allowing changeset f9cafe1212c8
   171 acl: user fred not allowed on quux/file.py
   171 acl: user fred not allowed on quux/file.py
   172 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
   172 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
       
   173 transaction abort!
       
   174 rollback completed
   173 abort: acl: access denied for changeset 911600dab2ae
   175 abort: acl: access denied for changeset 911600dab2ae
   174 transaction abort!
       
   175 rollback completed
       
   176 no rollback information available
   176 no rollback information available
   177 0:6675d58eff77
   177 0:6675d58eff77
   178 
   178 
   179 Empty [acl.deny]
   179 Empty [acl.deny]
   180 Pushing as user barney
   180 Pushing as user barney
   208 calling hook pretxnchangegroup.acl: hgext.acl.hook
   208 calling hook pretxnchangegroup.acl: hgext.acl.hook
   209 acl: acl.allow enabled, 0 entries for user barney
   209 acl: acl.allow enabled, 0 entries for user barney
   210 acl: acl.deny enabled, 0 entries for user barney
   210 acl: acl.deny enabled, 0 entries for user barney
   211 acl: user barney not allowed on foo/file.txt
   211 acl: user barney not allowed on foo/file.txt
   212 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
   212 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
       
   213 transaction abort!
       
   214 rollback completed
   213 abort: acl: access denied for changeset ef1ea85a6374
   215 abort: acl: access denied for changeset ef1ea85a6374
   214 transaction abort!
       
   215 rollback completed
       
   216 no rollback information available
   216 no rollback information available
   217 0:6675d58eff77
   217 0:6675d58eff77
   218 
   218 
   219 fred is allowed inside foo/, but not foo/bar/ (case matters)
   219 fred is allowed inside foo/, but not foo/bar/ (case matters)
   220 Pushing as user fred
   220 Pushing as user fred
   251 acl: acl.deny enabled, 1 entries for user fred
   251 acl: acl.deny enabled, 1 entries for user fred
   252 acl: allowing changeset ef1ea85a6374
   252 acl: allowing changeset ef1ea85a6374
   253 acl: allowing changeset f9cafe1212c8
   253 acl: allowing changeset f9cafe1212c8
   254 acl: user fred not allowed on quux/file.py
   254 acl: user fred not allowed on quux/file.py
   255 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
   255 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
       
   256 transaction abort!
       
   257 rollback completed
   256 abort: acl: access denied for changeset 911600dab2ae
   258 abort: acl: access denied for changeset 911600dab2ae
   257 transaction abort!
       
   258 rollback completed
       
   259 no rollback information available
   259 no rollback information available
   260 0:6675d58eff77
   260 0:6675d58eff77
   261 
   261 
   262 fred is allowed inside foo/, but not foo/Bar/
   262 fred is allowed inside foo/, but not foo/Bar/
   263 Pushing as user fred
   263 Pushing as user fred
   294 acl: acl.allow enabled, 1 entries for user fred
   294 acl: acl.allow enabled, 1 entries for user fred
   295 acl: acl.deny enabled, 2 entries for user fred
   295 acl: acl.deny enabled, 2 entries for user fred
   296 acl: allowing changeset ef1ea85a6374
   296 acl: allowing changeset ef1ea85a6374
   297 acl: user fred denied on foo/Bar/file.txt
   297 acl: user fred denied on foo/Bar/file.txt
   298 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
   298 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
       
   299 transaction abort!
       
   300 rollback completed
   299 abort: acl: access denied for changeset f9cafe1212c8
   301 abort: acl: access denied for changeset f9cafe1212c8
   300 transaction abort!
       
   301 rollback completed
       
   302 no rollback information available
   302 no rollback information available
   303 0:6675d58eff77
   303 0:6675d58eff77
   304 
   304 
   305 barney is not mentioned => not allowed anywhere
   305 barney is not mentioned => not allowed anywhere
   306 Pushing as user barney
   306 Pushing as user barney
   336 calling hook pretxnchangegroup.acl: hgext.acl.hook
   336 calling hook pretxnchangegroup.acl: hgext.acl.hook
   337 acl: acl.allow enabled, 0 entries for user barney
   337 acl: acl.allow enabled, 0 entries for user barney
   338 acl: acl.deny enabled, 0 entries for user barney
   338 acl: acl.deny enabled, 0 entries for user barney
   339 acl: user barney not allowed on foo/file.txt
   339 acl: user barney not allowed on foo/file.txt
   340 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
   340 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
       
   341 transaction abort!
       
   342 rollback completed
   341 abort: acl: access denied for changeset ef1ea85a6374
   343 abort: acl: access denied for changeset ef1ea85a6374
   342 transaction abort!
       
   343 rollback completed
       
   344 no rollback information available
   344 no rollback information available
   345 0:6675d58eff77
   345 0:6675d58eff77
   346 
   346 
   347 barney is allowed everywhere
   347 barney is allowed everywhere
   348 Pushing as user barney
   348 Pushing as user barney
   425 acl: acl.deny enabled, 0 entries for user wilma
   425 acl: acl.deny enabled, 0 entries for user wilma
   426 acl: allowing changeset ef1ea85a6374
   426 acl: allowing changeset ef1ea85a6374
   427 acl: allowing changeset f9cafe1212c8
   427 acl: allowing changeset f9cafe1212c8
   428 acl: user wilma not allowed on quux/file.py
   428 acl: user wilma not allowed on quux/file.py
   429 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
   429 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
       
   430 transaction abort!
       
   431 rollback completed
   430 abort: acl: access denied for changeset 911600dab2ae
   432 abort: acl: access denied for changeset 911600dab2ae
   431 transaction abort!
       
   432 rollback completed
       
   433 no rollback information available
   433 no rollback information available
   434 0:6675d58eff77
   434 0:6675d58eff77
   435 
   435 
   436 file specified by acl.config does not exist
   436 file specified by acl.config does not exist
   437 Pushing as user barney
   437 Pushing as user barney
   469 adding foo/file.txt revisions
   469 adding foo/file.txt revisions
   470 adding quux/file.py revisions
   470 adding quux/file.py revisions
   471 added 3 changesets with 3 changes to 3 files
   471 added 3 changesets with 3 changes to 3 files
   472 calling hook pretxnchangegroup.acl: hgext.acl.hook
   472 calling hook pretxnchangegroup.acl: hgext.acl.hook
   473 error: pretxnchangegroup.acl hook failed: unable to open ../acl.config: No such file or directory
   473 error: pretxnchangegroup.acl hook failed: unable to open ../acl.config: No such file or directory
       
   474 transaction abort!
       
   475 rollback completed
   474 abort: unable to open ../acl.config: No such file or directory
   476 abort: unable to open ../acl.config: No such file or directory
   475 transaction abort!
       
   476 rollback completed
       
   477 no rollback information available
   477 no rollback information available
   478 0:6675d58eff77
   478 0:6675d58eff77
   479 
   479 
   480 betty is allowed inside foo/ by a acl.config file
   480 betty is allowed inside foo/ by a acl.config file
   481 Pushing as user betty
   481 Pushing as user betty
   522 acl: acl.deny enabled, 0 entries for user betty
   522 acl: acl.deny enabled, 0 entries for user betty
   523 acl: allowing changeset ef1ea85a6374
   523 acl: allowing changeset ef1ea85a6374
   524 acl: allowing changeset f9cafe1212c8
   524 acl: allowing changeset f9cafe1212c8
   525 acl: user betty not allowed on quux/file.py
   525 acl: user betty not allowed on quux/file.py
   526 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
   526 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
       
   527 transaction abort!
       
   528 rollback completed
   527 abort: acl: access denied for changeset 911600dab2ae
   529 abort: acl: access denied for changeset 911600dab2ae
   528 transaction abort!
       
   529 rollback completed
       
   530 no rollback information available
   530 no rollback information available
   531 0:6675d58eff77
   531 0:6675d58eff77
   532 
   532 
   533 acl.config can set only [acl.allow]/[acl.deny]
   533 acl.config can set only [acl.allow]/[acl.deny]
   534 Pushing as user barney
   534 Pushing as user barney