Mercurial > evolve
annotate tests/test-exchange-A1.t @ 1089:cdd22a5e5ef1
enable bundle2
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sun, 27 Jul 2014 23:09:45 +0200 |
parents | 528c066cd51c |
children | a49f2e7a2755 |
rev | line source |
---|---|
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 |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
75 pushing 1 obsolescence markers (65 bytes) |
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 |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
89 pull obsolescence markers |
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
90 1 obsolescence markers added |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
91 (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
|
92 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
93 # 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
|
94 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
|
95 # 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
|
96 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
|
97 # 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
|
98 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
|
99 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
100 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
101 |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
102 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
103 Variant b: push |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
104 --------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
105 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
106 $ dotest A.1.1.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
107 ## 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
|
108 ## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
109 # 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
|
110 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
|
111 # obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
112 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
113 ## pushing from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
114 pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
115 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
116 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
117 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
118 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
119 remote: added 1 changesets with 1 changes to 1 files |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
120 pushing 1 obsolescence markers (65 bytes) |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
121 ## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
122 # 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
|
123 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
|
124 # 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
|
125 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
|
126 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
127 ## pulling from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
128 pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
129 searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
130 adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
131 adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
132 adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
133 added 1 changesets with 1 changes to 1 files |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
134 pull obsolescence markers |
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
135 1 obsolescence markers added |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
136 (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
|
137 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
138 # 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
|
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: 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
|
141 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
|
142 # 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
|
143 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
|
144 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
145 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
146 |
827
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 |
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 ==== 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
|
151 |
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 .. ◔ B |
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 .. ⇠◔ A |
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 .. ● O |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
158 .. }}} |
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 .. Marker exist from: |
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 .. * A |
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 .. Command run: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
165 .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
166 .. * hg push -r B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
167 .. * hg push |
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 .. Expected exchange: |
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 .. * chain from A |
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 Setup |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
174 --------------- |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
175 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
176 initial |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
177 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
178 $ setuprepos A.1.2 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
179 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
|
180 - pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
181 - main |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
182 - pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
183 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
|
184 $ cd main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
185 $ mkcommit A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
186 $ mkcommit B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
187 $ hg log -G |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
188 @ f6fbb35d8ac9 (draft): B |
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 f5bc6836db60 (draft): A |
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 o a9bdc8b26820 (public): O |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
193 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
194 $ 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
|
195 $ 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
|
196 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
|
197 $ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
198 $ cd .. |
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 setup both variants |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
201 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
202 $ 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
|
203 $ 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
|
204 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
205 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
206 Variant a: push -r A |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
207 -------------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
208 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
209 $ 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
|
210 ## 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
|
211 # testing echange of "B" (f6fbb35d8ac9) |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
212 ## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
213 # 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
|
214 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
|
215 # obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
216 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
217 ## 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
|
218 pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
219 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
220 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
221 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
222 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
223 remote: added 2 changesets with 2 changes to 2 files |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
224 pushing 1 obsolescence markers (65 bytes) |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
225 ## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
226 # 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
|
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: 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
|
229 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
|
230 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
231 ## 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
|
232 pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
233 searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
234 adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
235 adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
236 adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
237 added 2 changesets with 2 changes to 2 files |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
238 pull obsolescence markers |
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
239 1 obsolescence markers added |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
240 (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
|
241 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
242 # 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
|
243 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
|
244 # 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
|
245 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
|
246 # 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
|
247 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
|
248 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
249 Variant b: push |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
250 --------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
251 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
252 $ dotest A.1.2.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
253 ## 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
|
254 ## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
255 # 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
|
256 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
|
257 # obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
258 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
259 ## pushing from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
260 pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
261 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
262 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
263 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
264 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
265 remote: added 2 changesets with 2 changes to 2 files |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
266 pushing 1 obsolescence markers (65 bytes) |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
267 ## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
268 # 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
|
269 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
|
270 # 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
|
271 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
|
272 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
273 ## pulling from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
274 pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
275 searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
276 adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
277 adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
278 adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
279 added 2 changesets with 2 changes to 2 files |
1088
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
280 pull obsolescence markers |
528c066cd51c
drop the debug output
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1078
diff
changeset
|
281 1 obsolescence markers added |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
282 (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
|
283 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
284 # 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
|
285 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
|
286 # 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
|
287 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
|
288 # 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
|
289 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |