comparison tests/test-topic-prev-next.t @ 6879:9da0114a8a02

topic: use FQBN for displaying topic name when it grows its first changeset
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 17 Sep 2024 20:48:56 +0400
parents 3571685e2aa2
children
comparison
equal deleted inserted replaced
6878:2fbe91d762ef 6879:9da0114a8a02
15 15
16 $ mkcommit root 16 $ mkcommit root
17 $ hg topic A 17 $ hg topic A
18 marked working directory as topic: A 18 marked working directory as topic: A
19 $ mkcommit A1 19 $ mkcommit A1
20 active topic 'A' grew its first changeset 20 active topic '//A' grew its first changeset
21 (see 'hg help topics' for more information) 21 (see 'hg help topics' for more information)
22 $ mkcommit A2 22 $ mkcommit A2
23 $ mkcommit A3 23 $ mkcommit A3
24 $ mkcommit A4 24 $ mkcommit A4
25 $ hg up 'desc("A3")' 25 $ hg up 'desc("A3")'
27 $ mkcommit A5 27 $ mkcommit A5
28 $ hg up 'desc("A2")' 28 $ hg up 'desc("A2")'
29 0 files updated, 0 files merged, 2 files removed, 0 files unresolved 29 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
30 $ hg topic B 30 $ hg topic B
31 $ mkcommit B1 31 $ mkcommit B1
32 active topic 'B' grew its first changeset 32 active topic '//B' grew its first changeset
33 (see 'hg help topics' for more information) 33 (see 'hg help topics' for more information)
34 $ mkcommit B2 34 $ mkcommit B2
35 35
36 $ hg log -G 36 $ hg log -G
37 @ 7 [B] B2 37 @ 7 [B] B2
203 203
204 $ mkcommit ROOT 204 $ mkcommit ROOT
205 $ hg topics topic-a 205 $ hg topics topic-a
206 marked working directory as topic: topic-a 206 marked working directory as topic: topic-a
207 $ mkcommit A 207 $ mkcommit A
208 active topic 'topic-a' grew its first changeset 208 active topic '//topic-a' grew its first changeset
209 (see 'hg help topics' for more information) 209 (see 'hg help topics' for more information)
210 $ hg topics topic-b 210 $ hg topics topic-b
211 $ mkcommit B 211 $ mkcommit B
212 active topic 'topic-b' grew its first changeset 212 active topic '//topic-b' grew its first changeset
213 (see 'hg help topics' for more information) 213 (see 'hg help topics' for more information)
214 $ hg up 'topic("topic-a")' 214 $ hg up 'topic("topic-a")'
215 switching to topic topic-a 215 switching to topic topic-a
216 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 216 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
217 $ echo foo > foo 217 $ echo foo > foo