annotate tests/test-evolve-issue6246.t @ 6358:6dff9c845ee6 stable

Added tag 10.5.3 for changeset 569e09c61c4f
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 09 Dec 2022 14:55:30 +0400
parents a55b9b917a08
children 530c7eaa9d57
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6337
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
1 Failure to open evoext_stablerange_v2.sqlite shouldn't affect operations (issue6246)
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
2 https://bz.mercurial-scm.org/show_bug.cgi?id=6246
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
3
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
4 $ . $TESTDIR/testlib/common.sh
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
5
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
6 $ cat << EOF >> $HGRCPATH
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
7 > [extensions]
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
8 > evolve =
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
9 > EOF
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
10
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
11 $ hg init issue6246
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
12 $ cd issue6246
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
13 $ hg debugbuilddag '.+6'
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
14
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
15 making a cache file that sqlite cannot open shouldn't break stablerange cache
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
16
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
17 $ touch .hg/cache/evoext_stablerange_v2.sqlite
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
18 $ chmod 0000 .hg/cache/evoext_stablerange_v2.sqlite
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
19
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
20 $ hg debugstablerange --method default --verify --subranges --rev 1 --debug
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
21 stable-range cache: unable to load, regenerating
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
22 66f7d451a68b-0 (1, 2, 2) [complete] - 1ea73414a91b-0 (0, 1, 1), 66f7d451a68b-1 (1, 2, 1)
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
23 1ea73414a91b-0 (0, 1, 1) [leaf] -
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
24 66f7d451a68b-1 (1, 2, 1) [leaf] -
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
25
6338
a55b9b917a08 evolve: make _obshashcache slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents: 6337
diff changeset
26 $ hg debugobshashrange --rev tip --debug
a55b9b917a08 evolve: make _obshashcache slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents: 6337
diff changeset
27 stable-range cache: unable to load, regenerating
a55b9b917a08 evolve: make _obshashcache slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents: 6337
diff changeset
28 rev node index size depth obshash
a55b9b917a08 evolve: make _obshashcache slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents: 6337
diff changeset
29 obshashrange cache: unable to load, regenerating
a55b9b917a08 evolve: make _obshashcache slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents: 6337
diff changeset
30 6 f69452c5b1af 0 7 7 000000000000
a55b9b917a08 evolve: make _obshashcache slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents: 6337
diff changeset
31
6337
58115cf37211 evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246)
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
32 $ cd ..