##// END OF EJS Templates
rbc: test case for cache file not growing correctly, causing bad new entries
Mads Kiilerich -
r29603:b181a650 default
parent child Browse files
Show More
@@ -650,4 +650,17 b' cache is rebuilt when corruption is dete'
650 0050: bf be 84 1b 00 00 00 00 d3 f1 63 45 80 00 00 00 |..........cE....|
650 0050: bf be 84 1b 00 00 00 00 d3 f1 63 45 80 00 00 00 |..........cE....|
651 0060: e3 d4 9c 05 80 00 00 00 e2 3b 55 05 00 00 00 00 |.........;U.....|
651 0060: e3 d4 9c 05 80 00 00 00 e2 3b 55 05 00 00 00 00 |.........;U.....|
652
652
653 Test that cache files are created and grows correctly:
654
655 $ rm .hg/cache/rbc*
656 $ hg log -r "5 & branch(5)" -T "{rev}\n"
657 5
658 BUG: rbc-revs should have an entry as 5th record but has it misplaced as the
659 first:
660 $ f --size --hexdump .hg/cache/rbc-*
661 .hg/cache/rbc-names-v1: size=1
662 0000: 61 |a|
663 .hg/cache/rbc-revs-v1: size=8
664 0000: d8 cb c6 1d 00 00 00 00 |........|
665
653 $ cd ..
666 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now