comparison tests/test-push-checkheads-unpushed-D4.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 144d10e74757
comparison
equal deleted inserted replaced
5681:33994d579c81 5682:f0d46ffbf1bb
109 $ hg push --rev 'desc(A1)' 109 $ hg push --rev 'desc(A1)'
110 pushing to $TESTTMP/D4/server (glob) 110 pushing to $TESTTMP/D4/server (glob)
111 searching for changes 111 searching for changes
112 abort: push creates new remote head f6082bc4ffef 112 abort: push creates new remote head f6082bc4ffef
113 (merge or see 'hg help push' for details about pushing new heads) 113 (merge or see 'hg help push' for details about pushing new heads)
114 [255] 114 [20]
115 115
116 Actual testing (existing branch only) 116 Actual testing (existing branch only)
117 ------------------------------------ 117 ------------------------------------
118 118
119 $ hg push --rev 'desc(B1)' 119 $ hg push --rev 'desc(B1)'