Mercurial > evolve
comparison tests/test-minitopic.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 | f7129e3d5a38 |
children | d171815d2618 |
comparison
equal
deleted
inserted
replaced
3768:482195001997 | 3769:1bc4b0807c37 |
---|---|
145 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | 145 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
146 $ hg topic topic_A | 146 $ hg topic topic_A |
147 marked working directory as topic: topic_A | 147 marked working directory as topic: topic_A |
148 $ mkcommit c_E0 | 148 $ mkcommit c_E0 |
149 active topic 'topic_A' grew its first changeset | 149 active topic 'topic_A' grew its first changeset |
150 (see 'hg help topics' for more information) | |
150 $ hg push disabled | 151 $ hg push disabled |
151 pushing to http://localhost:$HGPORT2/ | 152 pushing to http://localhost:$HGPORT2/ |
152 searching for changes | 153 searching for changes |
153 abort: push creates new remote head f31af349535e! | 154 abort: push creates new remote head f31af349535e! |
154 (merge or see 'hg help push' for details about pushing new heads) | 155 (merge or see 'hg help push' for details about pushing new heads) |