annotate tests/test-discovery-obshashrange-cache.t @ 5866:5931ad39ea37 stable

evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354) arraytobytes() and arrayfrombytes() is not cross-platform.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 31 Mar 2021 20:39:37 +0800
parents d7ed88810457
children 1b6dfac6b17e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
1 ==============================
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
2 Test cache warming strategy
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
3 test for range based discovery
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
4 ==============================
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
5
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
6 $ . $TESTDIR/testlib/pythonpath.sh
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
7
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
8 $ cat << EOF >> $HGRCPATH
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
9 > [extensions]
5854
b0f35c0a762f tests: cleanup in obshashrange tests
Anton Shestakov <av6@dwimlabs.net>
parents: 5852
diff changeset
10 > evolve =
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
11 > blackbox =
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
12 > [defaults]
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
13 > blackbox = -l 100
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
14 > [experimental]
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
15 > obshashrange=1
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
16 > verbose-obsolescence-exchange=1
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
17 > [ui]
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
18 > logtemplate = "{rev} {node|short} {desc} {tags}\n"
5198
cbfd36046969 tests: use appropriate Python (2 or 3) for dummyssh
Anton Shestakov <av6@dwimlabs.net>
parents: 4871
diff changeset
19 > ssh = "$PYTHON" "$RUNTESTDIR/dummyssh"
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
20 > EOF
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
21
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
22 $ hg init main
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
23
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
24 $ hg -R main debugbuilddag '.+7'
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
25
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
26 $ for node in `hg -R main log -T '{node}\n'`; do
5851
0c896e79d9aa tests: simplify character sorting script
Anton Shestakov <av6@dwimlabs.net>
parents: 5198
diff changeset
27 > anc=`echo $node | grep -o . | sort | tr -d "\n"`
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
28 > echo "marking $anc as predecessors of $node"
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
29 > hg -R main debugobsolete $anc $node
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
30 > done
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
31 marking 000011223334456677789aaaaabbbbcccddddeef as predecessors of 4de32a90b66cd083ebf3c00b41277aa7abca51dd
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
32 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
33 marking 012234455555666699aaaaabbbccccccefffffff as predecessors of f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
34 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
35 marking 00001122233445555777778889999abbcccddeef as predecessors of c8d03c1b5e94af74b772900c58259d2e08917735
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
36 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
37 marking 0011222445667777889999aabbbbcddddeeeeeee as predecessors of bebd167eb94d257ace0e814aeb98e6972ed2970d
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
38 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
39 marking 000011222223344555566778899aaaabccddefff as predecessors of 2dc09a01254db841290af0538aa52f6f52c776e3
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
40 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
41 marking 01111222223333444455555566999abbbbcceeef as predecessors of 01241442b3c2bf3211e593b549c655ea65b295e3
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
42 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
43 marking 01122444445555566677888aabbcccddddefffff as predecessors of 66f7d451a68b85ed82ff5fcc254daf50c74144bd
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
44 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
45 marking 000111111234444467777889999aaaabcdeeeeff as predecessors of 1ea73414a91b0920940797d8fc6a11e447f8ea1e
4871
a8ff17479fb8 branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4860
diff changeset
46 1 new obsolescence markers
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
47
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
48 $ hg debugobsolete -R main
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
49 000011223334456677789aaaaabbbbcccddddeef 4de32a90b66cd083ebf3c00b41277aa7abca51dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
50 012234455555666699aaaaabbbccccccefffffff f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
51 00001122233445555777778889999abbcccddeef c8d03c1b5e94af74b772900c58259d2e08917735 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
52 0011222445667777889999aabbbbcddddeeeeeee bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
53 000011222223344555566778899aaaabccddefff 2dc09a01254db841290af0538aa52f6f52c776e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
54 01111222223333444455555566999abbbbcceeef 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
55 01122444445555566677888aabbcccddddefffff 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
56 000111111234444467777889999aaaabcdeeeeff 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
57
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
58 Cache mode is "auto" so local commit did not warm the cache yet
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
59
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
60 $ f -s main/.hg/cache/evoext*
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
61 main/.hg/cache/evoext-obscache-00: size=72
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
62
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
63 Initial push
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
64 ------------
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
65
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
66 $ hg init server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
67 $ hg -R main push ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
68 pushing to ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
69 searching for changes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
70 OBSEXC: computing relevant nodes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
71 OBSEXC: looking for common markers in 8 nodes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
72 OBSEXC: computing markers relevant to 8 nodes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
73 remote: adding changesets
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
74 remote: adding manifests
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
75 remote: adding file changes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
76 remote: added 8 changesets with 0 changes to 0 files
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
77 remote: 8 new obsolescence markers
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
78
5852
f4b762cf41c0 tests: a bunch of typos in test-discovery-obshashrange-cache.t
Anton Shestakov <av6@dwimlabs.net>
parents: 5851
diff changeset
79 server cache is warm
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
80
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
81 $ f -s server/.hg/cache/evoext*
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
82 server/.hg/cache/evoext-depthcache-00: size=88
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
83 server/.hg/cache/evoext-firstmerge-00: size=88
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
84 server/.hg/cache/evoext-obscache-00: size=72
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
85 server/.hg/cache/evoext-stablesortcache-00: size=92
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
86 server/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
87 server/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
88
5852
f4b762cf41c0 tests: a bunch of typos in test-discovery-obshashrange-cache.t
Anton Shestakov <av6@dwimlabs.net>
parents: 5851
diff changeset
89 client cache is warm
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
90
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
91 $ f -s main/.hg/cache/evoext*
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
92 main/.hg/cache/evoext-depthcache-00: size=88
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3965
diff changeset
93 main/.hg/cache/evoext-firstmerge-00: size=88
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
94 main/.hg/cache/evoext-obscache-00: size=72
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3965
diff changeset
95 main/.hg/cache/evoext-stablesortcache-00: size=92
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
96 main/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
97 main/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
98
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
99 initial pull
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
100 ------------
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
101
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
102 $ rm -rf main
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
103 $ hg init main
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
104 $ hg -R main pull ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
105 pulling from ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
106 requesting all changes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
107 adding changesets
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
108 adding manifests
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
109 adding file changes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
110 added 8 changesets with 0 changes to 0 files
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
111 8 new obsolescence markers
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
112 new changesets 1ea73414a91b:4de32a90b66c
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
113 (run 'hg update' to get a working copy)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
114
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
115 client cache is empty because the discovery was empty
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
116
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
117 $ f -s main/.hg/cache/evoext*
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
118 main/.hg/cache/evoext-obscache-00: size=72
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
119
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
120 no op pull
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
121 ------------
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
122
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
123 clear cache
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
124
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
125 $ rm -rf main/.hg/cache/evoext
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
126
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
127 pull nothing
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
128
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
129 $ hg -R main pull ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
130 pulling from ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
131 searching for changes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
132 no changes found
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
133 OBSEXC: looking for common markers in 8 nodes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
134
5852
f4b762cf41c0 tests: a bunch of typos in test-discovery-obshashrange-cache.t
Anton Shestakov <av6@dwimlabs.net>
parents: 5851
diff changeset
135 client cache is warm
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
136
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
137 $ f -s main/.hg/cache/evoext*
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
138 main/.hg/cache/evoext-depthcache-00: size=88
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3965
diff changeset
139 main/.hg/cache/evoext-firstmerge-00: size=88
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
140 main/.hg/cache/evoext-obscache-00: size=72
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3965
diff changeset
141 main/.hg/cache/evoext-stablesortcache-00: size=92
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
142 main/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
143 main/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
144
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
145 no op push
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
146 ------------
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
147
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
148 clear cache
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
149
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
150 $ rm -rf main/.hg/cache/evoext
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
151
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
152 push nothing
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
153
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
154 $ hg -R main push ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
155 pushing to ssh://user@dummy/server
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
156 searching for changes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
157 OBSEXC: computing relevant nodes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
158 OBSEXC: looking for common markers in 8 nodes
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
159 OBSEXC: markers already in sync
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
160 no changes found
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
161 [1]
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
162
5852
f4b762cf41c0 tests: a bunch of typos in test-discovery-obshashrange-cache.t
Anton Shestakov <av6@dwimlabs.net>
parents: 5851
diff changeset
163 client cache is warm
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
164
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
165 $ f -s main/.hg/cache/evoext*
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
166 main/.hg/cache/evoext-depthcache-00: size=88
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3965
diff changeset
167 main/.hg/cache/evoext-firstmerge-00: size=88
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
168 main/.hg/cache/evoext-obscache-00: size=72
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3965
diff changeset
169 main/.hg/cache/evoext-stablesortcache-00: size=92
3965
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
170 main/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob)
d4ae0e3ec743 test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
171 main/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob)
5860
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
172
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
173 let's look at the contents of the caches
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
174
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
175 the reason we're doing this is to make sure our serialization works the same
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
176 way on all platforms, see https://bz.mercurial-scm.org/show_bug.cgi?id=6354
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
177
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
178 we don't need to check sqlite caches
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
179
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
180 $ f -H main/.hg/cache/evoext-*
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
181 main/.hg/cache/evoext-depthcache-00:
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
182 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
183 0010: 41 27 7a a7 ab ca 51 dd 01 00 00 00 00 00 00 00 |A'z...Q.........|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
184 0020: 02 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
185 0030: 04 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
186 0040: 06 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
187 0050: 08 00 00 00 00 00 00 00 |........|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
188 main/.hg/cache/evoext-firstmerge-00:
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
189 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
190 0010: 41 27 7a a7 ab ca 51 dd ff ff ff ff ff ff ff ff |A'z...Q.........|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
191 0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
192 0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
193 0040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
194 0050: ff ff ff ff ff ff ff ff |........|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
195 main/.hg/cache/evoext-obscache-00:
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
196 0000: 00 00 00 00 00 00 00 07 4d e3 2a 90 b6 6c d0 83 |........M.*..l..|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
197 0010: eb f3 c0 0b 41 27 7a a7 ab ca 51 dd 00 00 00 00 |....A'z...Q.....|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
198 0020: 00 00 00 08 00 00 00 00 00 00 02 29 4c 16 b4 10 |...........)L...|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
199 0030: 03 f6 c1 57 8d 58 25 ef c7 73 cd 79 03 4b fb 46 |...W.X%..s.y.K.F|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
200 0040: 00 00 00 00 00 00 00 00 |........|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
201 main/.hg/cache/evoext-stablesortcache-00:
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
202 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
203 0010: 41 27 7a a7 ab ca 51 dd 00 00 00 40 00 00 00 00 |A'z...Q....@....|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
204 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
205 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
206 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
ed0b6dd95d66 tests: add a content check for evoext-* caches
Anton Shestakov <av6@dwimlabs.net>
parents: 5854
diff changeset
207 0050: 00 00 00 00 00 00 00 00 00 00 00 00 |............|
5861
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
208
5863
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
209 next let's see how caches deal with being written incorrectly
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
210
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
211 $ cat >> repack.py << EOF
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
212 > import struct
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
213 > import sys
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
214 > data = []
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
215 > with open(sys.argv[1], 'rb') as f:
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
216 > header = f.read(24)
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
217 > while True:
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
218 > buf = f.read(8)
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
219 > if not buf: break
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
220 > data.append(struct.unpack('<q', buf)[0])
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
221 > with open(sys.argv[1], 'wb') as f:
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
222 > f.write(header)
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
223 > for item in data:
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
224 > f.write(struct.pack('<l', item))
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
225 > EOF
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
226
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
227 $ cat >> truncate.py << EOF
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
228 > import os
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
229 > import sys
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
230 > with open(sys.argv[1], 'ab') as fp:
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
231 > fp.seek(int(sys.argv[2]), os.SEEK_END)
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
232 > fp.truncate()
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
233 > EOF
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
234
5861
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
235 $ hg -R main debugdepth --rev 'all()' --method compare --debug
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
236 1ea73414a91b 1
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
237 66f7d451a68b 2
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
238 01241442b3c2 3
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
239 2dc09a01254d 4
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
240 bebd167eb94d 5
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
241 c8d03c1b5e94 6
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
242 f69452c5b1af 7
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
243 4de32a90b66c 8
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
244
5863
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
245 $ "$PYTHON" repack.py main/.hg/cache/evoext-depthcache-00
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
246 $ f -H main/.hg/cache/evoext-depthcache-00
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
247 main/.hg/cache/evoext-depthcache-00:
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
248 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
249 0010: 41 27 7a a7 ab ca 51 dd 01 00 00 00 02 00 00 00 |A'z...Q.........|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
250 0020: 03 00 00 00 04 00 00 00 05 00 00 00 06 00 00 00 |................|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
251 0030: 07 00 00 00 08 00 00 00 |........|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
252
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
253 $ hg -R main debugdepth --rev 'all()' --method compare --debug
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
254 depthcache file seems to be corrupted, it will be rebuilt from scratch
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
255 1ea73414a91b 1
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
256 66f7d451a68b 2
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
257 01241442b3c2 3
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
258 2dc09a01254d 4
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
259 bebd167eb94d 5
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
260 c8d03c1b5e94 6
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
261 f69452c5b1af 7
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
262 4de32a90b66c 8
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
263
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
264 $ "$PYTHON" truncate.py main/.hg/cache/evoext-depthcache-00 -4
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
265 $ f -H main/.hg/cache/evoext-depthcache-00
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
266 main/.hg/cache/evoext-depthcache-00:
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
267 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
268 0010: 41 27 7a a7 ab ca 51 dd 01 00 00 00 00 00 00 00 |A'z...Q.........|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
269 0020: 02 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 |................|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
270 0030: 04 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 |................|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
271 0040: 06 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 |................|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
272 0050: 08 00 00 00 |....|
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
273
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
274 $ hg -R main debugdepth --rev 'all()' --method compare --debug
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
275 depthcache file seems to be corrupted, it will be rebuilt from scratch
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
276 1ea73414a91b 1
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
277 66f7d451a68b 2
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
278 01241442b3c2 3
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
279 2dc09a01254d 4
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
280 bebd167eb94d 5
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
281 c8d03c1b5e94 6
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
282 f69452c5b1af 7
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
283 4de32a90b66c 8
34c7661bd5e2 evolve: make depthcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5861
diff changeset
284
5864
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
285 $ hg -R main debugfirstmergecache --debug
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
286 1ea73414a91b -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
287 66f7d451a68b -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
288 01241442b3c2 -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
289 2dc09a01254d -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
290 bebd167eb94d -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
291 c8d03c1b5e94 -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
292 f69452c5b1af -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
293 4de32a90b66c -1
97f5b5b25299 evolve: add debugfirstmergecache command to simply dump the contents
Anton Shestakov <av6@dwimlabs.net>
parents: 5863
diff changeset
294
5865
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
295 $ "$PYTHON" repack.py main/.hg/cache/evoext-firstmerge-00
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
296 $ f -H main/.hg/cache/evoext-firstmerge-00
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
297 main/.hg/cache/evoext-firstmerge-00:
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
298 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
299 0010: 41 27 7a a7 ab ca 51 dd ff ff ff ff ff ff ff ff |A'z...Q.........|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
300 0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
301 0030: ff ff ff ff ff ff ff ff |........|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
302
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
303 $ hg -R main debugfirstmergecache --debug
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
304 firstmergecache file seems to be corrupted, it will be rebuilt from scratch
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
305 1ea73414a91b -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
306 66f7d451a68b -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
307 01241442b3c2 -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
308 2dc09a01254d -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
309 bebd167eb94d -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
310 c8d03c1b5e94 -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
311 f69452c5b1af -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
312 4de32a90b66c -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
313
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
314 $ "$PYTHON" truncate.py main/.hg/cache/evoext-firstmerge-00 -4
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
315 $ f -H main/.hg/cache/evoext-firstmerge-00
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
316 main/.hg/cache/evoext-firstmerge-00:
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
317 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
318 0010: 41 27 7a a7 ab ca 51 dd ff ff ff ff ff ff ff ff |A'z...Q.........|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
319 0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
320 0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
321 0040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
322 0050: ff ff ff ff |....|
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
323
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
324 $ hg -R main debugfirstmergecache --debug
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
325 firstmergecache file seems to be corrupted, it will be rebuilt from scratch
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
326 1ea73414a91b -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
327 66f7d451a68b -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
328 01241442b3c2 -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
329 2dc09a01254d -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
330 bebd167eb94d -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
331 c8d03c1b5e94 -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
332 f69452c5b1af -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
333 4de32a90b66c -1
d7ed88810457 evolve: make firstmergecache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5864
diff changeset
334
5861
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
335 $ hg -R main debugstablesortcache --debug
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
336 number of revisions: 8
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
337 number of merge: 0
bf8a61f1c616 tests: add some cache sanity checks based on already existing debug commands
Anton Shestakov <av6@dwimlabs.net>
parents: 5860
diff changeset
338 number of jumps: 0
5866
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
339
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
340 $ "$PYTHON" truncate.py main/.hg/cache/evoext-stablesortcache-00 -4
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
341 $ f -H main/.hg/cache/evoext-stablesortcache-00
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
342 main/.hg/cache/evoext-stablesortcache-00:
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
343 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......|
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
344 0010: 41 27 7a a7 ab ca 51 dd 00 00 00 40 00 00 00 00 |A'z...Q....@....|
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
345 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
346 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
347 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
348 0050: 00 00 00 00 00 00 00 00 |........|
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
349
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
350 $ hg -R main debugstablesortcache --debug
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
351 number of revisions: 8
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
352 stablesortcache file seems to be corrupted, it will be rebuilt from scratch
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
353 number of merge: 0
5931ad39ea37 evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
Anton Shestakov <av6@dwimlabs.net>
parents: 5865
diff changeset
354 number of jumps: 0