Mercurial > evolve
diff tests/test-namespaces.t @ 6266:213db29a19e9
topic: ability to shorten branch//namespace/topic strings when possible
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 31 May 2022 12:14:51 +0400 |
parents | a2491c578d2b |
children | 1eb543272657 |
line wrap: on
line diff
--- a/tests/test-namespaces.t Thu Jun 23 18:18:55 2022 +0400 +++ b/tests/test-namespaces.t Tue May 31 12:14:51 2022 +0400 @@ -109,4 +109,21 @@ $ hg debug-format-fqbn -b foo/bar -n user26 -t feature foo/bar//user26/feature +default values + + $ hg debug-format-fqbn -b default -n default -t '' + default//default/ + $ hg debug-format-fqbn -b default -n default -t '' --short + default + + $ hg debug-format-fqbn -b default -n namespace -t '' + default//namespace/ + $ hg debug-format-fqbn -b default -n namespace -t '' --short + default//namespace/ + + $ hg debug-format-fqbn -b default -n default -t topic + default//default/topic + $ hg debug-format-fqbn -b default -n default -t topic --short + default//topic + $ cd ..