##// END OF EJS Templates
changegroup: move branch cache debug message to proper location...
Gregory Szorc -
r29757:976cd337 default
parent child Browse files
Show More
@@ -404,6 +404,7 b' class cg1unpacker(object):'
404 # coming call to `destroyed` will repair it.
404 # coming call to `destroyed` will repair it.
405 # In other case we can safely update cache on
405 # In other case we can safely update cache on
406 # disk.
406 # disk.
407 repo.ui.debug('updating the branch cache\n')
407 branchmap.updatecache(repo.filtered('served'))
408 branchmap.updatecache(repo.filtered('served'))
408
409
409 def runhooks():
410 def runhooks():
@@ -413,8 +414,6 b' class cg1unpacker(object):'
413 if clstart >= len(repo):
414 if clstart >= len(repo):
414 return
415 return
415
416
416 # forcefully update the on-disk branch cache
417 repo.ui.debug("updating the branch cache\n")
418 repo.hook("changegroup", **hookargs)
417 repo.hook("changegroup", **hookargs)
419
418
420 for n in added:
419 for n in added:
@@ -112,11 +112,11 b' Extension disabled for lack of a hook'
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
115 bundle2-input-part: total payload size 1606
116 bundle2-input-part: total payload size 1606
116 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
117 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
117 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
118 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
118 bundle2-input-bundle: 3 parts total
119 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
@@ -177,11 +177,11 b' Extension disabled for lack of acl.sourc'
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
180 bundle2-input-part: total payload size 1606
181 bundle2-input-part: total payload size 1606
181 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
182 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
182 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
183 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
183 bundle2-input-bundle: 3 parts total
184 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
@@ -253,11 +253,11 b' No [acl.allow]/[acl.deny]'
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
256 bundle2-input-part: total payload size 1606
257 bundle2-input-part: total payload size 1606
257 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
258 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
258 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
259 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
259 bundle2-input-bundle: 3 parts total
260 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
@@ -743,11 +743,11 b' barney is allowed everywhere'
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
746 bundle2-input-part: total payload size 1606
747 bundle2-input-part: total payload size 1606
747 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
748 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
748 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
749 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
749 bundle2-input-bundle: 3 parts total
750 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
@@ -1061,11 +1061,11 b' acl.config can set only [acl.allow]/[acl'
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
1064 bundle2-input-part: total payload size 1606
1065 bundle2-input-part: total payload size 1606
1065 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1066 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1066 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1067 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1067 bundle2-input-bundle: 3 parts total
1068 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
@@ -1147,11 +1147,11 b' fred is always allowed'
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
1150 bundle2-input-part: total payload size 1606
1151 bundle2-input-part: total payload size 1606
1151 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1152 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1152 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1153 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1153 bundle2-input-bundle: 3 parts total
1154 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
@@ -1306,11 +1306,11 b' OS-level groups'
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
1309 bundle2-input-part: total payload size 1606
1310 bundle2-input-part: total payload size 1606
1310 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1311 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1311 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1312 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1312 bundle2-input-bundle: 3 parts total
1313 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
@@ -1508,13 +1508,13 b' No branch acls specified'
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
1511 bundle2-input-part: total payload size 2101
1512 bundle2-input-part: total payload size 2101
1512 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1513 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1513 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1514 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1514 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1515 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1515 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1516 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1516 bundle2-input-bundle: 4 parts total
1517 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
@@ -1804,13 +1804,13 b' Branch acl allow other'
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
1807 bundle2-input-part: total payload size 2101
1808 bundle2-input-part: total payload size 2101
1808 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1809 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1809 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1810 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1810 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1811 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1811 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1812 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1812 bundle2-input-bundle: 4 parts total
1813 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
@@ -1897,13 +1897,13 b' push foobar into the remote'
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
1900 bundle2-input-part: total payload size 2101
1901 bundle2-input-part: total payload size 2101
1901 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1902 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1902 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1903 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1903 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1904 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1904 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1905 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1905 bundle2-input-bundle: 4 parts total
1906 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
@@ -2058,13 +2058,13 b" User 'astro' must not be denied"
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
2061 bundle2-input-part: total payload size 2101
2062 bundle2-input-part: total payload size 2101
2062 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2063 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2063 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
2064 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
2064 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2065 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2065 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
2066 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
2066 bundle2-input-bundle: 4 parts total
2067 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
@@ -144,11 +144,11 b' client only pulls down 1 changeset'
144 adding file changes
144 adding file changes
145 adding foo revisions
145 adding foo revisions
146 added 1 changesets with 1 changes to 1 files (+1 heads)
146 added 1 changesets with 1 changes to 1 files (+1 heads)
147 updating the branch cache
147 bundle2-input-part: total payload size 474
148 bundle2-input-part: total payload size 474
148 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
149 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
149 bundle2-input-part: total payload size 58
150 bundle2-input-part: total payload size 58
150 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
151 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
151 bundle2-input-bundle: 2 parts total
152 bundle2-input-bundle: 2 parts total
152 checking for updated bookmarks
153 checking for updated bookmarks
153 updating the branch cache
154 (run 'hg heads' to see heads, 'hg merge' to merge)
154 (run 'hg heads' to see heads, 'hg merge' to merge)
@@ -304,7 +304,6 b' Check that the right ancestors is used w'
304 invalid branchheads cache (served): tip differs
304 invalid branchheads cache (served): tip differs
305 history modification detected - truncating revision branch cache to revision 9
305 history modification detected - truncating revision branch cache to revision 9
306 rebase completed
306 rebase completed
307 updating the branch cache
308 truncating cache/rbc-revs-v1 to 72
307 truncating cache/rbc-revs-v1 to 72
309
308
310 Test minimization of merge conflicts
309 Test minimization of merge conflicts
General Comments 0
You need to be logged in to leave comments. Login now