Mercurial > evolve
comparison tests/test-evolve-topic.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 | 031d70bcbb42 |
children | d00f0c369bc7 fb4801478d5d |
comparison
equal
deleted
inserted
replaced
3768:482195001997 | 3769:1bc4b0807c37 |
---|---|
32 $ mkcommit bbb | 32 $ mkcommit bbb |
33 $ hg topic foo | 33 $ hg topic foo |
34 marked working directory as topic: foo | 34 marked working directory as topic: foo |
35 $ mkcommit ccc | 35 $ mkcommit ccc |
36 active topic 'foo' grew its first changeset | 36 active topic 'foo' grew its first changeset |
37 (see 'hg help topics' for more information) | |
37 $ mkcommit ddd | 38 $ mkcommit ddd |
38 $ mkcommit eee | 39 $ mkcommit eee |
39 $ mkcommit fff | 40 $ mkcommit fff |
40 $ hg topic bar | 41 $ hg topic bar |
41 $ mkcommit ggg | 42 $ mkcommit ggg |
42 active topic 'bar' grew its first changeset | 43 active topic 'bar' grew its first changeset |
44 (see 'hg help topics' for more information) | |
43 $ mkcommit hhh | 45 $ mkcommit hhh |
44 $ mkcommit iii | 46 $ mkcommit iii |
45 $ mkcommit jjj | 47 $ mkcommit jjj |
46 | 48 |
47 $ hg log -G | 49 $ hg log -G |