author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Tue, 11 Mar 2025 02:29:42 +0100 | |
branch | stable |
changeset 53042 | cdd7bf612c7b |
parent 52459 | db85e2aaf66e |
permissions | -rw-r--r-- |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
1 |
==================================== |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
2 |
Test delta choice with sparse revlog |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
3 |
==================================== |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
4 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
5 |
Sparse-revlog usually shows the most gain on Manifest. However, it is simpler |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
6 |
to general an appropriate file, so we test with a single file instead. The |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
7 |
goal is to observe intermediate snapshot being created. |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
8 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
9 |
We need a large enough file. Part of the content needs to be replaced |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
10 |
repeatedly while some of it changes rarely. |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
11 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
12 |
$ bundlepath="$TESTDIR/artifacts/cache/big-file-churn.hg" |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
13 |
|
52440
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
14 |
#if pure |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
15 |
$ expectedhash=`cat "$bundlepath".md5` |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
16 |
$ if [ ! -f "$bundlepath" ]; then |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
17 |
> echo 'skipped: missing artifact, run "'"$TESTDIR"'/artifacts/scripts/generate-churning-bundle.py"' |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
18 |
> exit 80 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
19 |
> fi |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
20 |
$ currenthash=`f -M "$bundlepath" | cut -d = -f 2` |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
21 |
$ if [ "$currenthash" != "$expectedhash" ]; then |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
22 |
> echo 'skipped: outdated artifact, md5 "'"$currenthash"'" expected "'"$expectedhash"'" run "'"$TESTDIR"'/artifacts/scripts/generate-churning-bundle.py"' |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
23 |
> exit 80 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
24 |
> fi |
52440
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
25 |
#else |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
26 |
|
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
27 |
#if slow |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
28 |
$ LAZY_GEN="" |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
29 |
|
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
30 |
#else |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
31 |
$ LAZY_GEN="--lazy" |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
32 |
#endif |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
33 |
|
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
34 |
#endif |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
35 |
|
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
36 |
If the validation fails, either something is broken or the expected md5 need updating. |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
37 |
To update the md5, invoke the script without --validate |
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
38 |
|
24c3b3dbab08
test-sparse-revlog: make the large bundle generation more robust and useful
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52438
diff
changeset
|
39 |
$ "$TESTDIR"/artifacts/scripts/generate-churning-bundle.py --validate $LAZY_GEN > /dev/null |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
40 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
41 |
$ cat >> $HGRCPATH << EOF |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
42 |
> [format] |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
43 |
> sparse-revlog = yes |
39506
b66ea3fc3a86
sparse-revlog: set max delta chain length to on thousand
Boris Feld <boris.feld@octobus.net>
parents:
39505
diff
changeset
|
44 |
> maxchainlen = 15 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
45 |
> revlog-compression=zlib |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
46 |
> [storage] |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
47 |
> revlog.optimize-delta-parent-choice = yes |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
48 |
> revlog.reuse-external-delta-parent = no |
41819
688fc33e105d
storage: introduce a `revlog.reuse-external-delta` config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
41818
diff
changeset
|
49 |
> revlog.reuse-external-delta = no |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
50 |
> EOF |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
51 |
$ hg init sparse-repo |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
52 |
$ cd sparse-repo |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
53 |
$ hg unbundle $bundlepath |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
54 |
adding changesets |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
55 |
adding manifests |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
56 |
adding file changes |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
57 |
added 5001 changesets with 5001 changes to 1 files (+89 heads) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
58 |
new changesets 9706f5af64f4:e4eee5e41c37 (5001 drafts) |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
59 |
(run 'hg heads' to see heads, 'hg merge' to merge) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
60 |
$ hg up |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
61 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
62 |
updated to "e4eee5e41c37: commit #5000" |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
63 |
89 other heads for branch "default" |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
64 |
|
52436
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
65 |
Sanity check the graph shape |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
66 |
|
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
67 |
$ hg log -T '{rev} {p1rev} {p2rev}\n' --rev '0:100' |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
68 |
0 -1 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
69 |
1 0 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
70 |
2 1 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
71 |
3 2 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
72 |
4 3 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
73 |
5 4 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
74 |
6 5 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
75 |
7 1 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
76 |
8 7 6 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
77 |
9 8 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
78 |
10 9 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
79 |
11 10 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
80 |
12 11 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
81 |
13 12 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
82 |
14 1 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
83 |
15 14 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
84 |
16 15 13 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
85 |
17 16 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
86 |
18 17 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
87 |
19 18 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
88 |
20 19 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
89 |
21 16 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
90 |
22 21 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
91 |
23 22 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
92 |
24 23 20 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
93 |
25 24 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
94 |
26 25 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
95 |
27 26 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
96 |
28 21 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
97 |
29 28 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
98 |
30 29 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
99 |
31 30 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
100 |
32 31 27 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
101 |
33 32 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
102 |
34 33 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
103 |
35 31 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
104 |
36 35 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
105 |
37 36 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
106 |
38 37 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
107 |
39 38 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
108 |
40 39 34 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
109 |
41 40 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
110 |
42 36 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
111 |
43 42 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
112 |
44 43 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
113 |
45 44 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
114 |
46 45 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
115 |
47 46 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
116 |
48 47 41 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
117 |
49 36 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
118 |
50 49 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
119 |
51 50 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
120 |
52 51 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
121 |
53 52 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
122 |
54 53 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
123 |
55 54 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
124 |
56 51 48 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
125 |
57 56 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
126 |
58 57 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
127 |
59 58 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
128 |
60 59 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
129 |
61 60 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
130 |
62 61 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
131 |
63 56 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
132 |
64 63 55 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
133 |
65 64 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
134 |
66 65 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
135 |
67 66 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
136 |
68 67 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
137 |
69 68 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
138 |
70 66 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
139 |
71 70 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
140 |
72 71 62 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
141 |
73 72 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
142 |
74 73 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
143 |
75 74 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
144 |
76 75 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
145 |
77 71 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
146 |
78 77 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
147 |
79 78 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
148 |
80 79 69 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
149 |
81 80 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
150 |
82 81 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
151 |
83 82 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
152 |
84 71 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
153 |
85 84 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
154 |
86 85 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
155 |
87 86 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
156 |
88 87 76 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
157 |
89 88 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
158 |
90 89 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
159 |
91 86 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
160 |
92 91 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
161 |
93 92 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
162 |
94 93 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
163 |
95 94 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
164 |
96 95 83 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
165 |
97 96 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
166 |
98 91 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
167 |
99 98 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
168 |
100 99 -1 |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
169 |
|
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
170 |
sanity check the change pattern |
599c696bb514
test-sparse-revlog: sanity check more part of the graph
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52435
diff
changeset
|
171 |
|
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
172 |
$ hg log --stat -r 0:3 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
173 |
changeset: 0:9706f5af64f4 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
174 |
user: test |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
175 |
date: Thu Jan 01 00:00:00 1970 +0000 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
176 |
summary: initial commit |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
177 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
178 |
SPARSE-REVLOG-TEST-FILE | 10500 ++++++++++++++++++++++++++++++++++++++++++++++ |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
179 |
1 files changed, 10500 insertions(+), 0 deletions(-) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
180 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
181 |
changeset: 1:724907deaa5e |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
182 |
user: test |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
183 |
date: Thu Jan 01 00:00:00 1970 +0000 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
184 |
summary: commit #1 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
185 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
186 |
SPARSE-REVLOG-TEST-FILE | 1068 +++++++++++++++++++++++----------------------- |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
187 |
1 files changed, 534 insertions(+), 534 deletions(-) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
188 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
189 |
changeset: 2:62c41bce3e5d |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
190 |
user: test |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
191 |
date: Thu Jan 01 00:00:00 1970 +0000 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
192 |
summary: commit #2 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
193 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
194 |
SPARSE-REVLOG-TEST-FILE | 1068 +++++++++++++++++++++++----------------------- |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
195 |
1 files changed, 534 insertions(+), 534 deletions(-) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
196 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
197 |
changeset: 3:348a9cbd6959 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
198 |
user: test |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
199 |
date: Thu Jan 01 00:00:00 1970 +0000 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
200 |
summary: commit #3 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
201 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
202 |
SPARSE-REVLOG-TEST-FILE | 1068 +++++++++++++++++++++++----------------------- |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
203 |
1 files changed, 534 insertions(+), 534 deletions(-) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
204 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
205 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
206 |
$ f -s .hg/store/data/*.d |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
207 |
.hg/store/data/_s_p_a_r_s_e-_r_e_v_l_o_g-_t_e_s_t-_f_i_l_e.d: size=81370673 |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
208 |
$ hg debugrevlog * |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
209 |
format : 1 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
210 |
flags : generaldelta |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
211 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
212 |
revisions : 5001 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
213 |
merges : 625 (12.50%) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
214 |
normal : 4376 (87.50%) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
215 |
revisions : 5001 |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
216 |
empty : 0 ( 0.00%) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
217 |
text : 0 (100.00%) |
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
218 |
delta : 0 (100.00%) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
219 |
snapshot : 360 ( 7.20%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
220 |
lvl-0 : 11 ( 0.22%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
221 |
lvl-1 : 50 ( 1.00%) non-ancestor-bases: 41 (82.00%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
222 |
lvl-2 : 128 ( 2.56%) non-ancestor-bases: 119 (92.97%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
223 |
lvl-3 : 122 ( 2.44%) non-ancestor-bases: 111 (90.98%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
224 |
lvl-4 : 49 ( 0.98%) non-ancestor-bases: 46 (93.88%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
225 |
deltas : 4641 (92.80%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
226 |
revision size : 81370673 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
227 |
snapshot : 16282100 (20.01%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
228 |
lvl-0 : 2188012 ( 2.69%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
229 |
lvl-1 : 4848143 ( 5.96%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
230 |
lvl-2 : 5366175 ( 6.59%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
231 |
lvl-3 : 3085157 ( 3.79%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
232 |
lvl-4 : 794613 ( 0.98%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
233 |
deltas : 65088573 (79.99%) |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
234 |
|
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
235 |
chunks : 5001 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
236 |
0x78 (x) : 5001 (100.00%) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
237 |
chunks size : 81370673 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
238 |
0x78 (x) : 81370673 (100.00%) |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
239 |
|
49662
7aea9babac5d
debugrevlog: display total stored information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49661
diff
changeset
|
240 |
|
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
241 |
total-stored-content: 1 717 863 086 bytes |
49662
7aea9babac5d
debugrevlog: display total stored information
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49661
diff
changeset
|
242 |
|
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
243 |
avg chain length : 8 |
39506
b66ea3fc3a86
sparse-revlog: set max delta chain length to on thousand
Boris Feld <boris.feld@octobus.net>
parents:
39505
diff
changeset
|
244 |
max chain length : 15 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
245 |
max chain reach : 18326506 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
246 |
compression ratio : 21 |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
247 |
|
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
248 |
uncompressed data size (min/max/avg) : 339930 / 346471 / 343503 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
249 |
full revision size (min/max/avg) : 196682 / 201129 / 198910 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
250 |
inter-snapshot size (min/max/avg) : 11620 / 172223 / 40384 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
251 |
level-1 (min/max/avg) : 14329 / 172223 / 96962 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
252 |
level-2 (min/max/avg) : 11664 / 86421 / 41923 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
253 |
level-3 (min/max/avg) : 11620 / 42674 / 25288 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
254 |
level-4 (min/max/avg) : 11631 / 21209 / 16216 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
255 |
delta size (min/max/avg) : 10610 / 190651 / 14024 |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
256 |
|
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
257 |
deltas against prev : 3916 (84.38%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
258 |
where prev = p1 : 3916 (100.00%) |
39491
4ca7a67c94c8
sparse-revlog: add a test checking revlog deltas for a churning file
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
259 |
where prev = p2 : 0 ( 0.00%) |
49661
511106bcb16c
debug-revlog: details about non-ancestors delta-bases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49623
diff
changeset
|
260 |
other-ancestor : 0 ( 0.00%) |
511106bcb16c
debug-revlog: details about non-ancestors delta-bases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49623
diff
changeset
|
261 |
unrelated : 0 ( 0.00%) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
262 |
deltas against p1 : 667 (14.37%) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
263 |
deltas against p2 : 58 ( 1.25%) |
49661
511106bcb16c
debug-revlog: details about non-ancestors delta-bases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49623
diff
changeset
|
264 |
deltas against ancs : 0 ( 0.00%) |
41794
c59987ab96b4
test: don't trust delta bases from the bundle in test-sparse-revlog.t
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
41793
diff
changeset
|
265 |
deltas against other : 0 ( 0.00%) |
49225
58a814d062ca
test: update `test-sparse-revlog` output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
41819
diff
changeset
|
266 |
|
49228
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
267 |
|
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
268 |
Test `debug-delta-find` |
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
269 |
----------------------- |
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
270 |
|
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
271 |
$ ls -1 |
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
272 |
SPARSE-REVLOG-TEST-FILE |
49353
fa8d974284f8
test: fix test-sparse-revlog output after debugdeltachain change
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49228
diff
changeset
|
273 |
$ hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep snap | tail -1 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
274 |
4996 4995 -1 11 3 4947 snap |
52459
db85e2aaf66e
test-sparse-revlog: fix macos sed invocation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52440
diff
changeset
|
275 |
$ LAST_SNAP=`hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep snap | tail -1| sed 's/^ *//'| cut -d ' ' -f 1` |
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
276 |
$ echo Last Snapshot: $LAST_SNAP |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
277 |
Last Snapshot: 4996 |
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
278 |
$ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
279 |
DBG-DELTAS-SEARCH: SEARCH rev=4996 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
280 |
DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
281 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4964 |
51329
2e169a222e63
delta-find: fix the computation of the `prev` value
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51073
diff
changeset
|
282 |
DBG-DELTAS-SEARCH: type=snapshot-3 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
283 |
DBG-DELTAS-SEARCH: size=15153 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
284 |
DBG-DELTAS-SEARCH: base=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
285 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
49228
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
286 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
287 |
DBG-DELTAS-SEARCH: DELTA: length=36297 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
288 |
DBG-DELTAS-SEARCH: ROUND #2 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
289 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
290 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
291 |
DBG-DELTAS-SEARCH: size=30977 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
292 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
293 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
294 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
295 |
DBG-DELTAS-SEARCH: DELTA: length=36578 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
296 |
DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
297 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
298 |
DBG-DELTAS-SEARCH: type=snapshot-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
299 |
DBG-DELTAS-SEARCH: size=164878 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
300 |
DBG-DELTAS-SEARCH: base=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
301 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=87938 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
302 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
303 |
DBG-DELTAS-SEARCH: DELTA: length=52101 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
304 |
DBG-DELTAS-SEARCH: ROUND #4 - 1 candidates - refine-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
305 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
306 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
307 |
DBG-DELTAS-SEARCH: type=snapshot-0 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
308 |
DBG-DELTAS-SEARCH: size=196699 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
309 |
DBG-DELTAS-SEARCH: base=-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
310 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=281309 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
311 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
312 |
DBG-DELTAS-SEARCH: DELTA: length=165408 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
313 |
DBG-DELTAS-SEARCH: ROUND #5 - 1 candidates - refine-up |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
314 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
315 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4954 |
49228
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
316 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
317 |
DBG-DELTAS-SEARCH: size=58198 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
318 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
319 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=92195 |
49228
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
320 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
321 |
DBG-DELTAS-SEARCH: DELTA: length=54601 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
322 |
DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4996: delta-base=4947 is-cached=0 - search-rounds=5 try-count=5 - delta-type=snapshot snap-depth=2 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob) |
49228
b909dd35d9ab
deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49225
diff
changeset
|
323 |
|
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
324 |
$ cat << EOF >>.hg/hgrc |
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
325 |
> [storage] |
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
326 |
> revlog.optimize-delta-parent-choice = no |
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
327 |
> revlog.reuse-external-delta = yes |
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
328 |
> EOF |
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
329 |
|
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
330 |
$ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --quiet |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
331 |
DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4996: delta-base=4947 is-cached=0 - search-rounds=5 try-count=5 - delta-type=snapshot snap-depth=2 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob) |
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
332 |
$ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source full |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
333 |
DBG-DELTAS-SEARCH: SEARCH rev=4996 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
334 |
DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
335 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4964 |
51329
2e169a222e63
delta-find: fix the computation of the `prev` value
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51073
diff
changeset
|
336 |
DBG-DELTAS-SEARCH: type=snapshot-3 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
337 |
DBG-DELTAS-SEARCH: size=15153 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
338 |
DBG-DELTAS-SEARCH: base=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
339 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
340 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
341 |
DBG-DELTAS-SEARCH: DELTA: length=36297 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
342 |
DBG-DELTAS-SEARCH: ROUND #2 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
343 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
344 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
345 |
DBG-DELTAS-SEARCH: size=30977 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
346 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
347 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
348 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
349 |
DBG-DELTAS-SEARCH: DELTA: length=36578 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
350 |
DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
351 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
352 |
DBG-DELTAS-SEARCH: type=snapshot-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
353 |
DBG-DELTAS-SEARCH: size=164878 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
354 |
DBG-DELTAS-SEARCH: base=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
355 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=87938 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
356 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
357 |
DBG-DELTAS-SEARCH: DELTA: length=52101 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
358 |
DBG-DELTAS-SEARCH: ROUND #4 - 1 candidates - refine-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
359 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
360 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
361 |
DBG-DELTAS-SEARCH: type=snapshot-0 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
362 |
DBG-DELTAS-SEARCH: size=196699 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
363 |
DBG-DELTAS-SEARCH: base=-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
364 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=281309 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
365 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
366 |
DBG-DELTAS-SEARCH: DELTA: length=165408 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
367 |
DBG-DELTAS-SEARCH: ROUND #5 - 1 candidates - refine-up |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
368 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
369 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4954 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
370 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
371 |
DBG-DELTAS-SEARCH: size=58198 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
372 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
373 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=92195 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
374 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
375 |
DBG-DELTAS-SEARCH: DELTA: length=54601 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
376 |
DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4996: delta-base=4947 is-cached=0 - search-rounds=5 try-count=5 - delta-type=snapshot snap-depth=2 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob) |
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
377 |
$ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source storage |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
378 |
DBG-DELTAS-SEARCH: SEARCH rev=4996 |
49608
78ba41878f2e
delta-find: add debug information about reuse of cached data
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49589
diff
changeset
|
379 |
DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - cached-delta |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
380 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
381 |
DBG-DELTAS-SEARCH: type=snapshot-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
382 |
DBG-DELTAS-SEARCH: size=164878 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
383 |
DBG-DELTAS-SEARCH: base=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
384 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=87938 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
385 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
386 |
DBG-DELTAS-SEARCH: DELTA: length=52101 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
387 |
DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4996: delta-base=4947 is-cached=1 - search-rounds=1 try-count=1 - delta-type=delta snap-depth=-1 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob) |
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
388 |
$ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source p1 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
389 |
DBG-DELTAS-SEARCH: SEARCH rev=4996 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
390 |
DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
391 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4964 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
392 |
DBG-DELTAS-SEARCH: type=snapshot-3 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
393 |
DBG-DELTAS-SEARCH: size=15153 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
394 |
DBG-DELTAS-SEARCH: base=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
395 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
51329
2e169a222e63
delta-find: fix the computation of the `prev` value
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51073
diff
changeset
|
396 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
397 |
DBG-DELTAS-SEARCH: DELTA: length=36297 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
398 |
DBG-DELTAS-SEARCH: ROUND #2 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
399 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
400 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
401 |
DBG-DELTAS-SEARCH: size=30977 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
402 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
403 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
404 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
405 |
DBG-DELTAS-SEARCH: DELTA: length=36578 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
406 |
DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
407 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
408 |
DBG-DELTAS-SEARCH: type=snapshot-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
409 |
DBG-DELTAS-SEARCH: size=164878 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
410 |
DBG-DELTAS-SEARCH: base=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
411 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=87938 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
412 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
413 |
DBG-DELTAS-SEARCH: DELTA: length=52101 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
414 |
DBG-DELTAS-SEARCH: ROUND #4 - 1 candidates - refine-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
415 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
416 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
417 |
DBG-DELTAS-SEARCH: type=snapshot-0 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
418 |
DBG-DELTAS-SEARCH: size=196699 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
419 |
DBG-DELTAS-SEARCH: base=-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
420 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=281309 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
421 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
422 |
DBG-DELTAS-SEARCH: DELTA: length=165408 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
423 |
DBG-DELTAS-SEARCH: ROUND #5 - 1 candidates - refine-up |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
424 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
425 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4954 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
426 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
427 |
DBG-DELTAS-SEARCH: size=58198 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
428 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
429 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=92195 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
430 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
431 |
DBG-DELTAS-SEARCH: DELTA: length=54601 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
432 |
DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4996: delta-base=4947 is-cached=0 - search-rounds=5 try-count=5 - delta-type=snapshot snap-depth=2 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob) |
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
433 |
$ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source p2 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
434 |
DBG-DELTAS-SEARCH: SEARCH rev=4996 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
435 |
DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
436 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4964 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
437 |
DBG-DELTAS-SEARCH: type=snapshot-3 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
438 |
DBG-DELTAS-SEARCH: size=15153 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
439 |
DBG-DELTAS-SEARCH: base=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
440 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
441 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
442 |
DBG-DELTAS-SEARCH: DELTA: length=36297 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
443 |
DBG-DELTAS-SEARCH: ROUND #2 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
444 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
445 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
446 |
DBG-DELTAS-SEARCH: size=30977 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
447 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
448 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
449 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
450 |
DBG-DELTAS-SEARCH: DELTA: length=36578 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
451 |
DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
452 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
453 |
DBG-DELTAS-SEARCH: type=snapshot-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
454 |
DBG-DELTAS-SEARCH: size=164878 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
455 |
DBG-DELTAS-SEARCH: base=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
456 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=87938 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
457 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
458 |
DBG-DELTAS-SEARCH: DELTA: length=52101 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
459 |
DBG-DELTAS-SEARCH: ROUND #4 - 1 candidates - refine-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
460 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
461 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
462 |
DBG-DELTAS-SEARCH: type=snapshot-0 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
463 |
DBG-DELTAS-SEARCH: size=196699 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
464 |
DBG-DELTAS-SEARCH: base=-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
465 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=281309 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
466 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
467 |
DBG-DELTAS-SEARCH: DELTA: length=165408 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
468 |
DBG-DELTAS-SEARCH: ROUND #5 - 1 candidates - refine-up |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
469 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
470 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4954 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
471 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
472 |
DBG-DELTAS-SEARCH: size=58198 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
473 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
474 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=92195 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
475 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
476 |
DBG-DELTAS-SEARCH: DELTA: length=54601 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
477 |
DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4996: delta-base=4947 is-cached=0 - search-rounds=5 try-count=5 - delta-type=snapshot snap-depth=2 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob) |
52433
9db98b503596
test-sparse-revlog: abstract the last snapshot we use during test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51347
diff
changeset
|
478 |
$ hg debug-delta-find SPARSE-REVLOG-TEST-FILE $LAST_SNAP --source prev |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
479 |
DBG-DELTAS-SEARCH: SEARCH rev=4996 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
480 |
DBG-DELTAS-SEARCH: ROUND #1 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
481 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4964 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
482 |
DBG-DELTAS-SEARCH: type=snapshot-3 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
483 |
DBG-DELTAS-SEARCH: size=15153 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
484 |
DBG-DELTAS-SEARCH: base=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
485 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
486 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
487 |
DBG-DELTAS-SEARCH: DELTA: length=36297 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
488 |
DBG-DELTAS-SEARCH: ROUND #2 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
489 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4958 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
490 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
491 |
DBG-DELTAS-SEARCH: size=30977 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
492 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
493 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=61571 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
494 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
495 |
DBG-DELTAS-SEARCH: DELTA: length=36578 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
496 |
DBG-DELTAS-SEARCH: ROUND #3 - 1 candidates - search-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
497 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
498 |
DBG-DELTAS-SEARCH: type=snapshot-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
499 |
DBG-DELTAS-SEARCH: size=164878 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
500 |
DBG-DELTAS-SEARCH: base=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
501 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=87938 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
502 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
503 |
DBG-DELTAS-SEARCH: DELTA: length=52101 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
504 |
DBG-DELTAS-SEARCH: ROUND #4 - 1 candidates - refine-down |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
505 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
506 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4667 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
507 |
DBG-DELTAS-SEARCH: type=snapshot-0 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
508 |
DBG-DELTAS-SEARCH: size=196699 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
509 |
DBG-DELTAS-SEARCH: base=-1 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
510 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=281309 |
52435
7e954b08d129
test-sparse-revlog: use zlib compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52433
diff
changeset
|
511 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
512 |
DBG-DELTAS-SEARCH: DELTA: length=165408 (GOOD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
513 |
DBG-DELTAS-SEARCH: ROUND #5 - 1 candidates - refine-up |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
514 |
DBG-DELTAS-SEARCH: CONTENDER: rev=4947 - length=52101 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
515 |
DBG-DELTAS-SEARCH: CANDIDATE: rev=4954 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
516 |
DBG-DELTAS-SEARCH: type=snapshot-2 |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
517 |
DBG-DELTAS-SEARCH: size=58198 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
518 |
DBG-DELTAS-SEARCH: base=4947 |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
519 |
DBG-DELTAS-SEARCH: uncompressed-delta-size=92195 |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
520 |
DBG-DELTAS-SEARCH: delta-search-time=* (glob) |
52438
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
521 |
DBG-DELTAS-SEARCH: DELTA: length=54601 (BAD) |
9feb175c028d
test-sparse-revlog: build the content directly in memory
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
52436
diff
changeset
|
522 |
DBG-DELTAS: FILELOG:SPARSE-REVLOG-TEST-FILE: rev=4996: delta-base=4947 is-cached=0 - search-rounds=5 try-count=5 - delta-type=snapshot snap-depth=2 - p1-chain-length=15 p2-chain-length=-1 - duration=*.?????? (glob) |
49589
266bb5c86f4b
debug-delta-find: add a --source option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
49353
diff
changeset
|
523 |
|
49225
58a814d062ca
test: update `test-sparse-revlog` output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
41819
diff
changeset
|
524 |
$ cd .. |