annotate tests/test-evolve-issue6246.t @ 6926:e4777a1d0655 stable

Added tag 11.1.5 for changeset 6219898ee0ad
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 26 Oct 2024 10:26:00 +0400
parents 530c7eaa9d57
children
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
6482
530c7eaa9d57 stable-range: rename `debugstablerange` into `debug::evo-ext-stable-range`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 6338
diff changeset
20 $ hg debug::evo-ext-stable-range --method default --verify --subranges --rev 1 --debug
6337
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 ..