comparison tests/test-topic-push.t @ 5454:e31e7618cad4 stable

topic: substitute current topic when `--topic .` is used for outgoing/push This special case is similar to `hg outgoing/push -B .`, where currently active bookmark is used instead of `.`.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 12 Jun 2020 15:42:43 +0800
parents 7f80558c9b8d
children e9cab92de933
comparison
equal deleted inserted replaced
5453:7f80558c9b8d 5454:e31e7618cad4
197 abort: topic 'nonexistent' does not exist! 197 abort: topic 'nonexistent' does not exist!
198 [255] 198 [255]
199 $ hg push draft --topic nonexistent 199 $ hg push draft --topic nonexistent
200 abort: topic 'nonexistent' does not exist! 200 abort: topic 'nonexistent' does not exist!
201 [255] 201 [255]
202
203 $ hg up babar
204 switching to topic babar
205 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
206 $ hg outgoing draft --topic .
207 comparing with $TESTTMP/draft
208 searching for changes
209 5 default babar draft C'A
202 210
203 $ hg outgoing draft --topic babar 211 $ hg outgoing draft --topic babar
204 comparing with $TESTTMP/draft 212 comparing with $TESTTMP/draft
205 searching for changes 213 searching for changes
206 5 default babar draft C'A 214 5 default babar draft C'A