Mercurial > evolve
annotate tests/test-exchange-B4.t @ 2228:3b18440cca74
debugstablerange: improve output spacing
On repo with a descent amount of changeset the number where overflowing in all
directions. We give use more room now.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 24 Mar 2017 09:40:50 +0100 |
parents | d0bc98161794 |
children | 575561934439 |
rev | line source |
---|---|
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
1 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
2 Initial setup |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
3 |
2118
d0bc98161794
tests: move exchange utility in testlib
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2083
diff
changeset
|
4 $ . $TESTDIR/testlib/exchange-util.sh |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
5 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
6 === B.4 Pruned changeset on common part of history === |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
7 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
8 .. {{{ |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
9 .. ⊗ C |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
10 .. | ● B |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
11 .. | | |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
12 .. | ● A |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
13 .. |/ |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
14 .. ● O |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
15 .. }}} |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
16 .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
17 .. Marker exist from: |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
18 .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
19 .. * C (prune) |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
20 .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
21 .. Command run: |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 .. * hg push -r B |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 .. * hg push |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
26 .. Expected exchange: |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
27 .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
28 .. * prune for C |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
29 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
30 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
31 $ setuprepos B.4 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
32 creating test repo for test case B.4 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
33 - pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
34 - main |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
35 - pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
36 cd into `main` and proceed with env setup |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
37 $ cd main |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
38 $ mkcommit A |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 $ mkcommit B |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 $ hg phase --public . |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 $ hg push ../pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 pushing to ../pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
43 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
44 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
45 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
46 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
47 remote: added 2 changesets with 2 changes to 2 files |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
48 $ hg push ../pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
49 pushing to ../pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
50 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
51 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
52 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
53 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
54 remote: added 2 changesets with 2 changes to 2 files |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 $ hg update -q 0 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 $ mkcommit C |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 created new head |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 $ hg prune -qd '0 0' . |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 $ hg log -G --hidden |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
60 x 7f7f229b13a6 (draft): C |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
61 | |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
62 | o f6fbb35d8ac9 (public): B |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
63 | | |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
64 | o f5bc6836db60 (public): A |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
65 |/ |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
66 @ a9bdc8b26820 (public): O |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
67 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
68 $ hg debugobsolete |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
69 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
2083
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
70 $ hg debugobsrelsethashtree |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
71 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 1900882e85db10a1dc5bc7748f436a8a834356c6 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
72 f5bc6836db60e308a17ba08bf050154ba9c4fad7 c27e764c783f451ef3aa40daf2a3795e6674cd06 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
73 f6fbb35d8ac958bbe70035e4c789c18471cdc0af 907beff79fdff2b82b5d3bed7989107a6d744508 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
74 7f7f229b13a629a5b20581c6cb723f4e2ca54bed c27e764c783f451ef3aa40daf2a3795e6674cd06 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
75 $ hg debugstablerange --rev 'head()' |
2228
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
76 rev node index size depth obshash |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
77 2 f6fbb35d8ac9 0 3 3 000000000000 |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
78 1 f5bc6836db60 0 2 2 000000000000 |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
79 0 a9bdc8b26820 0 1 1 1900882e85db |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
80 1 f5bc6836db60 1 1 2 000000000000 |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
81 2 f6fbb35d8ac9 2 1 3 000000000000 |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
82 $ cd .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
83 $ cd .. |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
84 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
85 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
86 $ cp -r B.4 B.4.a |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
87 $ cp -r B.4 B.4.b |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
88 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
89 Actual Test (explicit push version) |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
90 ----------------------------------- |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
91 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
92 $ dotest B.4.a O |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
93 ## Running testcase B.4.a |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
94 # testing echange of "O" (a9bdc8b26820) |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
95 ## initial state |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
96 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
97 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
98 # obstore: pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
99 # obstore: pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
100 ## pushing "O" from main to pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
101 pushing to pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
102 searching for changes |
1078
5717d023da63
obsexc: use the common discovery
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1067
diff
changeset
|
103 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
104 remote: 1 new obsolescence markers |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
105 ## post push state |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
106 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
107 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
108 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
109 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
110 # obstore: pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
111 ## pulling "a9bdc8b26820" from main into pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
112 pulling from main |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
113 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
114 1 new obsolescence markers |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
115 ## post pull state |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
116 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
117 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
118 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
119 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
120 # obstore: pulldest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
121 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
122 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
123 Actual Test (bare push version) |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
124 ----------------------------------- |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
125 |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
126 $ dotest B.4.b |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
127 ## Running testcase B.4.b |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
128 ## initial state |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
129 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
130 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
131 # obstore: pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
132 # obstore: pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
133 ## pushing from main to pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
134 pushing to pushdest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
135 searching for changes |
1078
5717d023da63
obsexc: use the common discovery
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1067
diff
changeset
|
136 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
137 remote: 1 new obsolescence markers |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
138 ## post push state |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
139 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
140 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
141 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
142 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
143 # obstore: pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
144 ## pulling from main into pulldest |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
145 pulling from main |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
146 searching for changes |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
147 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
148 1 new obsolescence markers |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
149 ## post pull state |
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
150 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
151 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
152 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
153 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
840
6689b9d351f7
exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
154 # obstore: pulldest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
155 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |