Mercurial > hg
annotate tests/test-stream-bundle-v2.t @ 50995:80c243eab724
openvms: duck-punch a bugfix into `environb` object
The official Python3 build for OpenVMS has some crippling bug that we need to
patch dynamically
OpenVMS patches
author | Jean-Francois Pieronne <jf.pieronne@laposte.net> |
---|---|
date | Thu, 03 Aug 2023 02:28:52 +0200 |
parents | 36478b2ab8b3 |
children | dcaa2df1f688 |
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: {} |
50533
f4a540c203d7
stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
50513
diff
changeset
|
63 stream2 -- {bytecount: 1693, filecount: 11, requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 no-zstd !) |
f4a540c203d7
stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
50513
diff
changeset
|
64 stream2 -- {bytecount: 1693, filecount: 11, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 zstd no-rust !) |
f4a540c203d7
stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
50513
diff
changeset
|
65 stream2 -- {bytecount: 1693, filecount: 11, 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 |
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
|
100 11 files to transfer, 1.65 KB of data |
37211
77f9e95fe3c4
tests: conditionalize test-stream-bundle-v2 for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
37170
diff
changeset
|
101 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
|
102 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
|
103 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
|
104 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
|
105 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
|
106 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
|
107 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
|
108 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
|
109 adding [s] 00manifest.i (584 bytes) |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
110 adding [s] 00changelog.i (595 bytes) |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
111 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
|
112 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
|
113 adding [c] rbc-revs-v1 (40 bytes) |
47868
8ae828fd008b
clone: automatically glob stream clone output in test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47279
diff
changeset
|
114 transferred 1.65 KB in * seconds (* */sec) (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
|
115 bundle2-input-part: total payload size 1840 |
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
|
116 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
|
117 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
|
118 finished applying clone bundle |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
119 query 1; heads |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
120 sending batch command |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
121 searching for changes |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
122 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
|
123 no changes found |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
124 sending getbundle command |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
125 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
|
126 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
|
127 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
|
128 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
|
129 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
|
130 checking for updated bookmarks |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
131 updating to branch default |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
132 resolving manifests |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
133 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
|
134 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
|
135 A: remote created -> g |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
136 getting A |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
137 B: remote created -> g |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
138 getting B |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
139 C: remote created -> g |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
140 getting C |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
141 D: 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 D |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
143 E: 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 E |
99f28a4b2a3a
streamclonebundle: add a test for stream clone bundle v2
Boris Feld <boris.feld@octobus.net>
parents:
37168
diff
changeset
|
145 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
|
146 updating the branch cache |
40034
393e44324037
httppeer: report http statistics
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39301
diff
changeset
|
147 (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
|
148 |
50533
f4a540c203d7
stream-clone: support streamv3 on the cli [hg bundle]
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
50513
diff
changeset
|
149 $ 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
|
150 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
|
151 sending capabilities command |
50701
4238e6b22fc4
clonebundles: introduce a new write protocol command
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50533
diff
changeset
|
152 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
|
153 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
|
154 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
|
155 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
|
156 applying stream bundle |
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
|
157 11 files to transfer, 1.65 KB of data |
37211
77f9e95fe3c4
tests: conditionalize test-stream-bundle-v2 for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
37170
diff
changeset
|
158 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
|
159 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
|
160 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
|
161 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
|
162 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
|
163 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
|
164 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
|
165 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
|
166 adding [s] 00manifest.i (584 bytes) |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
167 adding [s] 00changelog.i (595 bytes) |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
168 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
|
169 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
|
170 adding [c] rbc-revs-v1 (40 bytes) |
47868
8ae828fd008b
clone: automatically glob stream clone output in test
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47279
diff
changeset
|
171 transferred 1.65 KB in * seconds (* */sec) (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
|
172 bundle2-input-part: total payload size 1840 |
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
|
173 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
|
174 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
|
175 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
|
176 query 1; heads |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
177 sending batch command |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
178 searching for changes |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
179 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
|
180 no changes found |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
181 sending getbundle command |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
182 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
|
183 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
|
184 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
|
185 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
|
186 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
|
187 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
|
188 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
|
189 resolving manifests |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
190 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
|
191 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
|
192 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
|
193 getting A |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
194 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
|
195 getting B |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
196 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
|
197 getting C |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
198 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
|
199 getting D |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
200 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
|
201 getting E |
b837655c1509
streamclonebundle: make sure we accept new stream clone bundle spec
Boris Feld <boris.feld@octobus.net>
parents:
37169
diff
changeset
|
202 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
|
203 updating the branch cache |
40034
393e44324037
httppeer: report http statistics
Gregory Szorc <gregory.szorc@gmail.com>
parents:
39301
diff
changeset
|
204 (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
|
205 |
36478b2ab8b3
stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50706
diff
changeset
|
206 #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
|
207 |
36478b2ab8b3
stream-clone: explicitly split debug test output for application per version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50706
diff
changeset
|
208 #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
|
209 $ 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
|
210 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
|
211 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
|
212 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
|
213 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
|
214 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
|
215 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
|
216 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
|
217 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
|
218 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
|
219 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
|
220 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
|
221 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
|
222 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
|
223 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
|
224 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
|
225 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
|
226 adding [s] 00manifest.i (584 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
|
227 adding [s] 00changelog.i (595 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
|
228 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
|
229 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
|
230 adding [c] rbc-revs-v1 (40 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
|
231 transferred 1.65 KB in * seconds (* */sec) (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
|
232 bundle2-input-part: total payload size 1852 |
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 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
|
234 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
|
235 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
|
236 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
|
237 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
|
238 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
|
239 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
|
240 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
|
241 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
|
242 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
|
243 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
|
244 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
|
245 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
|
246 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
|
247 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
|
248 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
|
249 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
|
250 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
|
251 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
|
252 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
|
253 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
|
254 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
|
255 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
|
256 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
|
257 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
|
258 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
|
259 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
|
260 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
|
261 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
|
262 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
|
263 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
|
264 (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
|
265 |
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 $ 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
|
267 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
|
268 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
|
269 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
|
270 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
|
271 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
|
272 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
|
273 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
|
274 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
|
275 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
|
276 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
|
277 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
|
278 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
|
279 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
|
280 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
|
281 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
|
282 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
|
283 adding [s] 00manifest.i (584 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
|
284 adding [s] 00changelog.i (595 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
|
285 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
|
286 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
|
287 adding [c] rbc-revs-v1 (40 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
|
288 transferred 1.65 KB in * seconds (* */sec) (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
|
289 bundle2-input-part: total payload size 1852 |
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 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
|
291 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
|
292 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
|
293 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
|
294 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
|
295 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
|
296 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
|
297 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
|
298 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
|
299 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
|
300 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
|
301 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
|
302 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
|
303 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
|
304 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
|
305 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
|
306 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
|
307 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
|
308 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
|
309 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
|
310 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
|
311 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
|
312 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
|
313 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
|
314 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
|
315 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
|
316 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
|
317 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
|
318 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
|
319 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
|
320 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
|
321 (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
|
322 |
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 #endif |