comparison tests/test-acl.t @ 46314:95a615dd77bf

clone: make sure we warm the cache after a clone This work around any deviciency/limitation of the clone process. In our case this ensure the persistent nodemap exist with valid content. Ideally, the cloning process would also do "the right thing". However since older server will never be able to do "the right thing". The local workaround will be necessary anyway. I am not worried by the performance impact of this as `hg clone` is non-instant on large repositories where is could matters. Warming the cache if they are already correct is very fast. And if they are not already warm, this seems like a good time to do so. This impact various test as more cache are now warmed sooner, all the change should be harmless. Differential Revision: https://phab.mercurial-scm.org/D9789
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Jan 2021 12:41:38 +0100
parents edc8504bc26b
children 3e91d9978bec
comparison
equal deleted inserted replaced
46313:4cde46f62ebf 46314:95a615dd77bf
805 acl: acl.allow.bookmarks not enabled 805 acl: acl.allow.bookmarks not enabled
806 acl: acl.deny.bookmarks not enabled 806 acl: acl.deny.bookmarks not enabled
807 acl: bookmark access granted: "ef1ea85a6374b77d6da9dcda9541f498f2d17df7" on bookmark "moving-bookmark" 807 acl: bookmark access granted: "ef1ea85a6374b77d6da9dcda9541f498f2d17df7" on bookmark "moving-bookmark"
808 bundle2-input-bundle: 7 parts total 808 bundle2-input-bundle: 7 parts total
809 updating the branch cache 809 updating the branch cache
810 invalid branch cache (served.hidden): tip differs
810 added 1 changesets with 1 changes to 1 files 811 added 1 changesets with 1 changes to 1 files
811 bundle2-output-bundle: "HG20", 1 parts total 812 bundle2-output-bundle: "HG20", 1 parts total
812 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 813 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
813 bundle2-input-bundle: no-transaction 814 bundle2-input-bundle: no-transaction
814 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 815 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1786 bundle2-input-part: total payload size 2068 1787 bundle2-input-part: total payload size 2068
1787 bundle2-input-part: "phase-heads" supported 1788 bundle2-input-part: "phase-heads" supported
1788 bundle2-input-part: total payload size 48 1789 bundle2-input-part: total payload size 48
1789 bundle2-input-bundle: 5 parts total 1790 bundle2-input-bundle: 5 parts total
1790 updating the branch cache 1791 updating the branch cache
1792 invalid branch cache (served.hidden): tip differs
1791 added 4 changesets with 4 changes to 4 files (+1 heads) 1793 added 4 changesets with 4 changes to 4 files (+1 heads)
1792 bundle2-output-bundle: "HG20", 1 parts total 1794 bundle2-output-bundle: "HG20", 1 parts total
1793 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1795 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1794 bundle2-input-bundle: no-transaction 1796 bundle2-input-bundle: no-transaction
1795 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 1797 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
2092 bundle2-input-part: total payload size 2068 2094 bundle2-input-part: total payload size 2068
2093 bundle2-input-part: "phase-heads" supported 2095 bundle2-input-part: "phase-heads" supported
2094 bundle2-input-part: total payload size 48 2096 bundle2-input-part: total payload size 48
2095 bundle2-input-bundle: 5 parts total 2097 bundle2-input-bundle: 5 parts total
2096 updating the branch cache 2098 updating the branch cache
2099 invalid branch cache (served.hidden): tip differs
2097 added 4 changesets with 4 changes to 4 files (+1 heads) 2100 added 4 changesets with 4 changes to 4 files (+1 heads)
2098 bundle2-output-bundle: "HG20", 1 parts total 2101 bundle2-output-bundle: "HG20", 1 parts total
2099 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 2102 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2100 bundle2-input-bundle: no-transaction 2103 bundle2-input-bundle: no-transaction
2101 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 2104 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
2183 bundle2-input-part: total payload size 2068 2186 bundle2-input-part: total payload size 2068
2184 bundle2-input-part: "phase-heads" supported 2187 bundle2-input-part: "phase-heads" supported
2185 bundle2-input-part: total payload size 48 2188 bundle2-input-part: total payload size 48
2186 bundle2-input-bundle: 5 parts total 2189 bundle2-input-bundle: 5 parts total
2187 updating the branch cache 2190 updating the branch cache
2191 invalid branch cache (served.hidden): tip differs
2188 added 4 changesets with 4 changes to 4 files (+1 heads) 2192 added 4 changesets with 4 changes to 4 files (+1 heads)
2189 bundle2-output-bundle: "HG20", 1 parts total 2193 bundle2-output-bundle: "HG20", 1 parts total
2190 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 2194 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2191 bundle2-input-bundle: no-transaction 2195 bundle2-input-bundle: no-transaction
2192 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 2196 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
2346 bundle2-input-part: total payload size 2068 2350 bundle2-input-part: total payload size 2068
2347 bundle2-input-part: "phase-heads" supported 2351 bundle2-input-part: "phase-heads" supported
2348 bundle2-input-part: total payload size 48 2352 bundle2-input-part: total payload size 48
2349 bundle2-input-bundle: 5 parts total 2353 bundle2-input-bundle: 5 parts total
2350 updating the branch cache 2354 updating the branch cache
2355 invalid branch cache (served.hidden): tip differs
2351 added 4 changesets with 4 changes to 4 files (+1 heads) 2356 added 4 changesets with 4 changes to 4 files (+1 heads)
2352 bundle2-output-bundle: "HG20", 1 parts total 2357 bundle2-output-bundle: "HG20", 1 parts total
2353 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 2358 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2354 bundle2-input-bundle: no-transaction 2359 bundle2-input-bundle: no-transaction
2355 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 2360 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported