comparison tests/test-namespaces.t @ 6243:91d9a279b84a

topic: fqbn template keyword
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 14 May 2022 23:29:48 +0400
parents 85abf58c3d8c
children a54db3e55c88
comparison
equal deleted inserted replaced
6242:a433fe0cea21 6243:91d9a279b84a
10 $ hg debug-topic-namespaces 10 $ hg debug-topic-namespaces
11 space-name 11 space-name
12 12
13 $ hg log -r 'wdir()' -T '{topic_namespace}\n' 13 $ hg log -r 'wdir()' -T '{topic_namespace}\n'
14 space-name 14 space-name
15
16 $ hg log -r 'wdir()' -T '{fqbn}\n'
17 default//space-name/
15 18
16 $ hg branches 19 $ hg branches
17 20
18 $ hg debug-topic-namespace --clear 21 $ hg debug-topic-namespace --clear
19 $ hg debug-topic-namespaces 22 $ hg debug-topic-namespaces
37 alice 40 alice
38 41
39 $ hg log -r . -T '{rev}: {branch} {topic_namespace} {topic}\n' 42 $ hg log -r . -T '{rev}: {branch} {topic_namespace} {topic}\n'
40 0: stable alice feature 43 0: stable alice feature
41 44
45 $ hg log -r . -T '{rev}: {fqbn}\n'
46 0: stable//alice/feature
47
42 Parsing 48 Parsing
43 49
44 $ hg debugparsefqbn foo/bar//user26/feature -T '[{branch}] <{topic_namespace}> ({topic})\n' 50 $ hg debugparsefqbn foo/bar//user26/feature -T '[{branch}] <{topic_namespace}> ({topic})\n'
45 [foo/bar] <user26> (feature) 51 [foo/bar] <user26> (feature)
46 52