comparison tests/test-static-http.t @ 44826:35b255e474d9 stable

dirstate: make sure the dirstate is loaded before the changelog (issue6303) Before this change, it was possible for the changelog to be loaded before the dirstate. If a transaction happens betwen the changelog and dirstate reading, the dirstate can up end poitning toward a revision not existing in the (olded) changelog. This lead to a warning. With this revision, we preload the dirstate parent before reading the changelog. This has a negligible performance impact on performance for all case we are tracking. Differential Revision: https://phab.mercurial-scm.org/D8528
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 11 May 2020 13:08:02 +0200
parents 94faa2e84094
children ebee234d952a
comparison
equal deleted inserted replaced
44825:18e36ff8b414 44826:35b255e474d9
231 /.hg/bookmarks 231 /.hg/bookmarks
232 /.hg/bookmarks.current 232 /.hg/bookmarks.current
233 /.hg/cache/hgtagsfnodes1 233 /.hg/cache/hgtagsfnodes1
234 /.hg/cache/rbc-names-v1 234 /.hg/cache/rbc-names-v1
235 /.hg/cache/rbc-revs-v1 235 /.hg/cache/rbc-revs-v1
236 /.hg/dirstate
236 /.hg/requires 237 /.hg/requires
237 /.hg/store/00changelog.i 238 /.hg/store/00changelog.i
238 /.hg/store/00manifest.i 239 /.hg/store/00manifest.i
239 /.hg/store/data/%7E2ehgsub.i (no-py37 !) 240 /.hg/store/data/%7E2ehgsub.i (no-py37 !)
240 /.hg/store/data/%7E2ehgsubstate.i (no-py37 !) 241 /.hg/store/data/%7E2ehgsubstate.i (no-py37 !)
248 /remote-with-names/.hg/cache/branch2-served 249 /remote-with-names/.hg/cache/branch2-served
249 /remote-with-names/.hg/cache/hgtagsfnodes1 250 /remote-with-names/.hg/cache/hgtagsfnodes1
250 /remote-with-names/.hg/cache/rbc-names-v1 251 /remote-with-names/.hg/cache/rbc-names-v1
251 /remote-with-names/.hg/cache/rbc-revs-v1 252 /remote-with-names/.hg/cache/rbc-revs-v1
252 /remote-with-names/.hg/cache/tags2-served 253 /remote-with-names/.hg/cache/tags2-served
254 /remote-with-names/.hg/dirstate
253 /remote-with-names/.hg/localtags 255 /remote-with-names/.hg/localtags
254 /remote-with-names/.hg/requires 256 /remote-with-names/.hg/requires
255 /remote-with-names/.hg/store/00changelog.i 257 /remote-with-names/.hg/store/00changelog.i
256 /remote-with-names/.hg/store/00manifest.i 258 /remote-with-names/.hg/store/00manifest.i
257 /remote-with-names/.hg/store/data/%7E2ehgtags.i (no-py37 !) 259 /remote-with-names/.hg/store/data/%7E2ehgtags.i (no-py37 !)
264 /remote/.hg/cache/branch2-served 266 /remote/.hg/cache/branch2-served
265 /remote/.hg/cache/hgtagsfnodes1 267 /remote/.hg/cache/hgtagsfnodes1
266 /remote/.hg/cache/rbc-names-v1 268 /remote/.hg/cache/rbc-names-v1
267 /remote/.hg/cache/rbc-revs-v1 269 /remote/.hg/cache/rbc-revs-v1
268 /remote/.hg/cache/tags2-served 270 /remote/.hg/cache/tags2-served
271 /remote/.hg/dirstate
269 /remote/.hg/localtags 272 /remote/.hg/localtags
270 /remote/.hg/requires 273 /remote/.hg/requires
271 /remote/.hg/store/00changelog.i 274 /remote/.hg/store/00changelog.i
272 /remote/.hg/store/00manifest.i 275 /remote/.hg/store/00manifest.i
273 /remote/.hg/store/data/%7E2edotfile%20with%20spaces.i (no-py37 !) 276 /remote/.hg/store/data/%7E2edotfile%20with%20spaces.i (no-py37 !)
276 /remote/.hg/store/data/quux.i 279 /remote/.hg/store/data/quux.i
277 /remote/.hg/store/data/~2edotfile%20with%20spaces.i (py37 !) 280 /remote/.hg/store/data/~2edotfile%20with%20spaces.i (py37 !)
278 /remote/.hg/store/data/~2ehgtags.i (py37 !) 281 /remote/.hg/store/data/~2ehgtags.i (py37 !)
279 /remotempty/.hg/bookmarks 282 /remotempty/.hg/bookmarks
280 /remotempty/.hg/bookmarks.current 283 /remotempty/.hg/bookmarks.current
284 /remotempty/.hg/dirstate
281 /remotempty/.hg/requires 285 /remotempty/.hg/requires
282 /remotempty/.hg/store/00changelog.i 286 /remotempty/.hg/store/00changelog.i
283 /remotempty/.hg/store/00manifest.i 287 /remotempty/.hg/store/00manifest.i
284 /sub/.hg/bookmarks 288 /sub/.hg/bookmarks
285 /sub/.hg/bookmarks.current 289 /sub/.hg/bookmarks.current
286 /sub/.hg/cache/hgtagsfnodes1 290 /sub/.hg/cache/hgtagsfnodes1
287 /sub/.hg/cache/rbc-names-v1 291 /sub/.hg/cache/rbc-names-v1
288 /sub/.hg/cache/rbc-revs-v1 292 /sub/.hg/cache/rbc-revs-v1
293 /sub/.hg/dirstate
289 /sub/.hg/requires 294 /sub/.hg/requires
290 /sub/.hg/store/00changelog.i 295 /sub/.hg/store/00changelog.i
291 /sub/.hg/store/00manifest.i 296 /sub/.hg/store/00manifest.i
292 /sub/.hg/store/data/%7E2ehgtags.i (no-py37 !) 297 /sub/.hg/store/data/%7E2ehgtags.i (no-py37 !)
293 /sub/.hg/store/data/test.i 298 /sub/.hg/store/data/test.i