Mercurial > evolve
comparison tests/test-topic-dest.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 | 8feb2cae7eae |
children | 537fd9a86c06 ef22eef37ecc |
comparison
equal
deleted
inserted
replaced
3768:482195001997 | 3769:1bc4b0807c37 |
---|---|
27 | 27 |
28 $ echo babar >> jungle | 28 $ echo babar >> jungle |
29 $ hg add jungle | 29 $ hg add jungle |
30 $ hg ci -t elephant -m babar | 30 $ hg ci -t elephant -m babar |
31 active topic 'elephant' grew its first changeset | 31 active topic 'elephant' grew its first changeset |
32 (see 'hg help topics' for more information) | |
32 | 33 |
33 $ hg log -G | 34 $ hg log -G |
34 @ 4 (elephant) babar | 35 @ 4 (elephant) babar |
35 | | 36 | |
36 o 3 () c_delta | 37 o 3 () c_delta |
53 0 files updated, 0 files merged, 3 files removed, 0 files unresolved | 54 0 files updated, 0 files merged, 3 files removed, 0 files unresolved |
54 $ echo zephir >> jungle | 55 $ echo zephir >> jungle |
55 $ hg add jungle | 56 $ hg add jungle |
56 $ hg ci -t monkey -m zephir | 57 $ hg ci -t monkey -m zephir |
57 active topic 'monkey' grew its first changeset | 58 active topic 'monkey' grew its first changeset |
59 (see 'hg help topics' for more information) | |
58 $ hg log -G | 60 $ hg log -G |
59 @ 5 (monkey) zephir | 61 @ 5 (monkey) zephir |
60 | | 62 | |
61 | o 4 (elephant) babar | 63 | o 4 (elephant) babar |
62 | | | 64 | | |