author | Greg Ward <greg@gerg.ca> |
Mon, 13 Apr 2015 15:42:42 -0400 | |
branch | stable |
changeset 1267 | 8cc6e90354a9 |
parent 1093 | a49f2e7a2755 |
child 2083 | 778afb036245 |
permissions | -rw-r--r-- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
1 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
2 |
Initial setup |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
3 |
|
829
0943f327e2fb
exchance: add a common setup script for all test
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
827
diff
changeset
|
4 |
$ . $TESTDIR/_exc-util.sh |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
5 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
6 |
==== A.1.1 pushing a single head ==== |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
7 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
8 |
.. {{{ |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
9 |
.. ⇠◔ A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
10 |
.. | |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
11 |
.. ● O |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
12 |
.. }}} |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
13 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
14 |
.. Marker exist from: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
15 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
16 |
.. * A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
17 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
18 |
.. Command run: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
19 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
20 |
.. * hg push -r A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
21 |
.. * hg push |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 |
.. Expected exchange: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 |
.. * chain from A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
26 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
27 |
Setup |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
28 |
--------------- |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
29 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
30 |
initial |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
31 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
32 |
$ setuprepos A.1.1 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
33 |
creating test repo for test case A.1.1 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
34 |
- pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
35 |
- main |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
36 |
- pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
37 |
cd into `main` and proceed with env setup |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
38 |
$ cd main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 |
$ mkcommit A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 |
$ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A)'` |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 |
$ hg log -G |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 |
@ f5bc6836db60 (draft): A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
43 |
| |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
44 |
o a9bdc8b26820 (public): O |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
45 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
46 |
$ hg debugobsolete |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
47 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
48 |
$ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
49 |
$ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
50 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
51 |
setup both variants |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
52 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
53 |
$ cp -r A.1.1 A.1.1.a |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
54 |
$ cp -r A.1.1 A.1.1.b |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 |
|
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
57 |
Variant a: push -r A |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
58 |
-------------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
60 |
$ dotest A.1.1.a A |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
61 |
## Running testcase A.1.1.a |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
62 |
# testing echange of "A" (f5bc6836db60) |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
63 |
## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
64 |
# 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
|
65 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
66 |
# obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
67 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
68 |
## pushing "A" from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
69 |
pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
70 |
searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
71 |
remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
72 |
remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
73 |
remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
74 |
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
|
75 |
remote: 1 new obsolescence markers |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
76 |
## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
77 |
# 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
|
78 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
79 |
# 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
|
80 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
81 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
82 |
## pulling "f5bc6836db60" from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
83 |
pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
84 |
searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
85 |
adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
86 |
adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
87 |
adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
88 |
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
|
89 |
1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
90 |
(run 'hg update' to get a working copy) |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
91 |
## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
92 |
# 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
|
93 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
94 |
# 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
|
95 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
96 |
# 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
|
97 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
98 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
99 |
|
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
100 |
|
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
101 |
|
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
102 |
Variant b: push |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
103 |
--------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
104 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
105 |
$ dotest A.1.1.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
106 |
## Running testcase A.1.1.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
107 |
## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
108 |
# 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
|
109 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
110 |
# obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
111 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
112 |
## pushing from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
113 |
pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
114 |
searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
115 |
remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
116 |
remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
117 |
remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
118 |
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
|
119 |
remote: 1 new obsolescence markers |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
120 |
## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
121 |
# 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
|
122 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
123 |
# 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
|
124 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
125 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
126 |
## pulling from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
127 |
pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
128 |
searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
129 |
adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
130 |
adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
131 |
adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
132 |
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
|
133 |
1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
134 |
(run 'hg update' to get a working copy) |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
135 |
## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
136 |
# 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
|
137 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
138 |
# 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
|
139 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
140 |
# 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
|
141 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
142 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
143 |
|
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
144 |
|
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
145 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
146 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
147 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
148 |
==== A.1.2 pushing a multiple changeset into a single head ==== |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
149 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
150 |
.. {{{ |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
151 |
.. ◔ B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
152 |
.. | |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
153 |
.. ⇠◔ A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
154 |
.. | |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
155 |
.. ● O |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
156 |
.. }}} |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
157 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
158 |
.. Marker exist from: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
159 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
160 |
.. * A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
161 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
162 |
.. Command run: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
163 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
164 |
.. * hg push -r B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
165 |
.. * hg push |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
166 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
167 |
.. Expected exchange: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
168 |
.. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
169 |
.. * chain from A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
170 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
171 |
Setup |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
172 |
--------------- |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
173 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
174 |
initial |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
175 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
176 |
$ setuprepos A.1.2 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
177 |
creating test repo for test case A.1.2 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
178 |
- pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
179 |
- main |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
180 |
- pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
181 |
cd into `main` and proceed with env setup |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
182 |
$ cd main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
183 |
$ mkcommit A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
184 |
$ mkcommit B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
185 |
$ hg log -G |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
186 |
@ f6fbb35d8ac9 (draft): B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
187 |
| |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
188 |
o f5bc6836db60 (draft): A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
189 |
| |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
190 |
o a9bdc8b26820 (public): O |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
191 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
192 |
$ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(A)'` |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
193 |
$ hg debugobsolete |
1065
f355bbc124fc
test: update test to new date formatting in debuobsolete output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1060
diff
changeset
|
194 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
195 |
$ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
196 |
$ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
197 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
198 |
setup both variants |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
199 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
200 |
$ cp -r A.1.2 A.1.2.a |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
201 |
$ cp -r A.1.2 A.1.2.b |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
202 |
|
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
203 |
|
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
204 |
Variant a: push -r A |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
205 |
-------------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
206 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
207 |
$ dotest A.1.2.a B |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
208 |
## Running testcase A.1.2.a |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
209 |
# testing echange of "B" (f6fbb35d8ac9) |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
210 |
## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
211 |
# 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
|
212 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
213 |
# obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
214 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
215 |
## pushing "B" from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
216 |
pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
217 |
searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
218 |
remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
219 |
remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
220 |
remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
221 |
remote: added 2 changesets with 2 changes to 2 files |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
222 |
remote: 1 new obsolescence markers |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
223 |
## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
224 |
# 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
|
225 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
226 |
# 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
|
227 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
228 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
229 |
## pulling "f6fbb35d8ac9" from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
230 |
pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
231 |
searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
232 |
adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
233 |
adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
234 |
adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
235 |
added 2 changesets with 2 changes to 2 files |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
236 |
1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
237 |
(run 'hg update' to get a working copy) |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
238 |
## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
239 |
# 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
|
240 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
241 |
# 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
|
242 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
243 |
# 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
|
244 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
245 |
|
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
246 |
Variant b: push |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
247 |
--------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
248 |
|
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
249 |
$ dotest A.1.2.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
250 |
## Running testcase A.1.2.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
251 |
## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
252 |
# 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
|
253 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
254 |
# obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
255 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
256 |
## pushing from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
257 |
pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
258 |
searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
259 |
remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
260 |
remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
261 |
remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
262 |
remote: added 2 changesets with 2 changes to 2 files |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
263 |
remote: 1 new obsolescence markers |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
264 |
## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
265 |
# 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
|
266 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
267 |
# 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
|
268 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
269 |
# obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
270 |
## pulling from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
271 |
pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
272 |
searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
273 |
adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
274 |
adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
275 |
adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
276 |
added 2 changesets with 2 changes to 2 files |
1093
a49f2e7a2755
obsexch: respect todosteps when using the old push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1089
diff
changeset
|
277 |
1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
278 |
(run 'hg update' to get a working copy) |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
279 |
## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
280 |
# 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
|
281 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
282 |
# 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
|
283 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
284 |
# 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
|
285 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |