comparison tests/test-topic-push.t @ 5709:d0f73113fcc0 stable

tests: remove trailing "!" from abort messages CORE-TEST-OUTPUT-UPDATE: 95c4cca641f6 CORE-TEST-OUTPUT-UPDATE: 50afeeeb7b79 CORE-TEST-OUTPUT-UPDATE: 122f0b59f5f0 CORE-TEST-OUTPUT-UPDATE: ca39c45014fa
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 02 Dec 2020 09:40:33 +0800
parents 36ccafa69095
children f0d46ffbf1bb
comparison
equal deleted inserted replaced
5708:fdc540a9b94b 5709:d0f73113fcc0
79 o 1 default draft CB 79 o 1 default draft CB
80 80
81 $ hg push 81 $ hg push
82 pushing to $TESTTMP/main (glob) 82 pushing to $TESTTMP/main (glob)
83 searching for changes 83 searching for changes
84 abort: push creates new remote head 9fe81b7f425d! 84 abort: push creates new remote head 9fe81b7f425d
85 (merge or see 'hg help push' for details about pushing new heads) 85 (merge or see 'hg help push' for details about pushing new heads)
86 [255] 86 [255]
87 $ hg outgoing -r 'desc(CB)' -G 87 $ hg outgoing -r 'desc(CB)' -G
88 comparing with $TESTTMP/main (glob) 88 comparing with $TESTTMP/main (glob)
89 searching for changes 89 searching for changes
109 @ 3 mountain draft CC 109 @ 3 mountain 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: mountain
115 (use 'hg push --new-branch' to create new remote branches) 115 (use 'hg push --new-branch' to create new remote branches)
116 [255] 116 [255]
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
208 |/ 208 |/
209 o 0 default public CA 209 o 0 default public CA
210 210
211 211
212 $ hg outgoing draft --topic nonexistent 212 $ hg outgoing draft --topic nonexistent
213 abort: topic 'nonexistent' does not exist! 213 abort: topic 'nonexistent' does not exist
214 [255] 214 [255]
215 $ hg push draft --topic nonexistent 215 $ hg push draft --topic nonexistent
216 abort: topic 'nonexistent' does not exist! 216 abort: topic 'nonexistent' does not exist
217 [255] 217 [255]
218 218
219 $ hg up babar 219 $ hg up babar
220 switching to topic babar 220 switching to topic babar
221 2 files updated, 0 files merged, 1 files removed, 0 files unresolved 221 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
252 Pushing a new topic to a publishing server should be seen as a new head 252 Pushing a new topic to a publishing server should be seen as a new head
253 253
254 $ hg push 254 $ hg push
255 pushing to $TESTTMP/main (glob) 255 pushing to $TESTTMP/main (glob)
256 searching for changes 256 searching for changes
257 abort: push creates new remote head 67f579af159d! 257 abort: push creates new remote head 67f579af159d
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 [255] 259 [255]
260 $ hg log -G 260 $ hg log -G
261 @ 4 default babar draft CD 261 @ 4 default babar draft CD
262 | 262 |
298 > topic = ! 298 > topic = !
299 > EOF 299 > EOF
300 $ hg push ssh://user@dummy/draft 300 $ hg push ssh://user@dummy/draft
301 pushing to ssh://user@dummy/draft 301 pushing to ssh://user@dummy/draft
302 searching for changes 302 searching for changes
303 abort: push creates new remote head 84eaf32db6c3! 303 abort: push creates new remote head 84eaf32db6c3
304 (merge or see 'hg help push' for details about pushing new heads) 304 (merge or see 'hg help push' for details about pushing new heads)
305 [255] 305 [255]
306 $ hg log -G 306 $ hg log -G
307 @ 5 default celeste draft CE 307 @ 5 default celeste draft CE
308 | 308 |
340 Pushing a new topic to a publishing server should be seen as a new head 340 Pushing a new topic to a publishing server should be seen as a new head
341 341
342 $ hg push ssh://user@dummy/main 342 $ hg push ssh://user@dummy/main
343 pushing to ssh://user@dummy/main 343 pushing to ssh://user@dummy/main
344 searching for changes 344 searching for changes
345 abort: push creates new remote head 67f579af159d! 345 abort: push creates new remote head 67f579af159d
346 (merge or see 'hg help push' for details about pushing new heads) 346 (merge or see 'hg help push' for details about pushing new heads)
347 [255] 347 [255]
348 $ hg log -G 348 $ hg log -G
349 @ 5 default celeste draft CE 349 @ 5 default celeste draft CE
350 | 350 |
382 382
383 383
384 $ hg push draft 384 $ hg push draft
385 pushing to $TESTTMP/draft (glob) 385 pushing to $TESTTMP/draft (glob)
386 searching for changes 386 searching for changes
387 abort: push creates new remote head f0bc62a661be on branch 'default:babar'! 387 abort: push creates new remote head f0bc62a661be on branch 'default:babar'
388 (merge or see 'hg help push' for details about pushing new heads) 388 (merge or see 'hg help push' for details about pushing new heads)
389 [255] 389 [255]
390 390
391 Multiple heads on a branch merged into a topic branch 391 Multiple heads on a branch merged into a topic branch
392 ----------------------------------------------------- 392 -----------------------------------------------------
426 Reject when pushing to draft 426 Reject when pushing to draft
427 427
428 $ hg push draft -r . 428 $ hg push draft -r .
429 pushing to $TESTTMP/draft (glob) 429 pushing to $TESTTMP/draft (glob)
430 searching for changes 430 searching for changes
431 abort: push creates new remote head 4937c4cad39e! 431 abort: push creates new remote head 4937c4cad39e
432 (merge or see 'hg help push' for details about pushing new heads) 432 (merge or see 'hg help push' for details about pushing new heads)
433 [255] 433 [255]
434 434
435 Reject when pushing to publishing 435 Reject when pushing to publishing
436 436