Mercurial > evolve
annotate tests/test-wireproto.t @ 5917:94aed9c7ce69 stable
next: refactor two if blocks into an if-elif block
We already checked the value of `needevolve and opts['evolve']` in the first if
block above. In the first one it need to be True, in the second it needs to be
False for the statements to execute. Since not(a or b) = not a and not b, we
can join the second if block to the first one with an elif while dropping the
explicit check.
For me, this works better, because we're doing the same thing in both of these
blocks (checking if working copy is dirty or not).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 15 May 2021 20:40:19 +0800 |
parents | a1dad44fe3da |
children | fd039a7f0c3c |
rev | line source |
---|---|
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
1 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
2 $ cat >> $HGRCPATH <<EOF |
1276
18a18131e92f
test-wireprotocol: test with both bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1185
diff
changeset
|
3 > [experimental] |
18a18131e92f
test-wireprotocol: test with both bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1185
diff
changeset
|
4 > obsmarkers-exchange-debug=true |
18a18131e92f
test-wireprotocol: test with both bundle1 and bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1185
diff
changeset
|
5 > bundle2-exp=true |
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
6 > [ui] |
5198
cbfd36046969
tests: use appropriate Python (2 or 3) for dummyssh
Anton Shestakov <av6@dwimlabs.net>
parents:
4871
diff
changeset
|
7 > ssh = "$PYTHON" "$RUNTESTDIR/dummyssh" |
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
8 > [phases] |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
9 > publish = False |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
10 > [extensions] |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
11 > EOF |
1806
9f42f819267b
evolve: move the extensions to 'hgext3rd'
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1562
diff
changeset
|
12 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
13 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
14 $ mkcommit() { |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
15 > echo "$1" > "$1" |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
16 > hg add "$1" |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
17 > hg ci -m "add $1" |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
18 > } |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
19 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
20 setup repo |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
21 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 $ hg init server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 $ hg clone ssh://user@dummy/server client |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 no changes found |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
26 updating to branch default |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
27 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
28 $ cp -r client other |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
29 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
30 Smoke testing |
2084
b1f029dcf573
discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1806
diff
changeset
|
31 ===============.t |
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
32 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
33 $ cd client |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
34 $ mkcommit 0 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
35 $ mkcommit a |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
36 $ hg push |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
37 pushing to ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
38 searching for changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 remote: adding changesets |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 remote: adding manifests |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 remote: adding file changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 remote: added 2 changesets with 2 changes to 2 files |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
43 $ hg pull |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
44 pulling from ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
45 searching for changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
46 no changes found |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
47 $ hg pull -R ../other |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
48 pulling from ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
49 requesting all changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
50 adding changesets |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
51 adding manifests |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
52 adding file changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
53 added 2 changesets with 2 changes to 2 files |
4197
1dd5c6e6cd53
test-compat: backed out changeset ccbfbeee6cf3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4165
diff
changeset
|
54 new changesets 8685c6d34325:4957bfdac07e (2 drafts) |
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 (run 'hg update' to get a working copy) |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 $ hg push -R ../other |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 pushing to ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 searching for changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 no changes found |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
60 [1] |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
61 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
62 Push |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
63 ============= |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
64 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
65 $ echo 'A' > a |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
66 $ hg amend |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
67 $ hg push |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
68 pushing to ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
69 searching for changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
70 remote: adding changesets |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
71 remote: adding manifests |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
72 remote: adding file changes |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
73 remote: obsmarker-exchange: 92 bytes received |
4860
015cdd3fa469
test: backed out test change applied in 62b60fc1983d
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4840
diff
changeset
|
74 remote: added 1 changesets with 1 changes to 1 files (+1 heads) |
3013
945a0989e41b
packaging: merge stable back into default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3000
diff
changeset
|
75 remote: 1 new obsolescence markers |
2710
e22de367fc74
compat: adapt to change in 53b3a1968aa6-core
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2709
diff
changeset
|
76 remote: obsoleted 1 changesets |
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
77 $ hg push |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
78 pushing to ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
79 searching for changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
80 no changes found |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
81 [1] |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
82 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
83 Pull |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
84 ============= |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
85 |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
86 $ hg -R ../other pull |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
87 pulling from ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
88 searching for changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
89 adding changesets |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
90 adding manifests |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
91 adding file changes |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
92 obsmarker-exchange: 92 bytes received |
4860
015cdd3fa469
test: backed out test change applied in 62b60fc1983d
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4840
diff
changeset
|
93 added 1 changesets with 1 changes to [12] files \(\+1 heads\) (re) |
3013
945a0989e41b
packaging: merge stable back into default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3000
diff
changeset
|
94 1 new obsolescence markers |
2710
e22de367fc74
compat: adapt to change in 53b3a1968aa6-core
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2709
diff
changeset
|
95 obsoleted 1 changesets |
4197
1dd5c6e6cd53
test-compat: backed out changeset ccbfbeee6cf3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4165
diff
changeset
|
96 new changesets 9d1c114e7797 (1 drafts) |
2398
612c17c8ab69
tests: apply output changes from core fix
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2084
diff
changeset
|
97 (run 'hg heads' to see heads) |
943
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
98 $ hg -R ../other pull |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
99 pulling from ssh://user@dummy/server |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
100 searching for changes |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
101 no changes found |
5b8d9c2ab480
evolve: test exchange through wireprotocol
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
102 |
1277
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
103 Test some markers discovery |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
104 =========================== |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
105 |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
106 $ echo c > C |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
107 $ hg add C |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
108 $ hg commit -m C |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
109 $ echo c >> C |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
110 $ hg amend |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
111 $ hg push |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
112 pushing to ssh://user@dummy/server |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
113 searching for changes |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
114 remote: adding changesets |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
115 remote: adding manifests |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
116 remote: adding file changes |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
117 remote: obsmarker-exchange: 92 bytes received |
4860
015cdd3fa469
test: backed out test change applied in 62b60fc1983d
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4840
diff
changeset
|
118 remote: added 1 changesets with 1 changes to 1 files |
3013
945a0989e41b
packaging: merge stable back into default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3000
diff
changeset
|
119 remote: 1 new obsolescence markers |
1277
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
120 $ hg -R ../other pull |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
121 pulling from ssh://user@dummy/server |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
122 searching for changes |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
123 adding changesets |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
124 adding manifests |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
125 adding file changes |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
126 obsmarker-exchange: 92 bytes received |
4860
015cdd3fa469
test: backed out test change applied in 62b60fc1983d
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4840
diff
changeset
|
127 added 1 changesets with 1 changes to 1 files |
3013
945a0989e41b
packaging: merge stable back into default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3000
diff
changeset
|
128 1 new obsolescence markers |
4197
1dd5c6e6cd53
test-compat: backed out changeset ccbfbeee6cf3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4165
diff
changeset
|
129 new changesets a5687ec59dd4 (1 drafts) |
1277
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
130 (run 'hg update' to get a working copy) |
0ac2ad8e7235
test-wireproto: add some obsmarker discovery usage.
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1276
diff
changeset
|
131 |
1278
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
132 some common hidden |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
133 |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
134 $ hg touch . |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
135 $ hg push |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
136 pushing to ssh://user@dummy/server |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
137 searching for changes |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
138 remote: adding changesets |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
139 remote: adding manifests |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
140 remote: adding file changes |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
141 remote: obsmarker-exchange: 183 bytes received |
4860
015cdd3fa469
test: backed out test change applied in 62b60fc1983d
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4840
diff
changeset
|
142 remote: added 1 changesets with 0 changes to 1 files (+1 heads) |
1278
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
143 remote: 1 new obsolescence markers |
2710
e22de367fc74
compat: adapt to change in 53b3a1968aa6-core
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2709
diff
changeset
|
144 remote: obsoleted 1 changesets |
1278
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
145 $ hg -R ../other pull |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
146 pulling from ssh://user@dummy/server |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
147 searching for changes |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
148 adding changesets |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
149 adding manifests |
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
150 adding file changes |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
151 obsmarker-exchange: 183 bytes received |
4860
015cdd3fa469
test: backed out test change applied in 62b60fc1983d
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4840
diff
changeset
|
152 added 1 changesets with 0 changes to 1 files (+1 heads) |
1278
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
153 1 new obsolescence markers |
2710
e22de367fc74
compat: adapt to change in 53b3a1968aa6-core
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2709
diff
changeset
|
154 obsoleted 1 changesets |
3075
8feb2cae7eae
test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3015
diff
changeset
|
155 new changesets * (glob) |
2398
612c17c8ab69
tests: apply output changes from core fix
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2084
diff
changeset
|
156 (run 'hg heads' to see heads) |
1278
5ff8a5d85b2b
getbundleobsmarker: prevent crash from filtered content (issue4616)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1277
diff
changeset
|
157 |
2521
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
158 test discovery avoid exchanging known markers |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
159 |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
160 $ hg push |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
161 pushing to ssh://user@dummy/server |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
162 searching for changes |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
163 no changes found |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
164 [1] |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
165 $ hg -R ../other pull |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
166 pulling from ssh://user@dummy/server |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
167 searching for changes |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
168 no changes found |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
169 |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
170 test discovery can be disabled |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
171 |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
172 $ hg push --config experimental.evolution.obsdiscovery=no |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
173 pushing to ssh://user@dummy/server |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
174 searching for changes |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
175 (skipping discovery of obsolescence markers, will exchange everything) |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
176 (controled by 'experimental.evolution.obsdiscovery' configuration) |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
177 no changes found |
3568
eca57332ad03
touch: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3536
diff
changeset
|
178 remote: obsmarker-exchange: 274 bytes received |
2521
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
179 [1] |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
180 $ hg -R ../other pull --config experimental.evolution.obsdiscovery=no |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
181 pulling from ssh://user@dummy/server |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
182 searching for changes |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
183 no changes found |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
184 (skipping discovery of obsolescence markers, will exchange everything) |
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
185 (controled by 'experimental.evolution.obsdiscovery' configuration) |
3568
eca57332ad03
touch: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3536
diff
changeset
|
186 obsmarker-exchange: 274 bytes received |
2521
29fc90b0e59c
obsdiscovery: add an option to disable all obsdiscovery
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2398
diff
changeset
|
187 |
3172
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
188 $ cd .. |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
189 |
3171
dbd340eafcb0
obsdiscovery: enforce the config on the server too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3075
diff
changeset
|
190 And disable it server side too: |
dbd340eafcb0
obsdiscovery: enforce the config on the server too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3075
diff
changeset
|
191 |
3172
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
192 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log --config experimental.evolution.obsdiscovery=no |
3171
dbd340eafcb0
obsdiscovery: enforce the config on the server too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3075
diff
changeset
|
193 $ cat hg.pid >> $DAEMON_PIDS |
dbd340eafcb0
obsdiscovery: enforce the config on the server too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3075
diff
changeset
|
194 |
5402
7bb9ed141238
tests: use hg debugcapabilities instead of curl
Anton Shestakov <av6@dwimlabs.net>
parents:
5212
diff
changeset
|
195 $ hg debugcapabilities http://localhost:$HGPORT | grep _evoext |
7bb9ed141238
tests: use hg debugcapabilities instead of curl
Anton Shestakov <av6@dwimlabs.net>
parents:
5212
diff
changeset
|
196 _evoext_getbundle_obscommon |
7bb9ed141238
tests: use hg debugcapabilities instead of curl
Anton Shestakov <av6@dwimlabs.net>
parents:
5212
diff
changeset
|
197 _evoext_obshashrange_v1 |
3172
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
198 |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
199 Check we cannot use pushkey for marker exchange anymore |
3171
dbd340eafcb0
obsdiscovery: enforce the config on the server too
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3075
diff
changeset
|
200 |
3172
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
201 $ hg debugpushkey http://localhost:$HGPORT/ obsolete |
3173
3afe20410b55
wireproto: gracefully fail on http when trying to use older pushkey method
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3172
diff
changeset
|
202 abort: HTTP Error 410: won't exchange obsmarkers through pushkey |
5666
e5d91fd1f319
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5402
diff
changeset
|
203 [100] |
3505
25155eb05f5f
legacy-push: fix the code forbidding legacy obsmarkers pulling
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3417
diff
changeset
|
204 $ cat errors.log |
3172
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
205 $ hg debugpushkey ssh://user@dummy/server obsolete |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
206 remote: abort: won't exchange obsmarkers through pushkey |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
207 remote: (upgrade your client or server to use the bundle2 protocol) |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
208 abort: unexpected response: empty string |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
209 [255] |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
210 |
3179
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
211 (do some extra pulling to be sure) |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
212 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
213 $ hg -R client pull http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
214 pulling from http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
215 searching for changes |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
216 no changes found |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
217 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
218 $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
219 pulling from http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
220 searching for changes |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
221 no changes found |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
222 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
223 $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers --config extensions.evolve='!' |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
224 pulling from http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
225 searching for changes |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
226 no changes found |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
227 |
3172
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
228 But we do let it goes fine on repository with exchange disabled: |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
229 |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
230 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
231 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log --config experimental.evolution='!' |
4289
cabe3b5d5139
tests: don't forget to add hg serve pid to DAEMON_PIDS in test-wireproto.t
Anton Shestakov <av6@dwimlabs.net>
parents:
4199
diff
changeset
|
232 $ cat hg.pid >> $DAEMON_PIDS |
3172
aed2cac9edc3
wireproto: avoid exposing pushkey abort for server without evolution
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3171
diff
changeset
|
233 $ hg debugpushkey http://localhost:$HGPORT/ obsolete |
3179
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
234 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
235 (do some extra pulling to be sure) |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
236 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
237 $ hg -R client pull http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
238 pulling from http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
239 searching for changes |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
240 no changes found |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
241 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
242 $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
243 pulling from http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
244 searching for changes |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
245 no changes found |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
246 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
247 $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers --config extensions.evolve='!' |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
248 pulling from http://localhost:$HGPORT/ |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
249 searching for changes |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
250 no changes found |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
251 |
cae57c9b5a94
tests: add more testing of pulling with various setting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3173
diff
changeset
|
252 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |