comparison tests/test-acl.t @ 46663:a4c19a162615

sshpeer: enable+fix warning about sshpeers not being closed explicitly I recommend looking at this with a diff that ignores indentation. The test changes are because localrepo.close() updates some cache, which appears happens earlier now on rollbacks or strips or something. The http changes are because httppeer.close() prints stats with --verbose. Differential Revision: https://phab.mercurial-scm.org/D9999
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Mon, 15 Feb 2021 14:48:36 -0500
parents 7015b0232c5e
children 5d9725182d8d
comparison
equal deleted inserted replaced
46662:db8037e38085 46663:a4c19a162615
359 bundle2-input-part: total payload size 1553 359 bundle2-input-part: total payload size 1553
360 bundle2-input-part: total payload size 24 360 bundle2-input-part: total payload size 24
361 bundle2-input-bundle: 5 parts total 361 bundle2-input-bundle: 5 parts total
362 transaction abort! 362 transaction abort!
363 rollback completed 363 rollback completed
364 truncating cache/rbc-revs-v1 to 8
364 abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") 365 abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
365 no rollback information available 366 no rollback information available
366 0:6675d58eff77 367 0:6675d58eff77
367 368
368 369
806 acl: checking access for user "fred" 807 acl: checking access for user "fred"
807 acl: acl.allow.bookmarks not enabled 808 acl: acl.allow.bookmarks not enabled
808 acl: acl.deny.bookmarks not enabled 809 acl: acl.deny.bookmarks not enabled
809 acl: bookmark access granted: "ef1ea85a6374b77d6da9dcda9541f498f2d17df7" on bookmark "moving-bookmark" 810 acl: bookmark access granted: "ef1ea85a6374b77d6da9dcda9541f498f2d17df7" on bookmark "moving-bookmark"
810 bundle2-input-bundle: 7 parts total 811 bundle2-input-bundle: 7 parts total
811 truncating cache/rbc-revs-v1 to 8
812 updating the branch cache 812 updating the branch cache
813 invalid branch cache (served.hidden): tip differs 813 invalid branch cache (served.hidden): tip differs
814 added 1 changesets with 1 changes to 1 files 814 added 1 changesets with 1 changes to 1 files
815 bundle2-output-bundle: "HG20", 1 parts total 815 bundle2-output-bundle: "HG20", 1 parts total
816 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 816 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
898 acl: acl.deny.bookmarks enabled, 1 entries for user fred 898 acl: acl.deny.bookmarks enabled, 1 entries for user fred
899 error: prepushkey.acl hook failed: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7") 899 error: prepushkey.acl hook failed: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7")
900 bundle2-input-bundle: 7 parts total 900 bundle2-input-bundle: 7 parts total
901 transaction abort! 901 transaction abort!
902 rollback completed 902 rollback completed
903 truncating cache/rbc-revs-v1 to 8
903 abort: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7") 904 abort: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7")
904 no rollback information available 905 no rollback information available
905 0:6675d58eff77 906 0:6675d58eff77
906 907
907 908
983 acl: path access granted: "911600dab2ae" 984 acl: path access granted: "911600dab2ae"
984 bundle2-input-part: total payload size 1553 985 bundle2-input-part: total payload size 1553
985 bundle2-input-part: "phase-heads" supported 986 bundle2-input-part: "phase-heads" supported
986 bundle2-input-part: total payload size 24 987 bundle2-input-part: total payload size 24
987 bundle2-input-bundle: 5 parts total 988 bundle2-input-bundle: 5 parts total
988 truncating cache/rbc-revs-v1 to 8
989 updating the branch cache 989 updating the branch cache
990 added 3 changesets with 3 changes to 3 files 990 added 3 changesets with 3 changes to 3 files
991 bundle2-output-bundle: "HG20", 1 parts total 991 bundle2-output-bundle: "HG20", 1 parts total
992 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 992 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
993 bundle2-input-bundle: no-transaction 993 bundle2-input-bundle: no-transaction
1071 bundle2-input-part: total payload size 1553 1071 bundle2-input-part: total payload size 1553
1072 bundle2-input-part: total payload size 24 1072 bundle2-input-part: total payload size 24
1073 bundle2-input-bundle: 5 parts total 1073 bundle2-input-bundle: 5 parts total
1074 transaction abort! 1074 transaction abort!
1075 rollback completed 1075 rollback completed
1076 truncating cache/rbc-revs-v1 to 8
1076 abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae") 1077 abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
1077 no rollback information available 1078 no rollback information available
1078 0:6675d58eff77 1079 0:6675d58eff77
1079 1080
1080 1081
1320 acl: path access granted: "911600dab2ae" 1321 acl: path access granted: "911600dab2ae"
1321 bundle2-input-part: total payload size 1553 1322 bundle2-input-part: total payload size 1553
1322 bundle2-input-part: "phase-heads" supported 1323 bundle2-input-part: "phase-heads" supported
1323 bundle2-input-part: total payload size 24 1324 bundle2-input-part: total payload size 24
1324 bundle2-input-bundle: 5 parts total 1325 bundle2-input-bundle: 5 parts total
1325 truncating cache/rbc-revs-v1 to 8
1326 updating the branch cache 1326 updating the branch cache
1327 added 3 changesets with 3 changes to 3 files 1327 added 3 changesets with 3 changes to 3 files
1328 bundle2-output-bundle: "HG20", 1 parts total 1328 bundle2-output-bundle: "HG20", 1 parts total
1329 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1329 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1330 bundle2-input-bundle: no-transaction 1330 bundle2-input-bundle: no-transaction
1497 bundle2-input-part: total payload size 1553 1497 bundle2-input-part: total payload size 1553
1498 bundle2-input-part: total payload size 24 1498 bundle2-input-part: total payload size 24
1499 bundle2-input-bundle: 5 parts total 1499 bundle2-input-bundle: 5 parts total
1500 transaction abort! 1500 transaction abort!
1501 rollback completed 1501 rollback completed
1502 truncating cache/rbc-revs-v1 to 8
1502 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") 1503 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1503 no rollback information available 1504 no rollback information available
1504 0:6675d58eff77 1505 0:6675d58eff77
1505 1506
1506 1507
1581 acl: path access granted: "911600dab2ae" 1582 acl: path access granted: "911600dab2ae"
1582 bundle2-input-part: total payload size 1553 1583 bundle2-input-part: total payload size 1553
1583 bundle2-input-part: "phase-heads" supported 1584 bundle2-input-part: "phase-heads" supported
1584 bundle2-input-part: total payload size 24 1585 bundle2-input-part: total payload size 24
1585 bundle2-input-bundle: 5 parts total 1586 bundle2-input-bundle: 5 parts total
1586 truncating cache/rbc-revs-v1 to 8
1587 updating the branch cache 1587 updating the branch cache
1588 added 3 changesets with 3 changes to 3 files 1588 added 3 changesets with 3 changes to 3 files
1589 bundle2-output-bundle: "HG20", 1 parts total 1589 bundle2-output-bundle: "HG20", 1 parts total
1590 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1590 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1591 bundle2-input-bundle: no-transaction 1591 bundle2-input-bundle: no-transaction
1669 bundle2-input-part: total payload size 1553 1669 bundle2-input-part: total payload size 1553
1670 bundle2-input-part: total payload size 24 1670 bundle2-input-part: total payload size 24
1671 bundle2-input-bundle: 5 parts total 1671 bundle2-input-bundle: 5 parts total
1672 transaction abort! 1672 transaction abort!
1673 rollback completed 1673 rollback completed
1674 truncating cache/rbc-revs-v1 to 8
1674 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") 1675 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1675 no rollback information available 1676 no rollback information available
1676 0:6675d58eff77 1677 0:6675d58eff77
1677 1678
1678 1679