Mercurial > evolve
diff tests/test-topic-stack.t @ 2627:42abd3bd30ee
topics: abort if user wants to show the stack of a non-existent topic
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 19 Jun 2017 03:13:35 +0530 |
parents | bc36a608e9e4 |
children | b933a8068c17 |
line wrap: on
line diff
--- a/tests/test-topic-stack.t Mon Jun 19 02:50:35 2017 +0530 +++ b/tests/test-topic-stack.t Mon Jun 19 03:13:35 2017 +0530 @@ -319,3 +319,11 @@ t2@ c_D (current) t1: c_c ^ c_b + +Trying to list non existing topic + $ hg stack thisdoesnotexist + abort: cannot resolve "thisdoesnotexist": no such topic found + [255] + $ hg topic --list thisdoesnotexist + abort: cannot resolve "thisdoesnotexist": no such topic found + [255]