Mercurial > hg
comparison tests/test-infinitepush.t @ 50684:db9b6ce803a9
infinitepush: aggressively deprecated infinite push
We add a large warning and an explicit abort. Both can be disable through
config, but neither are explicitly documented. If any user exists I really want
them to get in touch with the community.
author | pierre-yves.david@ens-lyon.org |
---|---|
date | Mon, 19 Jun 2023 23:27:18 +0200 |
parents | e1953a34c110 |
children | b9a355763e76 |
comparison
equal
deleted
inserted
replaced
50683:d39ac3468ad4 | 50684:db9b6ce803a9 |
---|---|
11 | 11 |
12 $ . "$TESTDIR/library-infinitepush.sh" | 12 $ . "$TESTDIR/library-infinitepush.sh" |
13 $ cp $HGRCPATH $TESTTMP/defaulthgrc | 13 $ cp $HGRCPATH $TESTTMP/defaulthgrc |
14 $ setupcommon | 14 $ setupcommon |
15 $ hg init repo | 15 $ hg init repo |
16 IMPORTANT: if you use this extension, please contact | |
17 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
18 unused and barring learning of users of this functionality, we drop this | |
19 extension in Mercurial 6.6. | |
16 $ cd repo | 20 $ cd repo |
17 $ setupserver | 21 $ setupserver |
18 $ echo initialcommit > initialcommit | 22 $ echo initialcommit > initialcommit |
19 $ hg ci -Aqm "initialcommit" | 23 $ hg ci -Aqm "initialcommit" |
24 IMPORTANT: if you use this extension, please contact | |
25 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
26 unused and barring learning of users of this functionality, we drop this | |
27 extension in Mercurial 6.6. | |
20 $ hg phase --public . | 28 $ hg phase --public . |
29 IMPORTANT: if you use this extension, please contact | |
30 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
31 unused and barring learning of users of this functionality, we drop this | |
32 extension in Mercurial 6.6. | |
21 | 33 |
22 $ cd .. | 34 $ cd .. |
23 $ hg clone ssh://user@dummy/repo client -q | 35 $ hg clone ssh://user@dummy/repo client -q |
36 remote: IMPORTANT: if you use this extension, please contact | |
37 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
38 remote: unused and barring learning of users of this functionality, we drop this | |
39 remote: extension in Mercurial 6.6. | |
40 IMPORTANT: if you use this extension, please contact | |
41 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
42 unused and barring learning of users of this functionality, we drop this | |
43 extension in Mercurial 6.6. | |
44 IMPORTANT: if you use this extension, please contact | |
45 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
46 unused and barring learning of users of this functionality, we drop this | |
47 extension in Mercurial 6.6. | |
24 | 48 |
25 Create two heads. Push first head alone, then two heads together. Make sure that | 49 Create two heads. Push first head alone, then two heads together. Make sure that |
26 multihead push works. | 50 multihead push works. |
27 $ cd client | 51 $ cd client |
28 $ echo multihead1 > multihead1 | 52 $ echo multihead1 > multihead1 |
29 $ hg add multihead1 | 53 $ hg add multihead1 |
54 IMPORTANT: if you use this extension, please contact | |
55 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
56 unused and barring learning of users of this functionality, we drop this | |
57 extension in Mercurial 6.6. | |
30 $ hg ci -m "multihead1" | 58 $ hg ci -m "multihead1" |
59 IMPORTANT: if you use this extension, please contact | |
60 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
61 unused and barring learning of users of this functionality, we drop this | |
62 extension in Mercurial 6.6. | |
31 $ hg up null | 63 $ hg up null |
64 IMPORTANT: if you use this extension, please contact | |
65 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
66 unused and barring learning of users of this functionality, we drop this | |
67 extension in Mercurial 6.6. | |
32 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | 68 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
33 $ echo multihead2 > multihead2 | 69 $ echo multihead2 > multihead2 |
34 $ hg ci -Am "multihead2" | 70 $ hg ci -Am "multihead2" |
71 IMPORTANT: if you use this extension, please contact | |
72 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
73 unused and barring learning of users of this functionality, we drop this | |
74 extension in Mercurial 6.6. | |
35 adding multihead2 | 75 adding multihead2 |
36 created new head | 76 created new head |
37 $ hg push -r . --bundle-store | 77 $ hg push -r . --bundle-store |
78 IMPORTANT: if you use this extension, please contact | |
79 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
80 unused and barring learning of users of this functionality, we drop this | |
81 extension in Mercurial 6.6. | |
38 pushing to ssh://user@dummy/repo | 82 pushing to ssh://user@dummy/repo |
39 searching for changes | 83 remote: IMPORTANT: if you use this extension, please contact |
84 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
85 remote: unused and barring learning of users of this functionality, we drop this | |
86 remote: extension in Mercurial 6.6. | |
87 IMPORTANT: if you use this extension, please contact | |
88 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
89 unused and barring learning of users of this functionality, we drop this | |
90 extension in Mercurial 6.6. | |
91 searching for changes | |
92 remote: IMPORTANT: if you use this extension, please contact | |
93 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
94 remote: unused and barring learning of users of this functionality, we drop this | |
95 remote: extension in Mercurial 6.6. | |
40 remote: pushing 1 commit: | 96 remote: pushing 1 commit: |
41 remote: ee4802bf6864 multihead2 | 97 remote: ee4802bf6864 multihead2 |
42 $ hg push -r '1:2' --bundle-store | 98 $ hg push -r '1:2' --bundle-store |
99 IMPORTANT: if you use this extension, please contact | |
100 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
101 unused and barring learning of users of this functionality, we drop this | |
102 extension in Mercurial 6.6. | |
43 pushing to ssh://user@dummy/repo | 103 pushing to ssh://user@dummy/repo |
44 searching for changes | 104 remote: IMPORTANT: if you use this extension, please contact |
105 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
106 remote: unused and barring learning of users of this functionality, we drop this | |
107 remote: extension in Mercurial 6.6. | |
108 IMPORTANT: if you use this extension, please contact | |
109 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
110 unused and barring learning of users of this functionality, we drop this | |
111 extension in Mercurial 6.6. | |
112 searching for changes | |
113 remote: IMPORTANT: if you use this extension, please contact | |
114 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
115 remote: unused and barring learning of users of this functionality, we drop this | |
116 remote: extension in Mercurial 6.6. | |
45 remote: pushing 2 commits: | 117 remote: pushing 2 commits: |
46 remote: bc22f9a30a82 multihead1 | 118 remote: bc22f9a30a82 multihead1 |
47 remote: ee4802bf6864 multihead2 | 119 remote: ee4802bf6864 multihead2 |
48 $ scratchnodes | 120 $ scratchnodes |
49 bc22f9a30a821118244deacbd732e394ed0b686c de1b7d132ba98f0172cd974e3e69dfa80faa335c | 121 bc22f9a30a821118244deacbd732e394ed0b686c de1b7d132ba98f0172cd974e3e69dfa80faa335c |
50 ee4802bf6864326a6b3dcfff5a03abc2a0a69b8f de1b7d132ba98f0172cd974e3e69dfa80faa335c | 122 ee4802bf6864326a6b3dcfff5a03abc2a0a69b8f de1b7d132ba98f0172cd974e3e69dfa80faa335c |
51 | 123 |
52 Create two new scratch bookmarks | 124 Create two new scratch bookmarks |
53 $ hg up 0 | 125 $ hg up 0 |
126 IMPORTANT: if you use this extension, please contact | |
127 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
128 unused and barring learning of users of this functionality, we drop this | |
129 extension in Mercurial 6.6. | |
54 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | 130 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
55 $ echo scratchfirstpart > scratchfirstpart | 131 $ echo scratchfirstpart > scratchfirstpart |
56 $ hg ci -Am "scratchfirstpart" | 132 $ hg ci -Am "scratchfirstpart" |
133 IMPORTANT: if you use this extension, please contact | |
134 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
135 unused and barring learning of users of this functionality, we drop this | |
136 extension in Mercurial 6.6. | |
57 adding scratchfirstpart | 137 adding scratchfirstpart |
58 created new head | 138 created new head |
59 $ hg push -r . -B scratch/firstpart | 139 $ hg push -r . -B scratch/firstpart |
140 IMPORTANT: if you use this extension, please contact | |
141 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
142 unused and barring learning of users of this functionality, we drop this | |
143 extension in Mercurial 6.6. | |
60 pushing to ssh://user@dummy/repo | 144 pushing to ssh://user@dummy/repo |
61 searching for changes | 145 remote: IMPORTANT: if you use this extension, please contact |
146 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
147 remote: unused and barring learning of users of this functionality, we drop this | |
148 remote: extension in Mercurial 6.6. | |
149 IMPORTANT: if you use this extension, please contact | |
150 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
151 unused and barring learning of users of this functionality, we drop this | |
152 extension in Mercurial 6.6. | |
153 searching for changes | |
154 remote: IMPORTANT: if you use this extension, please contact | |
155 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
156 remote: unused and barring learning of users of this functionality, we drop this | |
157 remote: extension in Mercurial 6.6. | |
62 remote: pushing 1 commit: | 158 remote: pushing 1 commit: |
63 remote: 176993b87e39 scratchfirstpart | 159 remote: 176993b87e39 scratchfirstpart |
64 $ hg up 0 | 160 $ hg up 0 |
161 IMPORTANT: if you use this extension, please contact | |
162 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
163 unused and barring learning of users of this functionality, we drop this | |
164 extension in Mercurial 6.6. | |
65 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | 165 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
66 $ echo scratchsecondpart > scratchsecondpart | 166 $ echo scratchsecondpart > scratchsecondpart |
67 $ hg ci -Am "scratchsecondpart" | 167 $ hg ci -Am "scratchsecondpart" |
168 IMPORTANT: if you use this extension, please contact | |
169 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
170 unused and barring learning of users of this functionality, we drop this | |
171 extension in Mercurial 6.6. | |
68 adding scratchsecondpart | 172 adding scratchsecondpart |
69 created new head | 173 created new head |
70 $ hg push -r . -B scratch/secondpart | 174 $ hg push -r . -B scratch/secondpart |
175 IMPORTANT: if you use this extension, please contact | |
176 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
177 unused and barring learning of users of this functionality, we drop this | |
178 extension in Mercurial 6.6. | |
71 pushing to ssh://user@dummy/repo | 179 pushing to ssh://user@dummy/repo |
72 searching for changes | 180 remote: IMPORTANT: if you use this extension, please contact |
181 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
182 remote: unused and barring learning of users of this functionality, we drop this | |
183 remote: extension in Mercurial 6.6. | |
184 IMPORTANT: if you use this extension, please contact | |
185 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
186 unused and barring learning of users of this functionality, we drop this | |
187 extension in Mercurial 6.6. | |
188 searching for changes | |
189 remote: IMPORTANT: if you use this extension, please contact | |
190 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
191 remote: unused and barring learning of users of this functionality, we drop this | |
192 remote: extension in Mercurial 6.6. | |
73 remote: pushing 1 commit: | 193 remote: pushing 1 commit: |
74 remote: 8db3891c220e scratchsecondpart | 194 remote: 8db3891c220e scratchsecondpart |
75 | 195 |
76 Pull two bookmarks from the second client | 196 Pull two bookmarks from the second client |
77 $ cd .. | 197 $ cd .. |
78 $ hg clone ssh://user@dummy/repo client2 -q | 198 $ hg clone ssh://user@dummy/repo client2 -q |
199 remote: IMPORTANT: if you use this extension, please contact | |
200 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
201 remote: unused and barring learning of users of this functionality, we drop this | |
202 remote: extension in Mercurial 6.6. | |
203 IMPORTANT: if you use this extension, please contact | |
204 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
205 unused and barring learning of users of this functionality, we drop this | |
206 extension in Mercurial 6.6. | |
207 IMPORTANT: if you use this extension, please contact | |
208 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
209 unused and barring learning of users of this functionality, we drop this | |
210 extension in Mercurial 6.6. | |
79 $ cd client2 | 211 $ cd client2 |
80 $ hg pull -B scratch/firstpart -B scratch/secondpart | 212 $ hg pull -B scratch/firstpart -B scratch/secondpart |
213 IMPORTANT: if you use this extension, please contact | |
214 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
215 unused and barring learning of users of this functionality, we drop this | |
216 extension in Mercurial 6.6. | |
217 remote: IMPORTANT: if you use this extension, please contact | |
218 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
219 remote: unused and barring learning of users of this functionality, we drop this | |
220 remote: extension in Mercurial 6.6. | |
221 IMPORTANT: if you use this extension, please contact | |
222 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
223 unused and barring learning of users of this functionality, we drop this | |
224 extension in Mercurial 6.6. | |
81 pulling from ssh://user@dummy/repo | 225 pulling from ssh://user@dummy/repo |
82 searching for changes | 226 remote: IMPORTANT: if you use this extension, please contact |
227 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
228 remote: unused and barring learning of users of this functionality, we drop this | |
229 remote: extension in Mercurial 6.6. | |
230 IMPORTANT: if you use this extension, please contact | |
231 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
232 unused and barring learning of users of this functionality, we drop this | |
233 extension in Mercurial 6.6. | |
234 searching for changes | |
235 remote: IMPORTANT: if you use this extension, please contact | |
236 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
237 remote: unused and barring learning of users of this functionality, we drop this | |
238 remote: extension in Mercurial 6.6. | |
239 remote: IMPORTANT: if you use this extension, please contact | |
240 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
241 remote: unused and barring learning of users of this functionality, we drop this | |
242 remote: extension in Mercurial 6.6. | |
83 adding changesets | 243 adding changesets |
84 adding manifests | 244 adding manifests |
85 adding file changes | 245 adding file changes |
86 adding changesets | 246 adding changesets |
87 adding manifests | 247 adding manifests |
88 adding file changes | 248 adding file changes |
89 added 2 changesets with 2 changes to 2 files (+1 heads) | 249 added 2 changesets with 2 changes to 2 files (+1 heads) |
90 new changesets * (glob) | 250 new changesets * (glob) |
91 (run 'hg heads' to see heads, 'hg merge' to merge) | 251 (run 'hg heads' to see heads, 'hg merge' to merge) |
92 $ hg log -r scratch/secondpart -T '{node}' | 252 $ hg log -r scratch/secondpart -T '{node}' |
253 IMPORTANT: if you use this extension, please contact | |
254 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
255 unused and barring learning of users of this functionality, we drop this | |
256 extension in Mercurial 6.6. | |
93 8db3891c220e216f6da214e8254bd4371f55efca (no-eol) | 257 8db3891c220e216f6da214e8254bd4371f55efca (no-eol) |
94 $ hg log -r scratch/firstpart -T '{node}' | 258 $ hg log -r scratch/firstpart -T '{node}' |
259 IMPORTANT: if you use this extension, please contact | |
260 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
261 unused and barring learning of users of this functionality, we drop this | |
262 extension in Mercurial 6.6. | |
95 176993b87e39bd88d66a2cccadabe33f0b346339 (no-eol) | 263 176993b87e39bd88d66a2cccadabe33f0b346339 (no-eol) |
96 Make two commits to the scratch branch | 264 Make two commits to the scratch branch |
97 | 265 |
98 $ echo testpullbycommithash1 > testpullbycommithash1 | 266 $ echo testpullbycommithash1 > testpullbycommithash1 |
99 $ hg ci -Am "testpullbycommithash1" | 267 $ hg ci -Am "testpullbycommithash1" |
268 IMPORTANT: if you use this extension, please contact | |
269 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
270 unused and barring learning of users of this functionality, we drop this | |
271 extension in Mercurial 6.6. | |
100 adding testpullbycommithash1 | 272 adding testpullbycommithash1 |
101 created new head | 273 created new head |
102 $ hg log -r '.' -T '{node}\n' > ../testpullbycommithash1 | 274 $ hg log -r '.' -T '{node}\n' > ../testpullbycommithash1 |
275 IMPORTANT: if you use this extension, please contact | |
276 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
277 unused and barring learning of users of this functionality, we drop this | |
278 extension in Mercurial 6.6. | |
103 $ echo testpullbycommithash2 > testpullbycommithash2 | 279 $ echo testpullbycommithash2 > testpullbycommithash2 |
104 $ hg ci -Aqm "testpullbycommithash2" | 280 $ hg ci -Aqm "testpullbycommithash2" |
281 IMPORTANT: if you use this extension, please contact | |
282 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
283 unused and barring learning of users of this functionality, we drop this | |
284 extension in Mercurial 6.6. | |
105 $ hg push -r . -B scratch/mybranch -q | 285 $ hg push -r . -B scratch/mybranch -q |
286 IMPORTANT: if you use this extension, please contact | |
287 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
288 unused and barring learning of users of this functionality, we drop this | |
289 extension in Mercurial 6.6. | |
290 remote: IMPORTANT: if you use this extension, please contact | |
291 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
292 remote: unused and barring learning of users of this functionality, we drop this | |
293 remote: extension in Mercurial 6.6. | |
294 IMPORTANT: if you use this extension, please contact | |
295 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
296 unused and barring learning of users of this functionality, we drop this | |
297 extension in Mercurial 6.6. | |
106 | 298 |
107 Create third client and pull by commit hash. | 299 Create third client and pull by commit hash. |
108 Make sure testpullbycommithash2 has not fetched | 300 Make sure testpullbycommithash2 has not fetched |
109 $ cd .. | 301 $ cd .. |
110 $ hg clone ssh://user@dummy/repo client3 -q | 302 $ hg clone ssh://user@dummy/repo client3 -q |
303 remote: IMPORTANT: if you use this extension, please contact | |
304 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
305 remote: unused and barring learning of users of this functionality, we drop this | |
306 remote: extension in Mercurial 6.6. | |
307 IMPORTANT: if you use this extension, please contact | |
308 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
309 unused and barring learning of users of this functionality, we drop this | |
310 extension in Mercurial 6.6. | |
311 IMPORTANT: if you use this extension, please contact | |
312 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
313 unused and barring learning of users of this functionality, we drop this | |
314 extension in Mercurial 6.6. | |
111 $ cd client3 | 315 $ cd client3 |
112 $ hg pull -r `cat ../testpullbycommithash1` | 316 $ hg pull -r `cat ../testpullbycommithash1` |
317 IMPORTANT: if you use this extension, please contact | |
318 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
319 unused and barring learning of users of this functionality, we drop this | |
320 extension in Mercurial 6.6. | |
113 pulling from ssh://user@dummy/repo | 321 pulling from ssh://user@dummy/repo |
114 searching for changes | 322 remote: IMPORTANT: if you use this extension, please contact |
323 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
324 remote: unused and barring learning of users of this functionality, we drop this | |
325 remote: extension in Mercurial 6.6. | |
326 IMPORTANT: if you use this extension, please contact | |
327 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
328 unused and barring learning of users of this functionality, we drop this | |
329 extension in Mercurial 6.6. | |
330 searching for changes | |
331 remote: IMPORTANT: if you use this extension, please contact | |
332 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
333 remote: unused and barring learning of users of this functionality, we drop this | |
334 remote: extension in Mercurial 6.6. | |
115 adding changesets | 335 adding changesets |
116 adding manifests | 336 adding manifests |
117 adding file changes | 337 adding file changes |
118 added 1 changesets with 1 changes to 1 files | 338 added 1 changesets with 1 changes to 1 files |
119 new changesets 33910bfe6ffe (1 drafts) | 339 new changesets 33910bfe6ffe (1 drafts) |
120 (run 'hg update' to get a working copy) | 340 (run 'hg update' to get a working copy) |
121 $ hg log -G -T '{desc} {phase} {bookmarks}' | 341 $ hg log -G -T '{desc} {phase} {bookmarks}' |
342 IMPORTANT: if you use this extension, please contact | |
343 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
344 unused and barring learning of users of this functionality, we drop this | |
345 extension in Mercurial 6.6. | |
122 o testpullbycommithash1 draft | 346 o testpullbycommithash1 draft |
123 | | 347 | |
124 @ initialcommit public | 348 @ initialcommit public |
125 | 349 |
126 Make public commit in the repo and pull it. | 350 Make public commit in the repo and pull it. |
127 Make sure phase on the client is public. | 351 Make sure phase on the client is public. |
128 $ cd ../repo | 352 $ cd ../repo |
129 $ echo publiccommit > publiccommit | 353 $ echo publiccommit > publiccommit |
130 $ hg ci -Aqm "publiccommit" | 354 $ hg ci -Aqm "publiccommit" |
355 IMPORTANT: if you use this extension, please contact | |
356 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
357 unused and barring learning of users of this functionality, we drop this | |
358 extension in Mercurial 6.6. | |
131 $ hg phase --public . | 359 $ hg phase --public . |
360 IMPORTANT: if you use this extension, please contact | |
361 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
362 unused and barring learning of users of this functionality, we drop this | |
363 extension in Mercurial 6.6. | |
132 $ cd ../client3 | 364 $ cd ../client3 |
133 $ hg pull | 365 $ hg pull |
366 IMPORTANT: if you use this extension, please contact | |
367 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
368 unused and barring learning of users of this functionality, we drop this | |
369 extension in Mercurial 6.6. | |
134 pulling from ssh://user@dummy/repo | 370 pulling from ssh://user@dummy/repo |
371 remote: IMPORTANT: if you use this extension, please contact | |
372 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
373 remote: unused and barring learning of users of this functionality, we drop this | |
374 remote: extension in Mercurial 6.6. | |
375 IMPORTANT: if you use this extension, please contact | |
376 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
377 unused and barring learning of users of this functionality, we drop this | |
378 extension in Mercurial 6.6. | |
135 searching for changes | 379 searching for changes |
136 adding changesets | 380 adding changesets |
137 adding manifests | 381 adding manifests |
138 adding file changes | 382 adding file changes |
139 added 1 changesets with 1 changes to 1 files (+1 heads) | 383 added 1 changesets with 1 changes to 1 files (+1 heads) |
140 new changesets a79b6597f322 | 384 new changesets a79b6597f322 |
141 (run 'hg heads' to see heads, 'hg merge' to merge) | 385 (run 'hg heads' to see heads, 'hg merge' to merge) |
142 $ hg log -G -T '{desc} {phase} {bookmarks} {node|short}' | 386 $ hg log -G -T '{desc} {phase} {bookmarks} {node|short}' |
387 IMPORTANT: if you use this extension, please contact | |
388 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
389 unused and barring learning of users of this functionality, we drop this | |
390 extension in Mercurial 6.6. | |
143 o publiccommit public a79b6597f322 | 391 o publiccommit public a79b6597f322 |
144 | | 392 | |
145 | o testpullbycommithash1 draft 33910bfe6ffe | 393 | o testpullbycommithash1 draft 33910bfe6ffe |
146 |/ | 394 |/ |
147 @ initialcommit public 67145f466344 | 395 @ initialcommit public 67145f466344 |
148 | 396 |
149 $ hg up a79b6597f322 | 397 $ hg up a79b6597f322 |
398 IMPORTANT: if you use this extension, please contact | |
399 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
400 unused and barring learning of users of this functionality, we drop this | |
401 extension in Mercurial 6.6. | |
150 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 402 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
151 $ echo scratchontopofpublic > scratchontopofpublic | 403 $ echo scratchontopofpublic > scratchontopofpublic |
152 $ hg ci -Aqm "scratchontopofpublic" | 404 $ hg ci -Aqm "scratchontopofpublic" |
405 IMPORTANT: if you use this extension, please contact | |
406 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
407 unused and barring learning of users of this functionality, we drop this | |
408 extension in Mercurial 6.6. | |
153 $ hg push -r . -B scratch/scratchontopofpublic | 409 $ hg push -r . -B scratch/scratchontopofpublic |
410 IMPORTANT: if you use this extension, please contact | |
411 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
412 unused and barring learning of users of this functionality, we drop this | |
413 extension in Mercurial 6.6. | |
154 pushing to ssh://user@dummy/repo | 414 pushing to ssh://user@dummy/repo |
155 searching for changes | 415 remote: IMPORTANT: if you use this extension, please contact |
416 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
417 remote: unused and barring learning of users of this functionality, we drop this | |
418 remote: extension in Mercurial 6.6. | |
419 IMPORTANT: if you use this extension, please contact | |
420 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
421 unused and barring learning of users of this functionality, we drop this | |
422 extension in Mercurial 6.6. | |
423 searching for changes | |
424 remote: IMPORTANT: if you use this extension, please contact | |
425 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
426 remote: unused and barring learning of users of this functionality, we drop this | |
427 remote: extension in Mercurial 6.6. | |
156 remote: pushing 1 commit: | 428 remote: pushing 1 commit: |
157 remote: c70aee6da07d scratchontopofpublic | 429 remote: c70aee6da07d scratchontopofpublic |
158 $ cd ../client2 | 430 $ cd ../client2 |
159 $ hg pull -B scratch/scratchontopofpublic | 431 $ hg pull -B scratch/scratchontopofpublic |
432 IMPORTANT: if you use this extension, please contact | |
433 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
434 unused and barring learning of users of this functionality, we drop this | |
435 extension in Mercurial 6.6. | |
436 remote: IMPORTANT: if you use this extension, please contact | |
437 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
438 remote: unused and barring learning of users of this functionality, we drop this | |
439 remote: extension in Mercurial 6.6. | |
440 IMPORTANT: if you use this extension, please contact | |
441 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
442 unused and barring learning of users of this functionality, we drop this | |
443 extension in Mercurial 6.6. | |
160 pulling from ssh://user@dummy/repo | 444 pulling from ssh://user@dummy/repo |
161 searching for changes | 445 remote: IMPORTANT: if you use this extension, please contact |
446 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
447 remote: unused and barring learning of users of this functionality, we drop this | |
448 remote: extension in Mercurial 6.6. | |
449 IMPORTANT: if you use this extension, please contact | |
450 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
451 unused and barring learning of users of this functionality, we drop this | |
452 extension in Mercurial 6.6. | |
453 searching for changes | |
454 remote: IMPORTANT: if you use this extension, please contact | |
455 remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
456 remote: unused and barring learning of users of this functionality, we drop this | |
457 remote: extension in Mercurial 6.6. | |
162 adding changesets | 458 adding changesets |
163 adding manifests | 459 adding manifests |
164 adding file changes | 460 adding file changes |
165 adding changesets | 461 adding changesets |
166 adding manifests | 462 adding manifests |
167 adding file changes | 463 adding file changes |
168 added 2 changesets with 2 changes to 2 files (+1 heads) | 464 added 2 changesets with 2 changes to 2 files (+1 heads) |
169 new changesets a79b6597f322:c70aee6da07d (1 drafts) | 465 new changesets a79b6597f322:c70aee6da07d (1 drafts) |
170 (run 'hg heads .' to see heads, 'hg merge' to merge) | 466 (run 'hg heads .' to see heads, 'hg merge' to merge) |
171 $ hg log -r scratch/scratchontopofpublic -T '{phase}' | 467 $ hg log -r scratch/scratchontopofpublic -T '{phase}' |
468 IMPORTANT: if you use this extension, please contact | |
469 mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be | |
470 unused and barring learning of users of this functionality, we drop this | |
471 extension in Mercurial 6.6. | |
172 draft (no-eol) | 472 draft (no-eol) |