comparison tests/test-acl.t @ 32267:c2380b448265

caches: move the 'updating the branch cache' message in 'updatecaches' We are about to remove the branchmap cache update in changegroup application. There is a debug message alongside this update that we do not want to loose. We move the message beforehand to simplify the test update in the next changeset. The message move is quite noisy and isolating that noise is useful. Most tests update are just line reordering since the message is issued at a later point during the transaction. After this changes, the message is displayed in more case since local commit creation also issue it.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 02 May 2017 22:27:44 +0200
parents 6b0741d6d234
children 24f55686a63d
comparison
equal deleted inserted replaced
32266:2b6692df1bdf 32267:c2380b448265
110 adding file changes 110 adding file changes
111 adding foo/Bar/file.txt revisions 111 adding foo/Bar/file.txt revisions
112 adding foo/file.txt revisions 112 adding foo/file.txt revisions
113 adding quux/file.py revisions 113 adding quux/file.py revisions
114 added 3 changesets with 3 changes to 3 files 114 added 3 changesets with 3 changes to 3 files
115 updating the branch cache
116 bundle2-input-part: total payload size 1553 115 bundle2-input-part: total payload size 1553
117 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 116 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
118 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 117 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
119 bundle2-input-bundle: 3 parts total 118 bundle2-input-bundle: 3 parts total
119 updating the branch cache
120 bundle2-output-bundle: "HG20", 2 parts total 120 bundle2-output-bundle: "HG20", 2 parts total
121 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 121 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
122 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 122 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
123 bundle2-input-bundle: with-transaction 123 bundle2-input-bundle: with-transaction
124 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 124 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
175 adding foo/file.txt revisions 175 adding foo/file.txt revisions
176 adding quux/file.py revisions 176 adding quux/file.py revisions
177 added 3 changesets with 3 changes to 3 files 177 added 3 changesets with 3 changes to 3 files
178 calling hook pretxnchangegroup.acl: hgext.acl.hook 178 calling hook pretxnchangegroup.acl: hgext.acl.hook
179 acl: changes have source "push" - skipping 179 acl: changes have source "push" - skipping
180 updating the branch cache
181 bundle2-input-part: total payload size 1553 180 bundle2-input-part: total payload size 1553
182 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 181 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
183 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 182 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
184 bundle2-input-bundle: 3 parts total 183 bundle2-input-bundle: 3 parts total
184 updating the branch cache
185 bundle2-output-bundle: "HG20", 2 parts total 185 bundle2-output-bundle: "HG20", 2 parts total
186 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 186 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
187 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 187 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
188 bundle2-input-bundle: with-transaction 188 bundle2-input-bundle: with-transaction
189 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 189 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
251 acl: path access granted: "ef1ea85a6374" 251 acl: path access granted: "ef1ea85a6374"
252 acl: branch access granted: "f9cafe1212c8" on branch "default" 252 acl: branch access granted: "f9cafe1212c8" on branch "default"
253 acl: path access granted: "f9cafe1212c8" 253 acl: path access granted: "f9cafe1212c8"
254 acl: branch access granted: "911600dab2ae" on branch "default" 254 acl: branch access granted: "911600dab2ae" on branch "default"
255 acl: path access granted: "911600dab2ae" 255 acl: path access granted: "911600dab2ae"
256 updating the branch cache
257 bundle2-input-part: total payload size 1553 256 bundle2-input-part: total payload size 1553
258 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 257 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
259 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 258 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
260 bundle2-input-bundle: 3 parts total 259 bundle2-input-bundle: 3 parts total
260 updating the branch cache
261 bundle2-output-bundle: "HG20", 2 parts total 261 bundle2-output-bundle: "HG20", 2 parts total
262 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 262 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
263 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 263 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
264 bundle2-input-bundle: with-transaction 264 bundle2-input-bundle: with-transaction
265 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 265 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
741 acl: path access granted: "ef1ea85a6374" 741 acl: path access granted: "ef1ea85a6374"
742 acl: branch access granted: "f9cafe1212c8" on branch "default" 742 acl: branch access granted: "f9cafe1212c8" on branch "default"
743 acl: path access granted: "f9cafe1212c8" 743 acl: path access granted: "f9cafe1212c8"
744 acl: branch access granted: "911600dab2ae" on branch "default" 744 acl: branch access granted: "911600dab2ae" on branch "default"
745 acl: path access granted: "911600dab2ae" 745 acl: path access granted: "911600dab2ae"
746 updating the branch cache
747 bundle2-input-part: total payload size 1553 746 bundle2-input-part: total payload size 1553
748 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 747 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
749 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 748 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
750 bundle2-input-bundle: 3 parts total 749 bundle2-input-bundle: 3 parts total
750 updating the branch cache
751 bundle2-output-bundle: "HG20", 2 parts total 751 bundle2-output-bundle: "HG20", 2 parts total
752 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 752 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
753 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 753 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
754 bundle2-input-bundle: with-transaction 754 bundle2-input-bundle: with-transaction
755 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 755 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1059 acl: path access granted: "ef1ea85a6374" 1059 acl: path access granted: "ef1ea85a6374"
1060 acl: branch access granted: "f9cafe1212c8" on branch "default" 1060 acl: branch access granted: "f9cafe1212c8" on branch "default"
1061 acl: path access granted: "f9cafe1212c8" 1061 acl: path access granted: "f9cafe1212c8"
1062 acl: branch access granted: "911600dab2ae" on branch "default" 1062 acl: branch access granted: "911600dab2ae" on branch "default"
1063 acl: path access granted: "911600dab2ae" 1063 acl: path access granted: "911600dab2ae"
1064 updating the branch cache
1065 bundle2-input-part: total payload size 1553 1064 bundle2-input-part: total payload size 1553
1066 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1065 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1067 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 1066 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1068 bundle2-input-bundle: 3 parts total 1067 bundle2-input-bundle: 3 parts total
1068 updating the branch cache
1069 bundle2-output-bundle: "HG20", 2 parts total 1069 bundle2-output-bundle: "HG20", 2 parts total
1070 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1070 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1071 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1071 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1072 bundle2-input-bundle: with-transaction 1072 bundle2-input-bundle: with-transaction
1073 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 1073 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1145 acl: path access granted: "ef1ea85a6374" 1145 acl: path access granted: "ef1ea85a6374"
1146 acl: branch access granted: "f9cafe1212c8" on branch "default" 1146 acl: branch access granted: "f9cafe1212c8" on branch "default"
1147 acl: path access granted: "f9cafe1212c8" 1147 acl: path access granted: "f9cafe1212c8"
1148 acl: branch access granted: "911600dab2ae" on branch "default" 1148 acl: branch access granted: "911600dab2ae" on branch "default"
1149 acl: path access granted: "911600dab2ae" 1149 acl: path access granted: "911600dab2ae"
1150 updating the branch cache
1151 bundle2-input-part: total payload size 1553 1150 bundle2-input-part: total payload size 1553
1152 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1151 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1153 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 1152 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1154 bundle2-input-bundle: 3 parts total 1153 bundle2-input-bundle: 3 parts total
1154 updating the branch cache
1155 bundle2-output-bundle: "HG20", 2 parts total 1155 bundle2-output-bundle: "HG20", 2 parts total
1156 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1156 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1157 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1157 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1158 bundle2-input-bundle: with-transaction 1158 bundle2-input-bundle: with-transaction
1159 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 1159 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1304 acl: path access granted: "ef1ea85a6374" 1304 acl: path access granted: "ef1ea85a6374"
1305 acl: branch access granted: "f9cafe1212c8" on branch "default" 1305 acl: branch access granted: "f9cafe1212c8" on branch "default"
1306 acl: path access granted: "f9cafe1212c8" 1306 acl: path access granted: "f9cafe1212c8"
1307 acl: branch access granted: "911600dab2ae" on branch "default" 1307 acl: branch access granted: "911600dab2ae" on branch "default"
1308 acl: path access granted: "911600dab2ae" 1308 acl: path access granted: "911600dab2ae"
1309 updating the branch cache
1310 bundle2-input-part: total payload size 1553 1309 bundle2-input-part: total payload size 1553
1311 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1310 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1312 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 1311 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1313 bundle2-input-bundle: 3 parts total 1312 bundle2-input-bundle: 3 parts total
1313 updating the branch cache
1314 bundle2-output-bundle: "HG20", 2 parts total 1314 bundle2-output-bundle: "HG20", 2 parts total
1315 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1315 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1316 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1316 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1317 bundle2-input-bundle: with-transaction 1317 bundle2-input-bundle: with-transaction
1318 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported 1318 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1506 acl: path access granted: "f9cafe1212c8" 1506 acl: path access granted: "f9cafe1212c8"
1507 acl: branch access granted: "911600dab2ae" on branch "default" 1507 acl: branch access granted: "911600dab2ae" on branch "default"
1508 acl: path access granted: "911600dab2ae" 1508 acl: path access granted: "911600dab2ae"
1509 acl: branch access granted: "e8fc755d4d82" on branch "foobar" 1509 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1510 acl: path access granted: "e8fc755d4d82" 1510 acl: path access granted: "e8fc755d4d82"
1511 updating the branch cache
1512 bundle2-input-part: total payload size 2068 1511 bundle2-input-part: total payload size 2068
1513 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1512 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1514 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 1513 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1515 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1514 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1516 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01" 1515 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1517 bundle2-input-bundle: 4 parts total 1516 bundle2-input-bundle: 4 parts total
1517 updating the branch cache
1518 bundle2-output-bundle: "HG20", 3 parts total 1518 bundle2-output-bundle: "HG20", 3 parts total
1519 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1519 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1520 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1520 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1521 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1521 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1522 bundle2-input-bundle: with-transaction 1522 bundle2-input-bundle: with-transaction
1802 acl: path access granted: "f9cafe1212c8" 1802 acl: path access granted: "f9cafe1212c8"
1803 acl: branch access granted: "911600dab2ae" on branch "default" 1803 acl: branch access granted: "911600dab2ae" on branch "default"
1804 acl: path access granted: "911600dab2ae" 1804 acl: path access granted: "911600dab2ae"
1805 acl: branch access granted: "e8fc755d4d82" on branch "foobar" 1805 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1806 acl: path access granted: "e8fc755d4d82" 1806 acl: path access granted: "e8fc755d4d82"
1807 updating the branch cache
1808 bundle2-input-part: total payload size 2068 1807 bundle2-input-part: total payload size 2068
1809 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1808 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1810 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 1809 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1811 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1810 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1812 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01" 1811 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1813 bundle2-input-bundle: 4 parts total 1812 bundle2-input-bundle: 4 parts total
1813 updating the branch cache
1814 bundle2-output-bundle: "HG20", 3 parts total 1814 bundle2-output-bundle: "HG20", 3 parts total
1815 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1815 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1816 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1816 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1817 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1817 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1818 bundle2-input-bundle: with-transaction 1818 bundle2-input-bundle: with-transaction
1895 acl: path access granted: "f9cafe1212c8" 1895 acl: path access granted: "f9cafe1212c8"
1896 acl: branch access granted: "911600dab2ae" on branch "default" 1896 acl: branch access granted: "911600dab2ae" on branch "default"
1897 acl: path access granted: "911600dab2ae" 1897 acl: path access granted: "911600dab2ae"
1898 acl: branch access granted: "e8fc755d4d82" on branch "foobar" 1898 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1899 acl: path access granted: "e8fc755d4d82" 1899 acl: path access granted: "e8fc755d4d82"
1900 updating the branch cache
1901 bundle2-input-part: total payload size 2068 1900 bundle2-input-part: total payload size 2068
1902 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1901 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1903 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 1902 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1904 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 1903 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1905 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01" 1904 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1906 bundle2-input-bundle: 4 parts total 1905 bundle2-input-bundle: 4 parts total
1906 updating the branch cache
1907 bundle2-output-bundle: "HG20", 3 parts total 1907 bundle2-output-bundle: "HG20", 3 parts total
1908 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 1908 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1909 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1909 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1910 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 1910 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1911 bundle2-input-bundle: with-transaction 1911 bundle2-input-bundle: with-transaction
2056 acl: path access granted: "f9cafe1212c8" 2056 acl: path access granted: "f9cafe1212c8"
2057 acl: branch access granted: "911600dab2ae" on branch "default" 2057 acl: branch access granted: "911600dab2ae" on branch "default"
2058 acl: path access granted: "911600dab2ae" 2058 acl: path access granted: "911600dab2ae"
2059 acl: branch access granted: "e8fc755d4d82" on branch "foobar" 2059 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
2060 acl: path access granted: "e8fc755d4d82" 2060 acl: path access granted: "e8fc755d4d82"
2061 updating the branch cache
2062 bundle2-input-part: total payload size 2068 2061 bundle2-input-part: total payload size 2068
2063 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 2062 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2064 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955" 2063 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
2065 bundle2-input-part: "pushkey" (params: 4 mandatory) supported 2064 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2066 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01" 2065 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
2067 bundle2-input-bundle: 4 parts total 2066 bundle2-input-bundle: 4 parts total
2067 updating the branch cache
2068 bundle2-output-bundle: "HG20", 3 parts total 2068 bundle2-output-bundle: "HG20", 3 parts total
2069 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload 2069 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2070 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 2070 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
2071 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload 2071 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
2072 bundle2-input-bundle: with-transaction 2072 bundle2-input-bundle: with-transaction