comparison tests/test-topic.t @ 6320:0c780d972350

topic: use check_incompatible_arguments() for --list with --clear or --rev
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 07 Apr 2022 20:42:56 +0300
parents 8c664ed9c103
children 9a41c3c293ae 3d16c9a8cf3a
comparison
equal deleted inserted replaced
6319:8c664ed9c103 6320:0c780d972350
258 $ hg topics --current --clear 258 $ hg topics --current --clear
259 abort: cannot use --current and --clear 259 abort: cannot use --current and --clear
260 [10] 260 [10]
261 $ hg topics --clear somerandomtopic 261 $ hg topics --clear somerandomtopic
262 abort: cannot use --clear when setting a topic 262 abort: cannot use --clear when setting a topic
263 [10]
264 $ hg topics --list --clear
265 abort: cannot specify both --list and --clear
263 [10] 266 [10]
264 267
265 Trying some invalid topicnames 268 Trying some invalid topicnames
266 269
267 $ hg topic '.' 270 $ hg topic '.'