Mercurial > evolve
annotate tests/test-exchange-C3.t @ 2184:3ec0be20e365
stablerange: add a cache for stablesort ordering
This will be very handy for merge, cf inline documentation for details.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 22 Mar 2017 20:11:19 +0100 |
parents | d0bc98161794 |
children | 3b18440cca74 |
rev | line source |
---|---|
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
1 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
2 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
3 Initial setup |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
4 |
2118
d0bc98161794
tests: move exchange utility in testlib
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2083
diff
changeset
|
5 $ . $TESTDIR/testlib/exchange-util.sh |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
6 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
7 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
8 === C.3 Pruned changeset on precursors of another pruned one === |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
9 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
10 .. {{{ |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
11 .. B ⊗ |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
12 .. | |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
13 .. A ø⇠⊗ A' |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
14 .. |/ |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
15 .. ● O |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
16 .. }}} |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
17 .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
18 .. Marker exist from: |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
19 .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
20 .. * A' succeed to A |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
21 .. * A' (prune |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 .. * B (prune) |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 .. Command run: |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
26 .. * hg push -r A' |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
27 .. * hg push |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
28 .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
29 .. Expected exchange: |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
30 .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
31 .. * `A ø⇠⊗ A'` |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
32 .. * A (prune) |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
33 .. * B (prune) |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
34 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
35 $ setuprepos C.3 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
36 creating test repo for test case C.3 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
37 - pulldest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
38 - main |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 - pushdest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 cd into `main` and proceed with env setup |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 $ cd main |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 $ mkcommit A0 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
43 $ mkcommit B |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
44 $ hg prune -qd '0 0' . |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
45 $ hg update -q 0 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
46 $ mkcommit A1 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
47 created new head |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
48 $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
49 $ hg prune -qd '0 0' . |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
50 $ hg log -G --hidden |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
51 x e5ea8f9c7314 (draft): A1 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
52 | |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
53 | x 06055a7959d4 (draft): B |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
54 | | |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 | x 28b51eb45704 (draft): A0 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 |/ |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 @ a9bdc8b26820 (public): O |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 $ hg debugobsolete |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
60 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
61 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
62 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 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
|
63 $ 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
|
64 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 40be80b35671116f2c61ef25797806536a6eb5a0 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
65 28b51eb45704506b5c603decd6bf7ac5e0f6a52f beac7228bbe708bc7c9181c3c27f8a17f21dbd9f |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
66 06055a7959d4128e6e3bccfd01482e83a2db8a3a 8b648bd67281e9e525919285ac7b3bb2836c2f02 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
67 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 dcd2b566ad0983333be704afdc205066e1a6b742 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
68 $ hg debugstablerange --rev 'head()' |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
69 rev node index size depth obshash |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
70 0 a9bdc8b26820 0 1 1 40be80b35671 |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
71 $ cd .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
72 $ cd .. |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
73 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
74 $ cp -r C.3 C.3.a |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
75 $ cp -r C.3 C.3.b |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
76 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
77 Actual Test (explicit push) |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
78 --------------------------- |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
79 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
80 $ dotest C.3.a O |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
81 ## Running testcase C.3.a |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
82 # testing echange of "O" (a9bdc8b26820) |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
83 ## initial state |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
84 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
85 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
86 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
87 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
88 # obstore: pushdest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
89 # obstore: pulldest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
90 ## pushing "O" from main to pushdest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
91 pushing to pushdest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
92 searching for changes |
1078
5717d023da63
obsexc: use the common discovery
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1067
diff
changeset
|
93 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
94 remote: 3 new obsolescence markers |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
95 ## post push state |
35972ef12664
exchange: add test case for C.3
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 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
98 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
99 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
100 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
101 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
102 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
103 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
104 # obstore: pulldest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
105 ## pulling "a9bdc8b26820" from main into pulldest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
106 pulling from main |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
107 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
108 3 new obsolescence markers |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
109 ## post pull state |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
110 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
111 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
112 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
113 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
114 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
115 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
116 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
117 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
118 # obstore: pulldest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
119 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
120 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
121 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
122 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
123 Actual Test (bare push) |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
124 ------------------------------------- |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
125 |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
126 $ dotest C.3.b |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
127 ## Running testcase C.3.b |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
128 ## initial state |
35972ef12664
exchange: add test case for C.3
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 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
131 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
132 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
133 # obstore: pushdest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
134 # obstore: pulldest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
135 ## pushing from main to pushdest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
136 pushing to pushdest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
137 searching for changes |
1078
5717d023da63
obsexc: use the common discovery
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1067
diff
changeset
|
138 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
139 remote: 3 new obsolescence markers |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
140 ## post push state |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
141 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
142 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
143 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
144 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
145 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
146 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
147 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
148 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
149 # obstore: pulldest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
150 ## pulling from main into pulldest |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
151 pulling from main |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
152 searching for changes |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
153 no changes found |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
154 3 new obsolescence markers |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
155 ## post pull state |
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
156 # obstore: main |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
157 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
158 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
159 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
160 # obstore: pushdest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
161 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
162 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
163 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
846
35972ef12664
exchange: add test case for C.3
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
164 # obstore: pulldest |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
165 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
166 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
1067
5d063fed9e3d
evolve: yield to relevant markers handling in core
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1065
diff
changeset
|
167 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |