##// END OF EJS Templates
fncache: add a test demonstrating fncache corruption
Arseniy Alekseyev -
r51704:5d77a6f3 stable
parent child Browse files
Show More
@@ -399,7 +399,6 b' The split was rollback'
399 .hg/store/data/file.d: size=0
399 .hg/store/data/file.d: size=0
400 .hg/store/data/file.i: size=1174
400 .hg/store/data/file.i: size=1174
401
401
402
403 $ hg tip
402 $ hg tip
404 changeset: 1:64b04c8dc267
403 changeset: 1:64b04c8dc267
405 tag: tip
404 tag: tip
@@ -408,6 +407,33 b' The split was rollback'
408 summary: b
407 summary: b
409
408
410 $ hg verify -q
409 $ hg verify -q
410
411 $ cat > .hg/hgrc <<EOF
412 > [hooks]
413 > EOF
414 $ hg pull ../troffset-computation
415 pulling from ../troffset-computation
416 searching for changes
417 adding changesets
418 adding manifests
419 adding file changes
420 added 3 changesets with 18 changes to 6 files
421 new changesets c99a94cae9b1:64874a3b0160
422 (run 'hg update' to get a working copy)
423
424 $ f -s .hg/store/data*/file*
425 .hg/store/data/file.d: size=267307
426 .hg/store/data/file.i: size=320
427 $ hg verify -q
428 warning: revlog 'data/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/f.d' not in fncache!
429 warning: revlog 'data/Directory_With,Special%Char/Complex_File.babar.d' not in fncache!
430 warning: revlog 'data/file.d' not in fncache!
431 warning: revlog 'data/foo/bar/babar_celeste/foo.d' not in fncache!
432 warning: revlog 'data/some_dir/sub_dir/foo_bar.d' not in fncache!
433 warning: revlog 'data/some_dir/sub_dir/foo_bar.i.s/tutu.d' not in fncache!
434 6 warnings encountered!
435 hint: run "hg debugrebuildfncache" to recover from corrupt fncache
436
411 $ cd ..
437 $ cd ..
412
438
413 Read race
439 Read race
General Comments 0
You need to be logged in to leave comments. Login now