author | Sushil khanchi <sushilkhanchi97@gmail.com> |
Fri, 20 Dec 2019 17:32:07 +0530 | |
branch | stable |
changeset 5025 | 21168e99ba88 |
parent 4903 | 86b3efd4303e |
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 A.5 |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
3 |
============================================ |
834
4b8cf3d24160
exchange: add test case for A.5
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). |
834
4b8cf3d24160
exchange: add test case for A.5
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. |
834
4b8cf3d24160
exchange: add test case for A.5
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 A: simple cases |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
13 |
TestCase 5: partial reordering |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
14 |
|
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
15 |
A.5 partial reordering |
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 |
|
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
18 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
19 |
.. {{{ |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
20 |
.. B ø⇠⇠ |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
21 |
.. | ⇡ |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 |
.. A ø⇠⇠⇠○ A' |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 |
.. | ⇡/ |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 |
.. | ○ B' |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 |
.. |/ |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
26 |
.. ● O |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
27 |
.. }}} |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
28 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
29 |
.. Marker exist from: |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
30 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
31 |
.. * `Aø⇠○ A'` |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
32 |
.. * `Bø⇠○ B'` |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
33 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
34 |
.. Command run: |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
35 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
36 |
.. * hg push -r B |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
37 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
38 |
.. Expected exchange: |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 |
.. * `Bø⇠○ B'` |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 |
.. Expected Exclude: |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
43 |
.. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
44 |
.. * `Aø⇠○ A'` |
4b8cf3d24160
exchange: add test case for A.5
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 |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
50 |
|
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
51 |
initial |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
52 |
|
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
53 |
$ setuprepos A.5 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
54 |
creating test repo for test case A.5 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 |
- pulldest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 |
- main |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 |
- pushdest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 |
cd into `main` and proceed with env setup |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 |
$ cd main |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
60 |
$ mkcommit A0 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
61 |
$ mkcommit B0 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
62 |
$ hg update 0 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
63 |
0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
64 |
$ mkcommit B1 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
65 |
created new head |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
66 |
$ mkcommit A1 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
67 |
$ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A0)'` |
4903
86b3efd4303e
test-output: reinstalled test change for 5.2
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
68 |
1 new obsolescence markers |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
69 |
$ hg debugobsolete `getid 'desc(B0)'` `getid 'desc(B1)'` |
4903
86b3efd4303e
test-output: reinstalled test change for 5.2
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
70 |
1 new obsolescence markers |
2754
21f06d932231
test: update test output to match b11e8c67fb0f
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2268
diff
changeset
|
71 |
obsoleted 1 changesets |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
72 |
$ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` |
4903
86b3efd4303e
test-output: reinstalled test change for 5.2
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
73 |
1 new obsolescence markers |
2754
21f06d932231
test: update test output to match b11e8c67fb0f
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
2268
diff
changeset
|
74 |
obsoleted 1 changesets |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
75 |
$ hg log -G --hidden |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
76 |
@ 8c0a98c83722 (draft): A1 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
77 |
| |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
78 |
o f6298a8ac3a4 (draft): B1 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
79 |
| |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
80 |
| x 6e72f0a95b5e (draft): B0 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
81 |
| | |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
82 |
| x 28b51eb45704 (draft): A0 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
83 |
|/ |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
84 |
o a9bdc8b26820 (public): O |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
85 |
|
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
86 |
$ inspect_obsmarkers |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
87 |
obsstore content |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
88 |
================ |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
89 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
90 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
91 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
92 |
obshashtree |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
93 |
=========== |
2083
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
94 |
a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 0000000000000000000000000000000000000000 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
95 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f 5d69322fad9eb1ba8f8f2c2312346ed347fdde76 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
96 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 fd3e5712c9c2d216547d7a1b87ac815ee1fb7542 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
97 |
f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 91716bfd671b5a5854a47ac5d392edfdd25e431a |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
98 |
8c0a98c8372212c6efde4bfdcef006f27ff759d3 6e8c8c71c47a2bfc27c7cf2b1f4174977ede9f21 |
2268
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
99 |
obshashrange |
f2ebe960998b
tests: update test to match upstreamable version
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2230
diff
changeset
|
100 |
============ |
2228
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
101 |
rev node index size depth obshash |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
102 |
4 8c0a98c83722 0 3 3 70185b996296 |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
103 |
3 f6298a8ac3a4 0 2 2 91716bfd671b |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
104 |
4 8c0a98c83722 2 1 3 4d835a45c1e9 |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
105 |
0 a9bdc8b26820 0 1 1 000000000000 |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
106 |
3 f6298a8ac3a4 1 1 2 91716bfd671b |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
107 |
$ cd .. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
108 |
$ cd .. |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
109 |
|
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
110 |
Actual Test |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
111 |
----------- |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
112 |
|
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
113 |
$ dotest A.5 B1 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
114 |
## Running testcase A.5 |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
115 |
# testing echange of "B1" (f6298a8ac3a4) |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
116 |
## initial state |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
117 |
# obstore: main |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
118 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
119 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
120 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
121 |
# obstore: pushdest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
122 |
# obstore: pulldest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
123 |
## pushing "B1" from main to pushdest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
124 |
pushing to pushdest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
125 |
searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
126 |
remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
127 |
remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
128 |
remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
129 |
remote: added 1 changesets with 1 changes to 1 files |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
130 |
remote: 1 new obsolescence markers |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
131 |
## post push state |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
132 |
# obstore: main |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
133 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
134 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
135 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
136 |
# obstore: pushdest |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
137 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
138 |
# obstore: pulldest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
139 |
## pulling "f6298a8ac3a4" from main into pulldest |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
140 |
pulling from main |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
141 |
searching for changes |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
142 |
adding changesets |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
143 |
adding manifests |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
144 |
adding file changes |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
145 |
added 1 changesets with 1 changes to 1 files |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
146 |
1 new obsolescence markers |
4181
ab3581bc0637
branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4165
diff
changeset
|
147 |
new changesets f6298a8ac3a4 (1 drafts) |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
148 |
(run 'hg update' to get a working copy) |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
149 |
## post pull state |
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
150 |
# obstore: main |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
151 |
28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
152 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
153 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
154 |
# obstore: pushdest |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
155 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
834
4b8cf3d24160
exchange: add test case for A.5
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
156 |
# obstore: pulldest |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
157 |
6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |