author | Martin von Zweigbergk <martinvonz@google.com> |
Tue, 19 Nov 2019 14:54:13 -0800 | |
changeset 5011 | 04104042c6ad |
parent 4871 | a8ff17479fb8 |
child 4905 | f3e39a354378 |
permissions | -rw-r--r-- |
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
1 |
============================================ |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
2 |
Testing obsolescence markers push: Cases C.4 |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
3 |
============================================ |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
4 |
|
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
5 |
Mercurial pushes obsolescences markers relevant to the "pushed-set", the set of |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
6 |
all changesets that requested to be "in sync" after the push (even if they are |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
7 |
already on both side). |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
8 |
|
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
9 |
This test belongs to a series of tests checking such set is properly computed |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
10 |
and applied. This does not tests "obsmarkers" discovery capabilities. |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
11 |
|
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
12 |
Category C: advanced case |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
13 |
TestCase 4: multiple successors, one is pruned |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
14 |
|
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
15 |
C.4 multiple successors, one is pruned |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
16 |
====================================== |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
17 |
|
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
18 |
.. (A similarish situation can appends with split markers see the Z section) |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
19 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
20 |
.. {{{ |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
21 |
.. A |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 |
.. B ○⇢ø⇠⊗ C |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 |
.. \|/ |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 |
.. ● O |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 |
.. }}} |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
26 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
27 |
.. Marker exist from: |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
28 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
29 |
.. * `A ø⇠○ B` |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
30 |
.. * `A ø⇠○ C` |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
31 |
.. * C (prune) |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
32 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
33 |
.. Command run: |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
34 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
35 |
.. * hg push -r O |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
36 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
37 |
.. Expected exchange: |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
38 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 |
.. * `A ø⇠○ C` |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 |
.. * C (prune) |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 |
.. Expected exclude: |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
43 |
.. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
44 |
.. * `A ø⇠○ B` |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
45 |
|
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
46 |
Setup |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
47 |
----- |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
48 |
|
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
49 |
$ . $TESTDIR/testlib/exchange-obsmarker-util.sh |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
50 |
|
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
51 |
Implemented as the non-split version |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
52 |
|
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
53 |
$ setuprepos C.4 |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
54 |
creating test repo for test case C.4 |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 |
- pulldest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 |
- main |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 |
- pushdest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 |
cd into `main` and proceed with env setup |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 |
$ cd main |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
60 |
$ mkcommit A |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
61 |
$ hg update -q 0 |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
62 |
$ mkcommit B |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
63 |
created new head |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
64 |
$ hg update -q 0 |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
65 |
$ mkcommit C |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
66 |
created new head |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
67 |
$ hg debugobsolete --hidden `getid 'desc(A)'` `getid 'desc(B)'` |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
68 |
1 new obsolescence markers |
2754
21f06d932231
test: update test output to match b11e8c67fb0f
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2580
diff
changeset
|
69 |
obsoleted 1 changesets |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
70 |
$ hg debugobsolete --hidden `getid 'desc(A)'` `getid 'desc(C)'` |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
71 |
1 new obsolescence markers |
3431
2e703ed1c713
evolve: update output for wider reporting of troubled changesets
Martin von Zweigbergk <martinvonz@google.com>
parents:
2754
diff
changeset
|
72 |
2 new content-divergent changesets |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
73 |
$ hg prune -qd '0 0' . |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
74 |
$ hg log -G --hidden |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
75 |
x 7f7f229b13a6 (draft): C |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
76 |
| |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
77 |
| o 35b183996678 (draft): B |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
78 |
|/ |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
79 |
| x f5bc6836db60 (draft): A |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
80 |
|/ |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
81 |
@ a9bdc8b26820 (public): O |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
82 |
|
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
83 |
$ inspect_obsmarkers |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
84 |
obsstore content |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
85 |
================ |
3559
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
86 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
87 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
88 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
89 |
obshashtree |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
90 |
=========== |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
91 |
a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 b1f2c573306eb5571ada89451c2593ca02f4afc6 |
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
92 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 c83c59a98479a18fc374e728b49bc3d3645b6b60 |
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
93 |
35b1839966785d5703a01607229eea932db42f87 2e7cea6704fcadaf5df996b02b964a6beeacd696 |
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
94 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed d4deb08dfd42d62519b7e31e4a68183c937551bc |
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
95 |
obshashrange |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
96 |
============ |
2228
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
97 |
rev node index size depth obshash |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
98 |
2 35b183996678 0 2 2 8a9f1f393179 |
2228
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
99 |
2 35b183996678 1 1 2 916e804c50de |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
100 |
0 a9bdc8b26820 0 1 1 b1f2c573306e |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
101 |
$ cd .. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
102 |
$ cd .. |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
103 |
|
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
104 |
Actual Test |
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
105 |
----------- |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
106 |
|
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
107 |
$ dotest C.4 O |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
108 |
## Running testcase C.4 |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
109 |
# testing echange of "O" (a9bdc8b26820) |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
110 |
## initial state |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
111 |
# obstore: main |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
112 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
3559
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
113 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
114 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
115 |
# obstore: pushdest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
116 |
# obstore: pulldest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
117 |
## pushing "O" from main to pushdest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
118 |
pushing to pushdest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
119 |
searching for changes |
1078
5717d023da63
obsexc: use the common discovery
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1067
diff
changeset
|
120 |
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
|
121 |
remote: 2 new obsolescence markers |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
122 |
## post push state |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
123 |
# obstore: main |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
124 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
3559
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
125 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
126 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
905
b177fde040dd
exchange: use fixed order for obstore content
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
847
diff
changeset
|
127 |
# obstore: pushdest |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
128 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
3559
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
129 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
130 |
# obstore: pulldest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
131 |
## pulling "a9bdc8b26820" from main into pulldest |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
132 |
pulling from main |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
133 |
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
|
134 |
2 new obsolescence markers |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
135 |
## post pull state |
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
136 |
# obstore: main |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
137 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
3559
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
138 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
139 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
847
d11446392c1d
exchange: add test case for C.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
140 |
# obstore: pushdest |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
141 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
3559
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
142 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
905
b177fde040dd
exchange: use fixed order for obstore content
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
847
diff
changeset
|
143 |
# obstore: pulldest |
3566
e6bea259c227
prune: include "operation" metadata in obsmarkers
Martin von Zweigbergk <martinvonz@google.com>
parents:
3559
diff
changeset
|
144 |
7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
3559
d166b3dc5e8a
tests: do not glob out fixed dates
Martin von Zweigbergk <martinvonz@google.com>
parents:
3431
diff
changeset
|
145 |
f5bc6836db60e308a17ba08bf050154ba9c4fad7 7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |