Mercurial > evolve
diff tests/test-topic-stack.t @ 2684:90e11985d0cc
topic: exclude public and topic changeset from branch stack
Stack use-case is to show the current work in progress, which are symbolized by
the phase draft and secret phase. Moreover showing public changesets in stack
output when displaying current branch would display a lot of changesets for
long-lived branches and would be quite useless.
We also exclude topic changeset form the stack since they already exist on their
own stack.
getstack revsets didn't needed update when displaying a topic as when a
changeset become public, its topic is no longer relevant.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 29 Jun 2017 16:49:33 +0200 |
parents | aa4db71a6224 |
children | 52d5c5ce27e4 f19b314d8475 |
line wrap: on
line diff
--- a/tests/test-topic-stack.t Thu Jun 29 16:29:08 2017 +0200 +++ b/tests/test-topic-stack.t Thu Jun 29 16:49:33 2017 +0200 @@ -129,13 +129,7 @@ $ hg topic --clear $ hg stack - ### branch: default - b6@ c_f (current) - b5: c_e - b4: c_d - b3: c_c - b2: c_b - b1: c_a + ### branch: Test "t#" reference ------------------- @@ -340,3 +334,4 @@ $ hg topic --list thisdoesnotexist abort: cannot resolve "thisdoesnotexist": no such topic found [255] +