Mercurial > hg
comparison tests/test-acl.t @ 51905:c564be351754
rev-branch-cache: stop truncating cache file
Truncating the file prevent the safe use of mmap. So instead of overwrite the
existing data. If more than 20% of the file is to be overwritten, we rewrite the
whole file instead.
Such whole rewrite is done by replacing the old one with a new one, so mmap of
the old file would be affected.
This prepare a more aggressive use of mmap in later patches.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 24 Sep 2024 00:16:23 +0200 |
parents | 82c1a388e86a |
children | 0f26ee69cf36 |
comparison
equal
deleted
inserted
replaced
51904:7032da075572 | 51905:c564be351754 |
---|---|
200 acl: changes have source "push" - skipping | 200 acl: changes have source "push" - skipping |
201 bundle2-input-part: total payload size * (glob) | 201 bundle2-input-part: total payload size * (glob) |
202 bundle2-input-part: "phase-heads" supported | 202 bundle2-input-part: "phase-heads" supported |
203 bundle2-input-part: total payload size * (glob) | 203 bundle2-input-part: total payload size * (glob) |
204 bundle2-input-bundle: 5 parts total | 204 bundle2-input-bundle: 5 parts total |
205 truncating cache/rbc-revs-v1 to 8 | 205 resetting content of cache/rbc-revs-v1 |
206 updating the branch cache | 206 updating the branch cache |
207 added 3 changesets with 3 changes to 3 files | 207 added 3 changesets with 3 changes to 3 files |
208 bundle2-output-bundle: "HG20", 1 parts total | 208 bundle2-output-bundle: "HG20", 1 parts total |
209 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload | 209 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload |
210 bundle2-input-bundle: no-transaction | 210 bundle2-input-bundle: no-transaction |
278 acl: path access granted: "911600dab2ae" | 278 acl: path access granted: "911600dab2ae" |
279 bundle2-input-part: total payload size * (glob) | 279 bundle2-input-part: total payload size * (glob) |
280 bundle2-input-part: "phase-heads" supported | 280 bundle2-input-part: "phase-heads" supported |
281 bundle2-input-part: total payload size * (glob) | 281 bundle2-input-part: total payload size * (glob) |
282 bundle2-input-bundle: 5 parts total | 282 bundle2-input-bundle: 5 parts total |
283 truncating cache/rbc-revs-v1 to 8 | 283 resetting content of cache/rbc-revs-v1 |
284 updating the branch cache | 284 updating the branch cache |
285 added 3 changesets with 3 changes to 3 files | 285 added 3 changesets with 3 changes to 3 files |
286 bundle2-output-bundle: "HG20", 1 parts total | 286 bundle2-output-bundle: "HG20", 1 parts total |
287 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload | 287 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload |
288 bundle2-input-bundle: no-transaction | 288 bundle2-input-bundle: no-transaction |
353 bundle2-input-part: total payload size * (glob) | 353 bundle2-input-part: total payload size * (glob) |
354 bundle2-input-part: total payload size * (glob) | 354 bundle2-input-part: total payload size * (glob) |
355 bundle2-input-bundle: 5 parts total | 355 bundle2-input-bundle: 5 parts total |
356 transaction abort! | 356 transaction abort! |
357 rollback completed | 357 rollback completed |
358 truncating cache/rbc-revs-v1 to 8 | 358 resetting content of cache/rbc-revs-v1 |
359 abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") | 359 abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") |
360 no rollback information available | 360 no rollback information available |
361 0:6675d58eff77 | 361 0:6675d58eff77 |
362 | 362 |
363 | 363 |
877 acl: acl.deny.bookmarks enabled, 1 entries for user fred | 877 acl: acl.deny.bookmarks enabled, 1 entries for user fred |
878 error: prepushkey.acl hook failed: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7") | 878 error: prepushkey.acl hook failed: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7") |
879 bundle2-input-bundle: 7 parts total | 879 bundle2-input-bundle: 7 parts total |
880 transaction abort! | 880 transaction abort! |
881 rollback completed | 881 rollback completed |
882 truncating cache/rbc-revs-v1 to 8 | 882 resetting content of cache/rbc-revs-v1 |
883 abort: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7") | 883 abort: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7") |
884 no rollback information available | 884 no rollback information available |
885 0:6675d58eff77 | 885 0:6675d58eff77 |
886 | 886 |
887 | 887 |
1046 bundle2-input-part: total payload size * (glob) | 1046 bundle2-input-part: total payload size * (glob) |
1047 bundle2-input-part: total payload size * (glob) | 1047 bundle2-input-part: total payload size * (glob) |
1048 bundle2-input-bundle: 5 parts total | 1048 bundle2-input-bundle: 5 parts total |
1049 transaction abort! | 1049 transaction abort! |
1050 rollback completed | 1050 rollback completed |
1051 truncating cache/rbc-revs-v1 to 8 | 1051 resetting content of cache/rbc-revs-v1 |
1052 abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae") | 1052 abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae") |
1053 no rollback information available | 1053 no rollback information available |
1054 0:6675d58eff77 | 1054 0:6675d58eff77 |
1055 | 1055 |
1056 | 1056 |
1378 acl: path access granted: "911600dab2ae" | 1378 acl: path access granted: "911600dab2ae" |
1379 bundle2-input-part: total payload size * (glob) | 1379 bundle2-input-part: total payload size * (glob) |
1380 bundle2-input-part: "phase-heads" supported | 1380 bundle2-input-part: "phase-heads" supported |
1381 bundle2-input-part: total payload size * (glob) | 1381 bundle2-input-part: total payload size * (glob) |
1382 bundle2-input-bundle: 5 parts total | 1382 bundle2-input-bundle: 5 parts total |
1383 truncating cache/rbc-revs-v1 to 8 | 1383 resetting content of cache/rbc-revs-v1 |
1384 updating the branch cache | 1384 updating the branch cache |
1385 added 3 changesets with 3 changes to 3 files | 1385 added 3 changesets with 3 changes to 3 files |
1386 bundle2-output-bundle: "HG20", 1 parts total | 1386 bundle2-output-bundle: "HG20", 1 parts total |
1387 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload | 1387 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload |
1388 bundle2-input-bundle: no-transaction | 1388 bundle2-input-bundle: no-transaction |
1462 bundle2-input-part: total payload size * (glob) | 1462 bundle2-input-part: total payload size * (glob) |
1463 bundle2-input-part: total payload size * (glob) | 1463 bundle2-input-part: total payload size * (glob) |
1464 bundle2-input-bundle: 5 parts total | 1464 bundle2-input-bundle: 5 parts total |
1465 transaction abort! | 1465 transaction abort! |
1466 rollback completed | 1466 rollback completed |
1467 truncating cache/rbc-revs-v1 to 8 | 1467 resetting content of cache/rbc-revs-v1 |
1468 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") | 1468 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
1469 no rollback information available | 1469 no rollback information available |
1470 0:6675d58eff77 | 1470 0:6675d58eff77 |
1471 | 1471 |
1472 | 1472 |
1630 bundle2-input-part: total payload size * (glob) | 1630 bundle2-input-part: total payload size * (glob) |
1631 bundle2-input-part: total payload size * (glob) | 1631 bundle2-input-part: total payload size * (glob) |
1632 bundle2-input-bundle: 5 parts total | 1632 bundle2-input-bundle: 5 parts total |
1633 transaction abort! | 1633 transaction abort! |
1634 rollback completed | 1634 rollback completed |
1635 truncating cache/rbc-revs-v1 to 8 | 1635 resetting content of cache/rbc-revs-v1 |
1636 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") | 1636 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
1637 no rollback information available | 1637 no rollback information available |
1638 0:6675d58eff77 | 1638 0:6675d58eff77 |
1639 | 1639 |
1640 | 1640 |