Mercurial > evolve
diff tests/test-namespaces.t @ 6245:a54db3e55c88
topic: switch to namespace when updating to a commit, similar to topic
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 23 May 2022 14:02:54 +0400 |
parents | 91d9a279b84a |
children | a2491c578d2b |
line wrap: on
line diff
--- a/tests/test-namespaces.t Thu May 26 14:16:58 2022 +0400 +++ b/tests/test-namespaces.t Mon May 23 14:02:54 2022 +0400 @@ -45,6 +45,23 @@ $ hg log -r . -T '{rev}: {fqbn}\n' 0: stable//alice/feature +Updating to a revision with a namespace should activate it + + $ hg up null + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + $ hg debug-topic-namespace + default + $ hg topics + feature (1 changesets) + $ hg up 0 + switching to topic-namespace alice + switching to topic feature + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ hg debug-topic-namespace + alice + $ hg topics + * feature (1 changesets) + Parsing $ hg debugparsefqbn foo/bar//user26/feature -T '[{branch}] <{topic_namespace}> ({topic})\n'