comparison tests/test-topic.t @ 2868:e46b68547017

topic: make --clear + topicname invalid The two flags are mutually exclusive.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 28 Aug 2017 17:35:44 +0200
parents 5c0b6af37b21
children b629874ccaac
comparison
equal deleted inserted replaced
2867:5c0b6af37b21 2868:e46b68547017
79 $ hg topics --current somerandomtopic 79 $ hg topics --current somerandomtopic
80 abort: cannot use --current when setting a topic 80 abort: cannot use --current when setting a topic
81 [255] 81 [255]
82 $ hg topics --current --clear 82 $ hg topics --current --clear
83 abort: cannot use --current and --clear 83 abort: cannot use --current and --clear
84 [255]
85 $ hg topics --clear somerandomtopic
86 abort: cannot use --clear when setting a topic
84 [255] 87 [255]
85 88
86 Test commit flag and help text 89 Test commit flag and help text
87 90
88 $ echo stuff >> alpha 91 $ echo stuff >> alpha