annotate tests/test-stream-bundle-v2.t @ 51353:5cc04a6da19d

delta-find: move the emotion of parents in a dedicated method After splitting the filtering, and with the `_candidate_groups` layer removed, we can start splitting the group generation too. This helps to organize this code and make it easier to modifying the future.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 23 Nov 2023 21:51:43 +0100
parents dcaa2df1f688
children 4a9d0898bf16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37349
36b2a304216c tests: disable tests for advanced clone features with simple store
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37211
diff changeset
1 #require no-reposimplestore
36b2a304216c tests: disable tests for advanced clone features with simple store
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37211
diff changeset
2
50533
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
3 #testcases stream-v2 stream-v3
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
4
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
5 #if stream-v2
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
6 $ bundle_format="streamv2"
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
7 $ stream_version="v2"
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
8 #endif
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
9 #if stream-v3
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
10 $ bundle_format="streamv3-exp"
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
11 $ stream_version="v3-exp"
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
12 $ cat << EOF >> $HGRCPATH
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
13 > [experimental]
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
14 > stream-v3=yes
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
15 > EOF
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
16 #endif
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
17
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
18 Test creating a consuming stream bundle v2 and v3
37166
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
19
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
20 $ getmainid() {
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
21 > hg -R main log --template '{node}\n' --rev "$1"
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
22 > }
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
23
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
24 $ cp $HGRCPATH $TESTTMP/hgrc.orig
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
25
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
26 $ cat >> $HGRCPATH << EOF
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
27 > [experimental]
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
28 > evolution.createmarkers=True
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
29 > evolution.exchange=True
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
30 > bundle2-output-capture=True
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
31 > [ui]
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
32 > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
33 > [web]
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
34 > push_ssl = false
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
35 > allow_push = *
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
36 > [phases]
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
37 > publish=False
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
38 > [extensions]
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
39 > drawdag=$TESTDIR/drawdag.py
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
40 > clonebundles=
37166
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
41 > EOF
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
42
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
43 The extension requires a repo (currently unused)
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
44
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
45 $ hg init main
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
46 $ cd main
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
47
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
48 $ hg debugdrawdag <<'EOF'
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
49 > E
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
50 > |
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
51 > D
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
52 > |
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
53 > C
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
54 > |
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
55 > B
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
56 > |
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
57 > A
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
58 > EOF
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
59
50533
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
60 $ hg bundle -a --type="none-v2;stream=$stream_version" bundle.hg
37166
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
61 $ hg debugbundle bundle.hg
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
62 Stream params: {}
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
63 stream2 -- {bytecount: 1693, filecount: 12, requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 no-zstd !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
64 stream2 -- {bytecount: 1693, filecount: 12, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 zstd no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
65 stream2 -- {bytecount: 1819, filecount: 14, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 rust !)
50706
0452af304808 stream-clone: add a v3 version of the protocol
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50701
diff changeset
66 stream3-exp -- {requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 no-zstd !)
0452af304808 stream-clone: add a v3 version of the protocol
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50701
diff changeset
67 stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 zstd no-rust !)
0452af304808 stream-clone: add a v3 version of the protocol
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50701
diff changeset
68 stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 rust !)
37166
568e9b928c4c streambundlev2: add a new test-file
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
69 $ hg debugbundle --spec bundle.hg
50533
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
70 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v2 no-zstd !)
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
71 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v2 zstd no-rust !)
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
72 none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v2 rust !)
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
73 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v3 no-zstd !)
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
74 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v3 zstd no-rust !)
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
75 none-v2;stream=v3-exp;requirements%3Dgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog (stream-v3 rust !)
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
76
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
77 Test that we can apply the bundle as a stream clone bundle
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
78
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
79 $ cat > .hg/clonebundles.manifest << EOF
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
80 > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=`hg debugbundle --spec bundle.hg`
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
81 > EOF
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
82
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
83 $ hg serve -d -p $HGPORT --pid-file hg.pid --accesslog access.log
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
84 $ cat hg.pid >> $DAEMON_PIDS
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
85
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
86 $ "$PYTHON" $TESTDIR/dumbhttp.py -p $HGPORT1 --pid http.pid
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
87 $ cat http.pid >> $DAEMON_PIDS
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
88
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
89 $ cd ..
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
90
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
91 #if stream-v2
50533
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
92 $ hg clone http://localhost:$HGPORT stream-clone-implicit --debug
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
93 using http://localhost:$HGPORT/
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
94 sending capabilities command
50701
4238e6b22fc4 clonebundles: introduce a new write protocol command
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50533
diff changeset
95 sending clonebundles_manifest command
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
96 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
97 bundle2-input-bundle: with-transaction
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
98 bundle2-input-part: "stream2" (params: 3 mandatory) supported
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
99 applying stream bundle
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
100 12 files to transfer, 1.65 KB of data (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
101 14 files to transfer, 1.78 KB of data (rust !)
37211
77f9e95fe3c4 tests: conditionalize test-stream-bundle-v2 for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 37170
diff changeset
102 starting 4 threads for background file closing (?)
77f9e95fe3c4 tests: conditionalize test-stream-bundle-v2 for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 37170
diff changeset
103 starting 4 threads for background file closing (?)
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
104 adding [s] data/A.i (66 bytes)
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
105 adding [s] data/B.i (66 bytes)
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
106 adding [s] data/C.i (66 bytes)
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
107 adding [s] data/D.i (66 bytes)
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
108 adding [s] data/E.i (66 bytes)
50513
5a62d56e3955 store: yield phases before changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48693
diff changeset
109 adding [s] phaseroots (43 bytes)
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
110 adding [s] 00manifest.i (584 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
111 adding [s] 00changelog.n (62 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
112 adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
113 adding [s] 00changelog.d (275 bytes)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
114 adding [s] 00changelog.i (320 bytes)
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
115 adding [c] branch2-served (94 bytes)
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
116 adding [c] rbc-names-v1 (7 bytes)
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
117 adding [c] rbc-revs-v1 (40 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
118 transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
119 bundle2-input-part: total payload size 1857 (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
120 transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
121 bundle2-input-part: total payload size 2025 (rust !)
42931
181ee2118a96 bundle2: fix an off-by-one in debug message of number of parts
Martin von Zweigbergk <martinvonz@google.com>
parents: 40919
diff changeset
122 bundle2-input-bundle: 1 parts total
39301
5763216ba311 transaction: remember original len(repo) instead of tracking added revs (API)
Yuya Nishihara <yuya@tcha.org>
parents: 37841
diff changeset
123 updating the branch cache
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
124 finished applying clone bundle
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
125 query 1; heads
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
126 sending batch command
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
127 searching for changes
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
128 all remote heads known locally
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
129 no changes found
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
130 sending getbundle command
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
131 bundle2-input-bundle: with-transaction
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
132 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
133 bundle2-input-part: "phase-heads" supported
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
134 bundle2-input-part: total payload size 24
42931
181ee2118a96 bundle2: fix an off-by-one in debug message of number of parts
Martin von Zweigbergk <martinvonz@google.com>
parents: 40919
diff changeset
135 bundle2-input-bundle: 2 parts total
37169
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
136 checking for updated bookmarks
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
137 updating to branch default
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
138 resolving manifests
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
139 branchmerge: False, force: False, partial: False
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
140 ancestor: 000000000000, local: 000000000000+, remote: 9bc730a19041
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
141 A: remote created -> g
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
142 getting A
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
143 B: remote created -> g
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
144 getting B
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
145 C: remote created -> g
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
146 getting C
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
147 D: remote created -> g
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
148 getting D
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
149 E: remote created -> g
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
150 getting E
99f28a4b2a3a streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents: 37168
diff changeset
151 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
46314
95a615dd77bf clone: make sure we warm the cache after a clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42931
diff changeset
152 updating the branch cache
40034
393e44324037 httppeer: report http statistics
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39301
diff changeset
153 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
154
50533
f4a540c203d7 stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents: 50513
diff changeset
155 $ hg clone --stream http://localhost:$HGPORT stream-clone-explicit --debug
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
156 using http://localhost:$HGPORT/
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
157 sending capabilities command
50701
4238e6b22fc4 clonebundles: introduce a new write protocol command
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50533
diff changeset
158 sending clonebundles_manifest command
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
159 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
160 bundle2-input-bundle: with-transaction
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
161 bundle2-input-part: "stream2" (params: 3 mandatory) supported
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
162 applying stream bundle
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
163 12 files to transfer, 1.65 KB of data (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
164 14 files to transfer, 1.78 KB of data (rust !)
37211
77f9e95fe3c4 tests: conditionalize test-stream-bundle-v2 for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 37170
diff changeset
165 starting 4 threads for background file closing (?)
77f9e95fe3c4 tests: conditionalize test-stream-bundle-v2 for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 37170
diff changeset
166 starting 4 threads for background file closing (?)
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
167 adding [s] data/A.i (66 bytes)
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
168 adding [s] data/B.i (66 bytes)
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
169 adding [s] data/C.i (66 bytes)
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
170 adding [s] data/D.i (66 bytes)
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
171 adding [s] data/E.i (66 bytes)
50513
5a62d56e3955 store: yield phases before changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48693
diff changeset
172 adding [s] phaseroots (43 bytes)
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
173 adding [s] 00manifest.i (584 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
174 adding [s] 00changelog.n (62 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
175 adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
176 adding [s] 00changelog.d (275 bytes)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
177 adding [s] 00changelog.i (320 bytes)
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
178 adding [c] branch2-served (94 bytes)
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
179 adding [c] rbc-names-v1 (7 bytes)
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
180 adding [c] rbc-revs-v1 (40 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
181 transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
182 bundle2-input-part: total payload size 1857 (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
183 transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
184 bundle2-input-part: total payload size 2025 (rust !)
42931
181ee2118a96 bundle2: fix an off-by-one in debug message of number of parts
Martin von Zweigbergk <martinvonz@google.com>
parents: 40919
diff changeset
185 bundle2-input-bundle: 1 parts total
39301
5763216ba311 transaction: remember original len(repo) instead of tracking added revs (API)
Yuya Nishihara <yuya@tcha.org>
parents: 37841
diff changeset
186 updating the branch cache
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
187 finished applying clone bundle
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
188 query 1; heads
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
189 sending batch command
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
190 searching for changes
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
191 all remote heads known locally
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
192 no changes found
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
193 sending getbundle command
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
194 bundle2-input-bundle: with-transaction
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
195 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
196 bundle2-input-part: "phase-heads" supported
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
197 bundle2-input-part: total payload size 24
42931
181ee2118a96 bundle2: fix an off-by-one in debug message of number of parts
Martin von Zweigbergk <martinvonz@google.com>
parents: 40919
diff changeset
198 bundle2-input-bundle: 2 parts total
37170
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
199 checking for updated bookmarks
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
200 updating to branch default
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
201 resolving manifests
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
202 branchmerge: False, force: False, partial: False
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
203 ancestor: 000000000000, local: 000000000000+, remote: 9bc730a19041
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
204 A: remote created -> g
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
205 getting A
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
206 B: remote created -> g
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
207 getting B
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
208 C: remote created -> g
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
209 getting C
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
210 D: remote created -> g
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
211 getting D
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
212 E: remote created -> g
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
213 getting E
b837655c1509 streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents: 37169
diff changeset
214 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
46314
95a615dd77bf clone: make sure we warm the cache after a clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42931
diff changeset
215 updating the branch cache
40034
393e44324037 httppeer: report http statistics
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39301
diff changeset
216 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
217
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
218 #endif
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
219
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
220 #if stream-v3
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
221 $ hg clone http://localhost:$HGPORT stream-clone-implicit --debug
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
222 using http://localhost:$HGPORT/
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
223 sending capabilities command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
224 sending clonebundles_manifest command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
225 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
226 bundle2-input-bundle: with-transaction
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
227 bundle2-input-part: "stream3-exp" (params: 1 mandatory) supported
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
228 applying stream bundle
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
229 11 entries to transfer
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
230 starting 4 threads for background file closing (?)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
231 starting 4 threads for background file closing (?)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
232 adding [s] data/A.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
233 adding [s] data/B.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
234 adding [s] data/C.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
235 adding [s] data/D.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
236 adding [s] data/E.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
237 adding [s] phaseroots (43 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
238 adding [s] 00manifest.i (584 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
239 adding [s] 00changelog.n (62 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
240 adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
241 adding [s] 00changelog.d (275 bytes)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
242 adding [s] 00changelog.i (320 bytes)
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
243 adding [c] branch2-served (94 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
244 adding [c] rbc-names-v1 (7 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
245 adding [c] rbc-revs-v1 (40 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
246 transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
247 bundle2-input-part: total payload size 1869 (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
248 transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
249 bundle2-input-part: total payload size 2037 (rust !)
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
250 bundle2-input-bundle: 1 parts total
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
251 updating the branch cache
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
252 finished applying clone bundle
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
253 query 1; heads
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
254 sending batch command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
255 searching for changes
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
256 all remote heads known locally
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
257 no changes found
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
258 sending getbundle command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
259 bundle2-input-bundle: with-transaction
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
260 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
261 bundle2-input-part: "phase-heads" supported
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
262 bundle2-input-part: total payload size 24
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
263 bundle2-input-bundle: 2 parts total
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
264 checking for updated bookmarks
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
265 updating to branch default
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
266 resolving manifests
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
267 branchmerge: False, force: False, partial: False
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
268 ancestor: 000000000000, local: 000000000000+, remote: 9bc730a19041
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
269 A: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
270 getting A
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
271 B: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
272 getting B
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
273 C: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
274 getting C
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
275 D: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
276 getting D
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
277 E: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
278 getting E
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
279 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
280 updating the branch cache
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
281 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
282
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
283 $ hg clone --stream http://localhost:$HGPORT stream-clone-explicit --debug
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
284 using http://localhost:$HGPORT/
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
285 sending capabilities command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
286 sending clonebundles_manifest command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
287 applying clone bundle from http://localhost:$HGPORT1/bundle.hg
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
288 bundle2-input-bundle: with-transaction
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
289 bundle2-input-part: "stream3-exp" (params: 1 mandatory) supported
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
290 applying stream bundle
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
291 11 entries to transfer
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
292 starting 4 threads for background file closing (?)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
293 starting 4 threads for background file closing (?)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
294 adding [s] data/A.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
295 adding [s] data/B.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
296 adding [s] data/C.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
297 adding [s] data/D.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
298 adding [s] data/E.i (66 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
299 adding [s] phaseroots (43 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
300 adding [s] 00manifest.i (584 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
301 adding [s] 00changelog.n (62 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
302 adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
303 adding [s] 00changelog.d (275 bytes)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
304 adding [s] 00changelog.i (320 bytes)
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
305 adding [c] branch2-served (94 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
306 adding [c] rbc-names-v1 (7 bytes)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
307 adding [c] rbc-revs-v1 (40 bytes)
51181
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
308 transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
309 bundle2-input-part: total payload size 1869 (no-rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
310 transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
dcaa2df1f688 changelog: never inline changelog
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50707
diff changeset
311 bundle2-input-part: total payload size 2037 (rust !)
50707
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
312 bundle2-input-bundle: 1 parts total
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
313 updating the branch cache
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
314 finished applying clone bundle
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
315 query 1; heads
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
316 sending batch command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
317 searching for changes
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
318 all remote heads known locally
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
319 no changes found
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
320 sending getbundle command
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
321 bundle2-input-bundle: with-transaction
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
322 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
323 bundle2-input-part: "phase-heads" supported
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
324 bundle2-input-part: total payload size 24
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
325 bundle2-input-bundle: 2 parts total
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
326 checking for updated bookmarks
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
327 updating to branch default
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
328 resolving manifests
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
329 branchmerge: False, force: False, partial: False
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
330 ancestor: 000000000000, local: 000000000000+, remote: 9bc730a19041
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
331 A: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
332 getting A
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
333 B: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
334 getting B
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
335 C: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
336 getting C
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
337 D: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
338 getting D
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
339 E: remote created -> g
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
340 getting E
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
341 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
342 updating the branch cache
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
343 (sent 4 HTTP requests and * bytes; received * bytes in responses) (glob)
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
344
36478b2ab8b3 stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 50706
diff changeset
345 #endif