Mercurial > evolve
annotate tests/test-exchange-A1.t @ 2229:575561934439
debug: rename 'debugstablerange' to 'debugobshashrange'
The command is more about the 'obshashrange' computation.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 24 Mar 2017 09:42:39 +0100 |
parents | 3b18440cca74 |
children | a202f3af890c |
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 |
2118
d0bc98161794
tests: move exchange utility in testlib
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2083
diff
changeset
|
4 $ . $TESTDIR/testlib/exchange-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'} |
2083
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
48 $ hg debugobsrelsethashtree |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
49 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 0000000000000000000000000000000000000000 |
778afb036245
discovery: introduce a official 'obshash associated to a range
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1093
diff
changeset
|
50 f5bc6836db60e308a17ba08bf050154ba9c4fad7 50656e04a95ecdfed94659dd61f663b2caa55e98 |
2229
575561934439
debug: rename 'debugstablerange' to 'debugobshashrange'
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2228
diff
changeset
|
51 $ hg debugobshashrange --rev 'head()' |
2228
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
52 rev node index size depth obshash |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
53 1 f5bc6836db60 0 2 2 50656e04a95e |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
54 0 a9bdc8b26820 0 1 1 000000000000 |
3b18440cca74
debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
2118
diff
changeset
|
55 1 f5bc6836db60 1 1 2 50656e04a95e |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 $ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 $ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 setup both variants |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
60 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
61 $ 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
|
62 $ 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
|
63 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
64 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
65 Variant a: push -r A |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
66 -------------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
67 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
68 $ 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
|
69 ## 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
|
70 # testing echange of "A" (f5bc6836db60) |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
71 ## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
72 # 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
|
73 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
|
74 # obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
75 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
76 ## 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
|
77 pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
78 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
79 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
80 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
81 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
82 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
|
83 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
|
84 ## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
85 # 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
|
86 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
|
87 # 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
|
88 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
|
89 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
90 ## 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
|
91 pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
92 searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
93 adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
94 adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
95 adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
96 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
|
97 1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
98 (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
|
99 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
100 # 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
|
101 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
|
102 # 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
|
103 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
|
104 # 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
|
105 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
|
106 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
107 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
108 |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
109 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
110 Variant b: push |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
111 --------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
112 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
113 $ dotest A.1.1.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
114 ## 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
|
115 ## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
116 # 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
|
117 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
|
118 # obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
119 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
120 ## pushing from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
121 pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
122 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
123 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
124 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
125 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
126 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
|
127 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
|
128 ## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
129 # 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
|
130 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
|
131 # 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
|
132 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
|
133 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
134 ## pulling from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
135 pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
136 searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
137 adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
138 adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
139 adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
140 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
|
141 1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
142 (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
|
143 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
144 # 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
|
145 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
|
146 # 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
|
147 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
|
148 # 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
|
149 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
|
150 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
151 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
152 |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
153 |
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 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
156 ==== 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
|
157 |
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 .. ◔ B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
160 .. | |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
161 .. ⇠◔ A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
162 .. | |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
163 .. ● O |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
164 .. }}} |
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 .. Marker exist from: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
167 .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
168 .. * A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
169 .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
170 .. Command run: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
171 .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
172 .. * hg push -r B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
173 .. * hg push |
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 .. Expected exchange: |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
176 .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
177 .. * chain from A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
178 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
179 Setup |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
180 --------------- |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
181 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
182 initial |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
183 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
184 $ setuprepos A.1.2 |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
185 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
|
186 - pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
187 - main |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
188 - pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
189 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
|
190 $ cd main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
191 $ mkcommit A |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
192 $ mkcommit B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
193 $ hg log -G |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
194 @ f6fbb35d8ac9 (draft): B |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
195 | |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
196 o f5bc6836db60 (draft): A |
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 o a9bdc8b26820 (public): O |
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 $ 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
|
201 $ 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
|
202 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
|
203 $ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
204 $ cd .. |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
205 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
206 setup both variants |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
207 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
208 $ 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
|
209 $ 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
|
210 |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
211 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
212 Variant a: push -r A |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
213 -------------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
214 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
215 $ 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
|
216 ## 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
|
217 # testing echange of "B" (f6fbb35d8ac9) |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
218 ## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
219 # 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
|
220 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
|
221 # obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
222 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
223 ## 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
|
224 pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
225 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
226 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
227 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
228 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
229 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
|
230 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
|
231 ## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
232 # 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
|
233 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
|
234 # 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
|
235 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
|
236 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
237 ## 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
|
238 pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
239 searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
240 adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
241 adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
242 adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
243 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
|
244 1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
245 (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
|
246 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
247 # 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
|
248 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
|
249 # 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
|
250 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
|
251 # 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
|
252 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
|
253 |
984
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
254 Variant b: push |
b286f77d680c
tests: fix grammar, spelling, punctuation in comments
Greg Ward <greg@gerg.ca>
parents:
957
diff
changeset
|
255 --------------- |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
256 |
831
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
257 $ dotest A.1.2.b |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
258 ## 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
|
259 ## initial state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
260 # 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
|
261 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
|
262 # obstore: pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
263 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
264 ## pushing from main to pushdest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
265 pushing to pushdest |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
266 searching for changes |
1089
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
267 remote: adding changesets |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
268 remote: adding manifests |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
269 remote: adding file changes |
cdd22a5e5ef1
enable bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
1088
diff
changeset
|
270 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
|
271 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
|
272 ## post push state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
273 # 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
|
274 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
|
275 # 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
|
276 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
|
277 # obstore: pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
278 ## pulling from main into pulldest |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
279 pulling from main |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
280 searching for changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
281 adding changesets |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
282 adding manifests |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
283 adding file changes |
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
284 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
|
285 1 new obsolescence markers |
827
f62ff54c893b
exchange: add test case for A.1
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
286 (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
|
287 ## post pull state |
a6af6919888d
exchange: automate the testing process too
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
829
diff
changeset
|
288 # 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
|
289 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
|
290 # 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
|
291 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
|
292 # 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
|
293 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |