comparison tests/test-topic-push.t @ 6312:921eb676983f

tests: add a branch with double slash in its name to test-topic-push.t Just to make sure nothing breaks, and also for a source of debug info in case we want to see what happens with such branch during exchange.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 22 Sep 2022 17:43:45 +0400
parents caf302fb8f4d
children 3bad2060db25
comparison
equal deleted inserted replaced
6311:466702ac6c28 6312:921eb676983f
97 adding file changes 97 adding file changes
98 added 1 changesets with 1 changes to 1 files 98 added 1 changesets with 1 changes to 1 files
99 99
100 Pushing a new branch 100 Pushing a new branch
101 101
102 $ hg branch mountain 102 $ hg branch double//slash
103 marked working directory as branch mountain 103 marked working directory as branch double//slash
104 (branches are permanent and global, did you want a bookmark?) 104 (branches are permanent and global, did you want a bookmark?)
105 $ hg commit --amend 105 $ hg commit --amend
106 $ hg outgoing -G 106 $ hg outgoing -G
107 comparing with $TESTTMP/main (glob) 107 comparing with $TESTTMP/main (glob)
108 searching for changes 108 searching for changes
109 @ 3 mountain draft CC 109 @ 3 double//slash draft CC
110 110
111 $ hg push 111 $ hg push
112 pushing to $TESTTMP/main (glob) 112 pushing to $TESTTMP/main (glob)
113 searching for changes 113 searching for changes
114 abort: push creates new remote branches: mountain 114 abort: push creates new remote branches: double//slash
115 (use 'hg push --new-branch' to create new remote branches) 115 (use 'hg push --new-branch' to create new remote branches)
116 [20] 116 [20]
117 $ hg push --new-branch 117 $ hg push --new-branch
118 pushing to $TESTTMP/main (glob) 118 pushing to $TESTTMP/main (glob)
119 searching for changes 119 searching for changes
150 active topic 'babar' grew its first changeset 150 active topic 'babar' grew its first changeset
151 (see 'hg help topics' for more information) 151 (see 'hg help topics' for more information)
152 $ hg log -G # keep track of phase because I saw some strange bug during developement 152 $ hg log -G # keep track of phase because I saw some strange bug during developement
153 @ 4 default babar draft CD 153 @ 4 default babar draft CD
154 | 154 |
155 | o 3 mountain public CC 155 | o 3 double//slash public CC
156 |/ 156 |/
157 | o 1 default public CB 157 | o 1 default public CB
158 |/ 158 |/
159 o 0 default public CA 159 o 0 default public CA
160 160
169 adding file changes 169 adding file changes
170 added 1 changesets with 1 changes to 1 files (+1 heads) 170 added 1 changesets with 1 changes to 1 files (+1 heads)
171 $ hg log -G 171 $ hg log -G
172 @ 4 default babar draft CD 172 @ 4 default babar draft CD
173 | 173 |
174 | o 3 mountain public CC 174 | o 3 double//slash public CC
175 |/ 175 |/
176 | o 1 default public CB 176 | o 1 default public CB
177 |/ 177 |/
178 o 0 default public CA 178 o 0 default public CA
179 179
180 push --topic 180 push --topic
181 181
182 $ hg log -G -R $TESTTMP/draft 182 $ hg log -G -R $TESTTMP/draft
183 o 3 default babar draft CD 183 o 3 default babar draft CD
184 | 184 |
185 | o 2 mountain public CC 185 | o 2 double//slash public CC
186 |/ 186 |/
187 | o 1 default public CB 187 | o 1 default public CB
188 |/ 188 |/
189 o 0 default public CA 189 o 0 default public CA
190 190
200 | 200 |
201 | o 5 default babar draft C'A 201 | o 5 default babar draft C'A
202 | | 202 | |
203 | o 4 default babar draft CD 203 | o 4 default babar draft CD
204 | | 204 | |
205 | | o 3 mountain public CC 205 | | o 3 double//slash public CC
206 | |/ 206 | |/
207 o | 1 default public CB 207 o | 1 default public CB
208 |/ 208 |/
209 o 0 default public CA 209 o 0 default public CA
210 210
238 $ hg log -G -R $TESTTMP/draft 238 $ hg log -G -R $TESTTMP/draft
239 o 4 default babar draft C'A 239 o 4 default babar draft C'A
240 | 240 |
241 o 3 default babar draft CD 241 o 3 default babar draft CD
242 | 242 |
243 | o 2 mountain public CC 243 | o 2 double//slash public CC
244 |/ 244 |/
245 | o 1 default public CB 245 | o 1 default public CB
246 |/ 246 |/
247 o 0 default public CA 247 o 0 default public CA
248 248
258 (merge or see 'hg help push' for details about pushing new heads) 258 (merge or see 'hg help push' for details about pushing new heads)
259 [20] 259 [20]
260 $ hg log -G 260 $ hg log -G
261 @ 4 default babar draft CD 261 @ 4 default babar draft CD
262 | 262 |
263 | o 3 mountain public CC 263 | o 3 double//slash public CC
264 |/ 264 |/
265 | o 1 default public CB 265 | o 1 default public CB
266 |/ 266 |/
267 o 0 default public CA 267 o 0 default public CA
268 268
282 $ hg log -G # keep track of phase because I saw some strange bug during developement 282 $ hg log -G # keep track of phase because I saw some strange bug during developement
283 @ 5 default celeste draft CE 283 @ 5 default celeste draft CE
284 | 284 |
285 | o 4 default babar draft CD 285 | o 4 default babar draft CD
286 |/ 286 |/
287 | o 3 mountain public CC 287 | o 3 double//slash public CC
288 |/ 288 |/
289 | o 1 default public CB 289 | o 1 default public CB
290 |/ 290 |/
291 o 0 default public CA 291 o 0 default public CA
292 292
306 $ hg log -G 306 $ hg log -G
307 @ 5 default celeste draft CE 307 @ 5 default celeste draft CE
308 | 308 |
309 | o 4 default babar draft CD 309 | o 4 default babar draft CD
310 |/ 310 |/
311 | o 3 mountain public CC 311 | o 3 double//slash public CC
312 |/ 312 |/
313 | o 1 default public CB 313 | o 1 default public CB
314 |/ 314 |/
315 o 0 default public CA 315 o 0 default public CA
316 316
328 $ hg log -G 328 $ hg log -G
329 @ 5 default celeste draft CE 329 @ 5 default celeste draft CE
330 | 330 |
331 | o 4 default babar draft CD 331 | o 4 default babar draft CD
332 |/ 332 |/
333 | o 3 mountain public CC 333 | o 3 double//slash public CC
334 |/ 334 |/
335 | o 1 default public CB 335 | o 1 default public CB
336 |/ 336 |/
337 o 0 default public CA 337 o 0 default public CA
338 338
348 $ hg log -G 348 $ hg log -G
349 @ 5 default celeste draft CE 349 @ 5 default celeste draft CE
350 | 350 |
351 | o 4 default babar draft CD 351 | o 4 default babar draft CD
352 |/ 352 |/
353 | o 3 mountain public CC 353 | o 3 double//slash public CC
354 |/ 354 |/
355 | o 1 default public CB 355 | o 1 default public CB
356 |/ 356 |/
357 o 0 default public CA 357 o 0 default public CA
358 358
372 | 372 |
373 | o 5 default celeste draft CE 373 | o 5 default celeste draft CE
374 | | 374 | |
375 | | o 4 default babar draft CD 375 | | o 4 default babar draft CD
376 | |/ 376 | |/
377 | | o 3 mountain public CC 377 | | o 3 double//slash public CC
378 | |/ 378 | |/
379 o | 1 default public CB 379 o | 1 default public CB
380 |/ 380 |/
381 o 0 default public CA 381 o 0 default public CA
382 382
414 | | 414 | |
415 | | o 5 default celeste draft CE 415 | | o 5 default celeste draft CE
416 | |/ 416 | |/
417 | | o 4 default babar draft CD 417 | | o 4 default babar draft CD
418 | |/ 418 | |/
419 | | o 3 mountain public CC 419 | | o 3 double//slash public CC
420 | |/ 420 | |/
421 o | 1 default public CB 421 o | 1 default public CB
422 |/ 422 |/
423 o 0 default public CA 423 o 0 default public CA
424 424