Mercurial > evolve
diff tests/test-topic-stack.t @ 3914:96945ea908df stable
branching: merge default into stable
The stable branch of Mercurial core now contains Mercurial 4.7 so evolve branch
policy requires this merge. The @ bookmark is in the right location, so people
doing clone will get to the latest release.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 31 Jul 2018 12:52:06 +0200 |
parents | eb928f5728c4 |
children | f3713d41b85b fbc51e98cf13 |
line wrap: on
line diff
--- a/tests/test-topic-stack.t Wed Jul 25 15:30:37 2018 -0700 +++ b/tests/test-topic-stack.t Tue Jul 31 12:52:06 2018 +0200 @@ -18,6 +18,7 @@ $ hg add aaa $ hg commit -m c_a active topic 'other' grew its first changeset + (see 'hg help topics' for more information) $ echo aaa > bbb $ hg add bbb $ hg commit -m c_b @@ -26,6 +27,7 @@ $ hg add ccc $ hg commit -m c_c active topic 'foo' grew its first changeset + (see 'hg help topics' for more information) $ echo aaa > ddd $ hg add ddd $ hg commit -m c_d @@ -62,6 +64,7 @@ t1: c_a $ hg phase --public 'topic("other")' active topic 'other' is now empty + (use 'hg topic --clear' to clear it if needed) 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. @@ -582,6 +585,7 @@ $ hg commit -Am 'c_B' adding bbb active topic 'red' grew its first changeset + (see 'hg help topics' for more information) $ echo ccc > ccc $ hg commit -Am 'c_C' adding ccc @@ -590,6 +594,7 @@ $ hg commit -Am 'c_D' adding ddd active topic 'blue' grew its first changeset + (see 'hg help topics' for more information) $ hg up 'desc("c_B")' switching to topic red 0 files updated, 0 files merged, 2 files removed, 0 files unresolved