Mercurial > evolve
comparison tests/test-topic-stack.t @ 2911:8874e65343a4
tests: add more explicit test about empty topic from publishing
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 07 Sep 2017 16:45:53 +0200 |
parents | a789b9d5b60c |
children | 6b2ae9f2b9c4 |
comparison
equal
deleted
inserted
replaced
2910:e0e8e968560a | 2911:8874e65343a4 |
---|---|
56 ### topic: other | 56 ### topic: other |
57 ### branch: default | 57 ### branch: default |
58 t2@ c_b (current) | 58 t2@ c_b (current) |
59 t1: c_a | 59 t1: c_a |
60 $ hg phase --public 'topic("other")' | 60 $ hg phase --public 'topic("other")' |
61 | |
62 After changing the phase of all the changesets in "other" to public, the topic should still be active, but is empty. We should be better at informating the user about it and displaying good data in this case. | |
63 | |
64 $ hg topic | |
65 foo | |
66 * other | |
67 $ hg stack | |
68 ### topic: other | |
69 ### branch: | |
70 | |
61 $ hg up foo | 71 $ hg up foo |
62 switching to topic foo | 72 switching to topic foo |
63 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | 73 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
64 | 74 |
65 Simple test | 75 Simple test |