Mercurial > evolve
diff tests/test-topic-push.t @ 5682:f0d46ffbf1bb
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 | 12c53d7122a7 |
children | 73cb6cafc930 442771901e01 |
line wrap: on
line diff
--- a/tests/test-topic-push.t Wed Dec 16 16:23:52 2020 +0100 +++ b/tests/test-topic-push.t Wed Dec 23 21:34:22 2020 +0800 @@ -83,7 +83,7 @@ searching for changes abort: push creates new remote head 9fe81b7f425d (merge or see 'hg help push' for details about pushing new heads) - [255] + [20] $ hg outgoing -r 'desc(CB)' -G comparing with $TESTTMP/main (glob) searching for changes @@ -113,7 +113,7 @@ searching for changes abort: push creates new remote branches: mountain (use 'hg push --new-branch' to create new remote branches) - [255] + [20] $ hg push --new-branch pushing to $TESTTMP/main (glob) searching for changes @@ -256,7 +256,7 @@ searching for changes abort: push creates new remote head 67f579af159d (merge or see 'hg help push' for details about pushing new heads) - [255] + [20] $ hg log -G @ 4 default babar draft CD | @@ -302,7 +302,7 @@ searching for changes abort: push creates new remote head 84eaf32db6c3 (merge or see 'hg help push' for details about pushing new heads) - [255] + [20] $ hg log -G @ 5 default celeste draft CE | @@ -344,7 +344,7 @@ searching for changes abort: push creates new remote head 67f579af159d (merge or see 'hg help push' for details about pushing new heads) - [255] + [20] $ hg log -G @ 5 default celeste draft CE | @@ -386,7 +386,7 @@ searching for changes abort: push creates new remote head f0bc62a661be on branch 'default:babar' (merge or see 'hg help push' for details about pushing new heads) - [255] + [20] Multiple heads on a branch merged into a topic branch ----------------------------------------------------- @@ -430,7 +430,7 @@ searching for changes abort: push creates new remote head 4937c4cad39e (merge or see 'hg help push' for details about pushing new heads) - [255] + [20] Reject when pushing to publishing