# HG changeset patch # User Anton Shestakov # Date 1699035066 10800 # Node ID eb8a648d90dead208b224a43f1ab3e190c141254 # Parent 72d311b8258d8e70c6dbee0dd491e056c76fec9e tests: demonstrate that using FQBN sometimes works with hg up diff -r 72d311b8258d -r eb8a648d90de tests/test-namespaces.t --- a/tests/test-namespaces.t Sun Feb 25 17:53:00 2024 -0300 +++ b/tests/test-namespaces.t Fri Nov 03 15:11:06 2023 -0300 @@ -338,6 +338,24 @@ $ hg verify --quiet +Using fully qualified branch names + + $ hg branches + stable 7:38c9ea9d27a7 + stable//mynamespace/mytopic 1:aa564142ac0b (inactive) + stable//alice/feature 0:69c7dbf6acd1 (inactive) + + $ hg up stable//mynamespace/mytopic + switching to topic-namespace mynamespace + switching to topic mytopic + 1 files updated, 0 files merged, 2 files removed, 0 files unresolved + $ hg up stable + 3 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ hg up stable//alice/feature + switching to topic-namespace alice + switching to topic feature + 0 files updated, 0 files merged, 3 files removed, 0 files unresolved + Parsing $ hg debugparsefqbn foo/bar//user26/feature -T '[{branch}] <{topic_namespace}> ({topic})\n'