comparison tests/test-namespaces.t @ 6240:2686ecc90791

topic: store topic namespace in commit extras
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 04 May 2022 15:53:57 +0400
parents 8861e33f3bb2
children 85abf58c3d8c
comparison
equal deleted inserted replaced
6239:8861e33f3bb2 6240:2686ecc90791
17 default 17 default
18 18
19 $ hg debugtopicnamespace --clear nonsense 19 $ hg debugtopicnamespace --clear nonsense
20 abort: cannot use --clear when setting a topic namespace 20 abort: cannot use --clear when setting a topic namespace
21 [255] 21 [255]
22
23 $ hg branch stable
24 marked working directory as branch stable
25 (branches are permanent and global, did you want a bookmark?)
26 $ hg debug-topic-namespace alice
27 marked working directory as topic namespace: alice
28 $ hg topic feature
29 marked working directory as topic: feature
30 $ echo a > a
31 $ hg ci -qAm a
32
33 $ hg debug-topic-namespaces
34 alice
22 35
23 Parsing 36 Parsing
24 37
25 $ hg debugparsefqbn foo/bar//user26/feature -T '[{branch}] <{topic_namespace}> ({topic})\n' 38 $ hg debugparsefqbn foo/bar//user26/feature -T '[{branch}] <{topic_namespace}> ({topic})\n'
26 [foo/bar] <user26> (feature) 39 [foo/bar] <user26> (feature)