##// END OF EJS Templates
localrepo: run cache-warming transaction callback before report callback...
Martin von Zweigbergk -
r35767:3a3b59bb default
parent child Browse files
Show More
@@ -1322,7 +1322,11 b' class localrepository(object):'
1322 1322 **pycompat.strkwargs(hookargs))
1323 1323 reporef()._afterlock(hookfunc)
1324 1324 tr.addfinalize('txnclose-hook', txnclosehook)
1325 tr.addpostclose('warms-cache', self._buildcacheupdater(tr))
1325 # Include a leading "-" to make it happen before the transaction summary
1326 # reports registered via scmutil.registersummarycallback() whose names
1327 # are 00-txnreport etc. That way, the caches will be warm when the
1328 # callbacks run.
1329 tr.addpostclose('-warm-cache', self._buildcacheupdater(tr))
1326 1330 def txnaborthook(tr2):
1327 1331 """To be run if transaction is aborted
1328 1332 """
@@ -171,6 +171,6 b' client only pulls down 1 changeset'
171 171 bundle2-input-part: total payload size 24
172 172 bundle2-input-bundle: 2 parts total
173 173 checking for updated bookmarks
174 updating the branch cache
174 175 new changesets bec0734cd68e
175 updating the branch cache
176 176 (run 'hg heads' to see heads, 'hg merge' to merge)
General Comments 0
You need to be logged in to leave comments. Login now