Mercurial > evolve
diff tests/test-topic-flow-publish-flag.t @ 3769:1bc4b0807c37
topic: display a hint pointing at help when a topic becomes non-empty
This is an attempt at avoiding "mistakes" by new users of topics when
they pull a topic and publish its changesets while being checked out. In
this case, the topic will become empty but still be active; however, if
this is a "foreign" topic, the user will not likely want to keep it
active for the next commit operation. So we add a hint message pointing
at general help of "topics" command so that they can eventually do
something and learn about "hg topics --clear".
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Wed, 23 May 2018 11:37:37 +0200 |
parents | bc09dd507c41 |
children | eb928f5728c4 |
line wrap: on
line diff
--- a/tests/test-topic-flow-publish-flag.t Thu May 24 18:57:46 2018 +0200 +++ b/tests/test-topic-flow-publish-flag.t Wed May 23 11:37:37 2018 +0200 @@ -291,6 +291,7 @@ marked working directory as topic: topic_A $ mkcommit c_dK0 active topic 'topic_A' grew its first changeset + (see 'hg help topics' for more information) $ hg push -r 'desc("c_dK0")' --publish pushing to $TESTTMP/bare-branch-server searching for changes @@ -331,6 +332,7 @@ $ hg topic topic_A $ mkcommit c_dL0 active topic 'topic_A' grew its first changeset + (see 'hg help topics' for more information) $ hg push -r 'desc("c_dL0")' pushing to $TESTTMP/bare-branch-server searching for changes @@ -387,6 +389,7 @@ marked working directory as topic: topic_B $ mkcommit c_dN0 active topic 'topic_B' grew its first changeset + (see 'hg help topics' for more information) $ hg push -r 'desc("c_dN0")' --publish pushing to $TESTTMP/bare-branch-server searching for changes