author | Pierre-Yves David <pierre-yves.david@fb.com> |
Wed, 19 Mar 2014 20:15:55 -0700 | |
changeset 887 | 0ea9cecbbd28 |
parent 845 | 7957eecd5592 |
child 905 | b177fde040dd |
permissions | -rw-r--r-- |
845
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
1 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
2 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
3 |
Initial setup |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
4 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
5 |
$ . $TESTDIR/_exc-util.sh |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
6 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
7 |
=== C.2 Pruned changeset on precursors === |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
8 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
9 |
.. {{{ |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
10 |
.. B ⊗ |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
11 |
.. | |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
12 |
.. A ø⇠◔ A' |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
13 |
.. |/ |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
14 |
.. ● O |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
15 |
.. }}} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
16 |
.. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
17 |
.. Marker exist from: |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
18 |
.. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
19 |
.. * A' succeed to A |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
20 |
.. * B (prune) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
21 |
.. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 |
.. Command run: |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 |
.. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 |
.. * hg push -r A' |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 |
.. * hg push |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
26 |
.. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
27 |
.. Expected exchange: |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
28 |
.. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
29 |
.. * `A ø⇠o A'` |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
30 |
.. * B (prune) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
31 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
32 |
$ setuprepos C.2 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
33 |
creating test repo for test case C.2 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
34 |
- pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
35 |
- main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
36 |
- pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
37 |
cd into `main` and proceed with env setup |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
38 |
$ cd main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 |
$ mkcommit A0 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 |
$ mkcommit B |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 |
$ hg prune -qd '0 0' . |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 |
$ hg update -q 0 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
43 |
$ mkcommit A1 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
44 |
created new head |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
45 |
$ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
46 |
$ hg log -G --hidden |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
47 |
@ e5ea8f9c7314 (draft): A1 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
48 |
| |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
49 |
| x 06055a7959d4 (draft): B |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
50 |
| | |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
51 |
| x 28b51eb45704 (draft): A0 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
52 |
|/ |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
53 |
o a9bdc8b26820 (public): O |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
54 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 |
$ hg debugobsolete |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 |
$ cd .. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 |
$ cd .. |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
60 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
61 |
$ cp -r C.2 C.2.a |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
62 |
$ cp -r C.2 C.2.b |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
63 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
64 |
Actual Test (explicite push) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
65 |
------------------------------------- |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
66 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
67 |
$ dotest C.2.a A1 |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
68 |
## Running testcase C.2.a |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
69 |
# testing echange of "A1" (e5ea8f9c7314) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
70 |
## initial state |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
71 |
# obstore: main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
72 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
73 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
74 |
# obstore: pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
75 |
# obstore: pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
76 |
## pushing "A1" from main to pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
77 |
pushing to pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
78 |
searching for changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
79 |
adding changesets |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
80 |
adding manifests |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
81 |
adding file changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
82 |
added 1 changesets with 1 changes to 1 files |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
83 |
OBSEXC: computing relevant nodes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
84 |
OBSEXC: computing markers relevant to 2 nodes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
85 |
OBSEXC: encoding 2 markers |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
86 |
OBSEXC: sending 1 pushkey payload (188 bytes) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
87 |
OBSEXC: DONE |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
88 |
## post push state |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
89 |
# obstore: main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
90 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
91 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
92 |
# obstore: pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
93 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
94 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
95 |
# obstore: pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
96 |
## pulling "e5ea8f9c7314" from main into pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
97 |
pulling from main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
98 |
searching for changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
99 |
adding changesets |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
100 |
adding manifests |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
101 |
adding file changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
102 |
added 1 changesets with 1 changes to 1 files |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
103 |
OBSEXC: pull obsolescence markers |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
104 |
OBSEXC: merging obsolescence markers (150 bytes) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
105 |
OBSEXC: 2 markers added |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
106 |
OBSEXC: DONE |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
107 |
(run 'hg update' to get a working copy) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
108 |
## post pull state |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
109 |
# obstore: main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
110 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
111 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
112 |
# obstore: pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
113 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
114 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
115 |
# obstore: pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
116 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
117 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
118 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
119 |
Actual Test (bare push) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
120 |
------------------------------------- |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
121 |
|
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
122 |
$ dotest C.2.b |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
123 |
## Running testcase C.2.b |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
124 |
## initial state |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
125 |
# obstore: main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
126 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
127 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
128 |
# obstore: pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
129 |
# obstore: pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
130 |
## pushing from main to pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
131 |
pushing to pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
132 |
searching for changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
133 |
adding changesets |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
134 |
adding manifests |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
135 |
adding file changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
136 |
added 1 changesets with 1 changes to 1 files |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
137 |
OBSEXC: computing relevant nodes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
138 |
OBSEXC: computing markers relevant to 2 nodes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
139 |
OBSEXC: encoding 2 markers |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
140 |
OBSEXC: sending 1 pushkey payload (188 bytes) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
141 |
OBSEXC: DONE |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
142 |
## post push state |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
143 |
# obstore: main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
144 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
145 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
146 |
# obstore: pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
147 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
148 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
149 |
# obstore: pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
150 |
## pulling from main into pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
151 |
pulling from main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
152 |
searching for changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
153 |
adding changesets |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
154 |
adding manifests |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
155 |
adding file changes |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
156 |
added 1 changesets with 1 changes to 1 files |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
157 |
OBSEXC: pull obsolescence markers |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
158 |
OBSEXC: merging obsolescence markers (150 bytes) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
159 |
OBSEXC: 2 markers added |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
160 |
OBSEXC: DONE |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
161 |
(run 'hg update' to get a working copy) |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
162 |
## post pull state |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
163 |
# obstore: main |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
164 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
165 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
166 |
# obstore: pushdest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
167 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
168 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
169 |
# obstore: pulldest |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
170 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
7957eecd5592
exchange: add test case for C.2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
171 |
06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |