comparison tests/test-topic-flow-publish-flag.t @ 5718:77b184ee60b5 stable

tests: update exit code in case of push failing because it'd create new heads CORE-TEST-OUTPUT-UPDATE: 9261f6c1d39b
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 23 Dec 2020 21:34:22 +0800
parents d0f73113fcc0
children 73cb6cafc930 86c1d92d433f
comparison
equal deleted inserted replaced
5717:38ab502ad94e 5718:77b184ee60b5
394 $ hg push -r 'desc("c_dN0")' --publish 394 $ hg push -r 'desc("c_dN0")' --publish
395 pushing to $TESTTMP/bare-branch-server 395 pushing to $TESTTMP/bare-branch-server
396 searching for changes 396 searching for changes
397 abort: push creates new remote head 4dcd0be9db96 397 abort: push creates new remote head 4dcd0be9db96
398 (merge or see 'hg help push' for details about pushing new heads) 398 (merge or see 'hg help push' for details about pushing new heads)
399 [255] 399 [20]
400 $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}' 400 $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}'
401 @ 14:4dcd0be9db96 c_dN0 draft default topic_B 401 @ 14:4dcd0be9db96 c_dN0 draft default topic_B
402 | 402 |
403 | o 13:0d144c8b6c8f c_dM0 public default 403 | o 13:0d144c8b6c8f c_dM0 public default
404 |/ 404 |/