comparison tests/test-namespaces.t @ 6237:0b9042408809

topic: formatting branch, namespace and topic into fully qualified branch name
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 03 May 2022 21:46:23 +0400
parents 7ad8107d953a
children 6bbd16579f0f
comparison
equal deleted inserted replaced
6236:7ad8107d953a 6237:0b9042408809
10 no double slashes means it's a named branch 10 no double slashes means it's a named branch
11 $ hg debug-parse-fqbn foo/bar 11 $ hg debug-parse-fqbn foo/bar
12 branch: foo/bar 12 branch: foo/bar
13 namespace: default 13 namespace: default
14 topic: 14 topic:
15
16 Formatting
17
18 $ hg debugformatfqbn -b branch -n namespace -t topic
19 branch//namespace/topic
20
21 $ hg debug-format-fqbn -n namespace
22 //namespace/
23
24 $ hg debug-format-fqbn -b foo/bar -n user26 -t feature
25 foo/bar//user26/feature
26
27 $ cd ..