changeset 6879:9da0114a8a02

topic: use FQBN for displaying topic name when it grows its first changeset
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 17 Sep 2024 20:48:56 +0400
parents 2fbe91d762ef
children 906b5af0b2a6
files hgext3rd/topic/__init__.py tests/test-evolve-public-content-divergent-discard.t tests/test-evolve-topic.t tests/test-issue-6028.t tests/test-namespaces-report.t tests/test-push-checkheads-mixed-branch-topic-G1.t tests/test-push-checkheads-mixed-branch-topic-G2.t tests/test-push-checkheads-mixed-branch-topic-G3.t tests/test-push-checkheads-multi-topics-F1.t tests/test-push-checkheads-multi-topics-F2.t tests/test-push-checkheads-multi-topics-F3.t tests/test-single-head-obsolescence-topic-B1.t tests/test-single-head-obsolescence-topic-B2.t tests/test-single-head-obsolescence-topic-B3.t tests/test-single-head-obsolescence-topic-B4.t tests/test-single-head-obsolescence-topic-B5.t tests/test-split.t tests/test-topic-change.t tests/test-topic-dest.t tests/test-topic-flow-publish-bare.t tests/test-topic-flow-publish-flag.t tests/test-topic-flow-single-head.t tests/test-topic-fold.t tests/test-topic-issue6406.t tests/test-topic-merge.t tests/test-topic-mode.t tests/test-topic-multiple.t tests/test-topic-prev-next.t tests/test-topic-push.t tests/test-topic-rebase.t tests/test-topic-server.t tests/test-topic-shelve.t tests/test-topic-stack-data.t tests/test-topic-stack.t tests/test-topic-tutorial.t tests/test-topic.t
diffstat 36 files changed, 81 insertions(+), 81 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Thu Oct 26 15:30:19 2023 -0300
+++ b/hgext3rd/topic/__init__.py	Tue Sep 17 20:48:56 2024 +0400
@@ -908,7 +908,7 @@
                 if ctwasempty and not empty:
                     if csetcount == 1:
                         msg = _(b"active topic '%s' grew its first changeset\n%s")
-                        ui.status(msg % (ui.label(ct, b'topic.active'), hint))
+                        ui.status(msg % (ui.label(cfqbn, b'topic.active'), hint))
                     else:
                         msg = _(b"active topic '%s' grew its %d first changesets\n%s")
                         ui.status(msg % (ui.label(ct, b'topic.active'), csetcount, hint))
--- a/tests/test-evolve-public-content-divergent-discard.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-evolve-public-content-divergent-discard.t	Tue Sep 17 20:48:56 2024 +0400
@@ -661,7 +661,7 @@
   $ echo dada > d
   $ hg ci -Am "added d"
   adding d
-  active topic 'topic-1' grew its first changeset
+  active topic 'double//slash//tns-1/topic-1' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg prune -r "min(desc('added d'))" -s . --hidden
   1 changesets pruned
@@ -682,7 +682,7 @@
 
 (make other divergent a closed branch head)
   $ hg ci --amend -m "closing default branch" --close-branch
-  active topic 'topic-2' grew its first changeset
+  active topic '//tns-2/topic-2' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg glog
--- a/tests/test-evolve-topic.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-evolve-topic.t	Tue Sep 17 20:48:56 2024 +0400
@@ -25,14 +25,14 @@
   $ hg topic foo
   marked working directory as topic: foo
   $ mkcommit ccc
-  active topic 'foo' grew its first changeset
+  active topic '//foo' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit ddd
   $ mkcommit eee
   $ mkcommit fff
   $ hg topic bar
   $ mkcommit ggg
-  active topic 'bar' grew its first changeset
+  active topic '//bar' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit hhh
   $ mkcommit iii
--- a/tests/test-issue-6028.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-issue-6028.t	Tue Sep 17 20:48:56 2024 +0400
@@ -39,7 +39,7 @@
   $ echo "a" > a
   $ hg ci -Am a
   adding a
-  active topic 'a' grew its first changeset
+  active topic '//a' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg up default
@@ -49,7 +49,7 @@
   $ echo "b" > b
   $ hg ci -Am b
   adding b
-  active topic 'b' grew its first changeset
+  active topic '//b' grew its first changeset
   (see 'hg help topics' for more information)
 
 create branch "integration" from 0, merge topics "a" and "b" into it
--- a/tests/test-namespaces-report.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-namespaces-report.t	Tue Sep 17 20:48:56 2024 +0400
@@ -220,7 +220,7 @@
 
   $ hg phase --secret --force -r . --config 'devel.tns-report-transactions=phase'
   topic namespaces affected: dave
-  active topic 'd' grew its first changeset
+  active topic '//dave/d' grew its first changeset
   (see 'hg help topics' for more information)
 
 ...just to disappear again
@@ -245,10 +245,10 @@
   $ cd orig
 
   $ hg phase --draft --force -r tip
-  active topic 'd' grew its first changeset
+  active topic '//dave/d' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg phase --secret --force -r tip -R ../case-7
-  active topic 'd' grew its first changeset
+  active topic '//dana/d' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg push ../case-7 -r . --config 'devel.tns-report-transactions=*'
@@ -259,7 +259,7 @@
   adding file changes
   topic namespaces affected: dave
   added 0 changesets with 0 changes to 1 files
-  active topic 'd' grew its first changeset
+  active topic '//dana/d' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ cd ..
--- a/tests/test-push-checkheads-mixed-branch-topic-G1.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-push-checkheads-mixed-branch-topic-G1.t	Tue Sep 17 20:48:56 2024 +0400
@@ -49,7 +49,7 @@
   $ hg topic Z
   marked working directory as topic: Z
   $ mkcommit B0
-  active topic 'Z' grew its first changeset
+  active topic '//Z' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push
   pushing to $TESTTMP/E1/server
--- a/tests/test-push-checkheads-mixed-branch-topic-G2.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-push-checkheads-mixed-branch-topic-G2.t	Tue Sep 17 20:48:56 2024 +0400
@@ -51,7 +51,7 @@
   $ hg topic Z
   marked working directory as topic: Z
   $ mkcommit B0
-  active topic 'Z' grew its first changeset
+  active topic '//Z' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic --clear
   $ mkcommit C0
--- a/tests/test-push-checkheads-mixed-branch-topic-G3.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-push-checkheads-mixed-branch-topic-G3.t	Tue Sep 17 20:48:56 2024 +0400
@@ -51,7 +51,7 @@
   $ hg topic Z
   marked working directory as topic: Z
   $ mkcommit B0
-  active topic 'Z' grew its first changeset
+  active topic '//Z' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic --clear
   $ mkcommit C0
--- a/tests/test-push-checkheads-multi-topics-F1.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-push-checkheads-multi-topics-F1.t	Tue Sep 17 20:48:56 2024 +0400
@@ -51,7 +51,7 @@
   changed topic on 1 changesets to "Y"
   $ hg topic Z
   $ mkcommit B0
-  active topic 'Z' grew its first changeset
+  active topic '//Z' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push
   pushing to $TESTTMP/E1/server
--- a/tests/test-push-checkheads-multi-topics-F2.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-push-checkheads-multi-topics-F2.t	Tue Sep 17 20:48:56 2024 +0400
@@ -55,7 +55,7 @@
   saved backup bundle to $TESTTMP/E1/client/.hg/strip-backup/8aaa48160adc-19166392-backup.hg
   $ hg topic Z
   $ mkcommit B0
-  active topic 'Z' grew its first changeset
+  active topic '//Z' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic Y
   $ mkcommit C0
--- a/tests/test-push-checkheads-multi-topics-F3.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-push-checkheads-multi-topics-F3.t	Tue Sep 17 20:48:56 2024 +0400
@@ -55,7 +55,7 @@
   saved backup bundle to $TESTTMP/E1/client/.hg/strip-backup/8aaa48160adc-19166392-backup.hg
   $ hg topic Z
   $ mkcommit B0
-  active topic 'Z' grew its first changeset
+  active topic '//Z' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic Y
   $ mkcommit C0
--- a/tests/test-single-head-obsolescence-topic-B1.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-single-head-obsolescence-topic-B1.t	Tue Sep 17 20:48:56 2024 +0400
@@ -58,7 +58,7 @@
   $ mkcommit B0
   $ hg topic topic-Y
   $ mkcommit C0
-  active topic 'topic-Y' grew its first changeset
+  active topic '//topic-Y' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit D0
   $ hg push --new-branch
--- a/tests/test-single-head-obsolescence-topic-B2.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-single-head-obsolescence-topic-B2.t	Tue Sep 17 20:48:56 2024 +0400
@@ -61,7 +61,7 @@
   marked working directory as branch double//slash
   $ hg topic topic-Y
   $ mkcommit C0
-  active topic 'topic-Y' grew its first changeset
+  active topic 'double//slash//topic-Y' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit D0
   $ hg push --new-branch
--- a/tests/test-single-head-obsolescence-topic-B3.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-single-head-obsolescence-topic-B3.t	Tue Sep 17 20:48:56 2024 +0400
@@ -57,7 +57,7 @@
   $ hg strip --config extensions.strip= --hidden 'hidden()' --no-backup # clean old A0
   $ hg topic topic-Y
   $ mkcommit B0
-  active topic 'topic-Y' grew its first changeset
+  active topic '//topic-Y' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic topic-X
   $ mkcommit C0
--- a/tests/test-single-head-obsolescence-topic-B4.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-single-head-obsolescence-topic-B4.t	Tue Sep 17 20:48:56 2024 +0400
@@ -58,7 +58,7 @@
   $ hg strip --config extensions.strip= --hidden 'hidden()' --no-backup # clean old A0
   $ hg topic topic-Y
   $ mkcommit B0
-  active topic 'topic-Y' grew its first changeset
+  active topic '//topic-Y' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic topic-X
   $ mkcommit C0
--- a/tests/test-single-head-obsolescence-topic-B5.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-single-head-obsolescence-topic-B5.t	Tue Sep 17 20:48:56 2024 +0400
@@ -64,7 +64,7 @@
   $ hg ci -m 'M0'
   $ hg topic topic-Y
   $ mkcommit C0
-  active topic 'topic-Y' grew its first changeset
+  active topic '//topic-Y' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push --new-branch
   pushing to $TESTTMP/B5/server
--- a/tests/test-split.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-split.t	Tue Sep 17 20:48:56 2024 +0400
@@ -419,7 +419,7 @@
   $ echo celeste > celeste
   $ hg add babar celeste
   $ hg commit -m "Works on mytopic" babar celeste --user victor
-  active topic 'mytopic' grew its first changeset
+  active topic 'double//slash//mynamespace/mytopic' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg log -r .
   changeset:   18:4f0e158045aa
--- a/tests/test-topic-change.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-change.t	Tue Sep 17 20:48:56 2024 +0400
@@ -135,7 +135,7 @@
 
   $ hg topic foobar
   $ hg topic -r . --current
-  active topic 'foobar' grew its first changeset
+  active topic '//foobar' grew its first changeset
   (see 'hg help topics' for more information)
   changed topic on 1 changesets to "foobar"
   $ hg glog -r .
@@ -221,7 +221,7 @@
 
   $ hg topic wat
   $ hg ci --amend
-  active topic 'wat' grew its first changeset
+  active topic '//wat' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg glog -r .
   @  28:61470c956807 {wat}
@@ -242,7 +242,7 @@
   $ hg topic watwat
   marked working directory as topic: watwat
   $ hg ci --amend
-  active topic 'watwat' grew its first changeset
+  active topic '//watwat' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg glog -r .
   @  30:a24c31c35013 {watwat}
--- a/tests/test-topic-dest.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-dest.t	Tue Sep 17 20:48:56 2024 +0400
@@ -28,7 +28,7 @@
   $ echo babar >> jungle
   $ hg add jungle
   $ hg ci -t elephant -m babar
-  active topic 'elephant' grew its first changeset
+  active topic '//elephant' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg log -G
@@ -57,7 +57,7 @@
   $ echo zephir >> jungle
   $ hg add jungle
   $ hg ci -t monkey -m zephir
-  active topic 'monkey' grew its first changeset
+  active topic '//monkey' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg log -G
   @  5 (monkey) zephir
@@ -540,7 +540,7 @@
   $ echo b > b
   $ hg ci -Am "added b"
   adding b
-  active topic 'foo' grew its first changeset
+  active topic '//foo' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic --clear
   $ hg up
--- a/tests/test-topic-flow-publish-bare.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-flow-publish-bare.t	Tue Sep 17 20:48:56 2024 +0400
@@ -129,7 +129,7 @@
   $ hg topic foo
   marked working directory as topic: foo
   $ mkcommit c_dF0
-  active topic 'foo' grew its first changeset
+  active topic '//foo' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push
   pushing to $TESTTMP/bare-branch-server
@@ -163,7 +163,7 @@
   $ hg topic bar
   marked working directory as topic: bar
   $ mkcommit c_dH0
-  active topic 'bar' grew its first changeset
+  active topic '//bar' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push
   pushing to $TESTTMP/bare-branch-server
@@ -395,7 +395,7 @@
   $ hg topic test-push-protection
   marked working directory as topic: test-push-protection
   $ mkcommit c_aN0
-  active topic 'test-push-protection' grew its first changeset
+  active topic 'double//slash//test-push-protection' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push --config experimental.auto-publish=abort -r .
   pushing to $TESTTMP/bare-branch-server
--- a/tests/test-topic-flow-publish-flag.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-flow-publish-flag.t	Tue Sep 17 20:48:56 2024 +0400
@@ -295,7 +295,7 @@
   $ hg topic topic_A
   marked working directory as topic: topic_A
   $ mkcommit c_dK0
-  active topic 'topic_A' grew its first changeset
+  active topic '//topic_A' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push -r 'desc("c_dK0")' --publish
   pushing to $TESTTMP/bare-branch-server
@@ -337,7 +337,7 @@
 
   $ hg topic topic_A
   $ mkcommit c_dL0
-  active topic 'topic_A' grew its first changeset
+  active topic '//topic_A' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push -r 'desc("c_dL0")'
   pushing to $TESTTMP/bare-branch-server
@@ -394,7 +394,7 @@
   $ hg topic topic_B
   marked working directory as topic: topic_B
   $ mkcommit c_dN0
-  active topic 'topic_B' grew its first changeset
+  active topic '//topic_B' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push -r 'desc("c_dN0")' --publish
   pushing to $TESTTMP/bare-branch-server
--- a/tests/test-topic-flow-single-head.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-flow-single-head.t	Tue Sep 17 20:48:56 2024 +0400
@@ -98,7 +98,7 @@
   $ hg topic foo
   marked working directory as topic: foo
   $ mkcommit c_dF0
-  active topic 'foo' grew its first changeset
+  active topic '//foo' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push
   pushing to $TESTTMP/single-head-server
@@ -115,7 +115,7 @@
   $ hg topic bar
   marked working directory as topic: bar
   $ mkcommit c_dG0
-  active topic 'bar' grew its first changeset
+  active topic '//bar' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg push
   pushing to $TESTTMP/single-head-server
--- a/tests/test-topic-fold.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-fold.t	Tue Sep 17 20:48:56 2024 +0400
@@ -23,7 +23,7 @@
   $ hg topic myfeature
   marked working directory as topic: myfeature
   $ mkcommit feature1
-  active topic 'myfeature' grew its first changeset
+  active topic '//myfeature' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit feature2
   $ logtopic
@@ -67,7 +67,7 @@
   $ hg topic myotherfeature
   marked working directory as topic: myotherfeature
   $ mkcommit feature4
-  active topic 'myotherfeature' grew its first changeset
+  active topic '//myotherfeature' grew its first changeset
   (see 'hg help topics' for more information)
   $ logtopic
   @  5:85e76d22bde1cb5ce44b00fc91a88cb805c93b1b
--- a/tests/test-topic-issue6406.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-issue6406.t	Tue Sep 17 20:48:56 2024 +0400
@@ -32,7 +32,7 @@
   $ hg topic a-things
   marked working directory as topic: a-things
   $ mkcommit apple
-  active topic 'a-things' grew its first changeset
+  active topic '//aaa/a-things' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg up 'desc("ROOT")'
@@ -42,7 +42,7 @@
   $ hg topic b-things
   marked working directory as topic: b-things
   $ mkcommit banana
-  active topic 'b-things' grew its first changeset
+  active topic '//bbb/b-things' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit blackberry
 
@@ -80,7 +80,7 @@
   marked working directory as topic: all-things
   $ hg pick 'desc("blackberry")'
   picking 3:48bbfbece8fa "blackberry"
-  active topic 'all-things' grew its first changeset
+  active topic '//everything/all-things' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg log -r . -T '{rev}: {desc} ({fqbn})\n'
   5: blackberry (default//everything/all-things)
--- a/tests/test-topic-merge.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-merge.t	Tue Sep 17 20:48:56 2024 +0400
@@ -23,7 +23,7 @@
   $ hg topic test-topic
   marked working directory as topic: test-topic
   $ mkcommit topic-1
-  active topic 'test-topic' grew its first changeset
+  active topic '//test-topic' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit topic-2
   $ hg up null
--- a/tests/test-topic-mode.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-mode.t	Tue Sep 17 20:48:56 2024 +0400
@@ -100,7 +100,7 @@
   $ hg topic mytopic
   marked working directory as topic: mytopic
   $ hg ci -m "Added a"
-  active topic 'mytopic' grew its first changeset
+  active topic '//mytopic' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg up -r "desc('ROOT')"
@@ -160,7 +160,7 @@
   $ hg topic mytopic
   marked working directory as topic: mytopic
   $ hg ci -m "Added a"
-  active topic 'mytopic' grew its first changeset
+  active topic '//mytopic' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg up -r "desc('ROOT')"
@@ -213,7 +213,7 @@
   $ touch A
   $ hg add A
   $ hg commit -m "Add A" --config devel.randomseed=42
-  active topic 'panoramic-antelope' grew its first changeset
+  active topic '//panoramic-antelope' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg up -r "desc(ROOT)"
@@ -222,7 +222,7 @@
   $ touch B
   $ hg add B
   $ hg commit -m "Add B" --config devel.randomseed=128
-  active topic 'various-dove' grew its first changeset
+  active topic '//various-dove' grew its first changeset
   (see 'hg help topics' for more information)
 
 Test a merge too
@@ -274,7 +274,7 @@
   $ touch A
   $ hg add A
   $ hg commit -m "Add A" --config devel.randomseed=42
-  active topic 'panoramic-antelope' grew its first changeset
+  active topic '//panoramic-antelope' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg up -r "desc(ROOT)"
@@ -283,7 +283,7 @@
   $ touch B
   $ hg add B
   $ hg commit -m "Add B" --config devel.randomseed=128
-  active topic 'various-dove' grew its first changeset
+  active topic '//various-dove' grew its first changeset
   (see 'hg help topics' for more information)
 
 Test a merge too
@@ -317,5 +317,5 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   (branch merge, don't forget to commit)
   $ hg ci -m 'merge'  --config devel.randomseed=1337
-  active topic 'omniscient-locust' grew its first changeset
+  active topic '//omniscient-locust' grew its first changeset
   (see 'hg help topics' for more information)
--- a/tests/test-topic-multiple.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-multiple.t	Tue Sep 17 20:48:56 2024 +0400
@@ -25,7 +25,7 @@
   > hg ci -Am "added "$ch --topic foo
   > done;
   adding a
-  active topic 'foo' grew its first changeset
+  active topic '//foo' grew its first changeset
   (see 'hg help topics' for more information)
   adding b
   adding c
@@ -33,7 +33,7 @@
   $ echo d > d
   $ hg ci -Am "added d" --topic bar
   adding d
-  active topic 'bar' grew its first changeset
+  active topic '//bar' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg up -r "desc('added c')"
--- a/tests/test-topic-prev-next.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-prev-next.t	Tue Sep 17 20:48:56 2024 +0400
@@ -17,7 +17,7 @@
   $ hg topic A
   marked working directory as topic: A
   $ mkcommit A1
-  active topic 'A' grew its first changeset
+  active topic '//A' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit A2
   $ mkcommit A3
@@ -29,7 +29,7 @@
   0 files updated, 0 files merged, 2 files removed, 0 files unresolved
   $ hg topic B
   $ mkcommit B1
-  active topic 'B' grew its first changeset
+  active topic '//B' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit B2
 
@@ -205,11 +205,11 @@
   $ hg topics topic-a
   marked working directory as topic: topic-a
   $ mkcommit A
-  active topic 'topic-a' grew its first changeset
+  active topic '//topic-a' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topics topic-b
   $ mkcommit B
-  active topic 'topic-b' grew its first changeset
+  active topic '//topic-b' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg up 'topic("topic-a")'
   switching to topic topic-a
--- a/tests/test-topic-push.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-push.t	Tue Sep 17 20:48:56 2024 +0400
@@ -147,7 +147,7 @@
   $ echo aaa > ddd
   $ hg add ddd
   $ hg commit -m 'CD'
-  active topic 'babar' grew its first changeset
+  active topic '//babar' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg log -G # keep track of phase because I saw some strange bug during developement
   @  4 default babar draft CD
@@ -277,7 +277,7 @@
   $ echo aaa > eee
   $ hg add eee
   $ hg commit -m 'CE'
-  active topic 'celeste' grew its first changeset
+  active topic '//celeste' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg log -G # keep track of phase because I saw some strange bug during developement
   @  5 default celeste draft CE
@@ -470,7 +470,7 @@
   $ hg topic topicA
   marked working directory as topic: topicA
   $ hg commit -m 'CA'
-  active topic 'topicA' grew its first changeset
+  active topic '//topicA' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg up 'desc(CBASE)'
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
@@ -479,7 +479,7 @@
   $ hg topic topicB
   marked working directory as topic: topicB
   $ hg commit -m 'CB'
-  active topic 'topicB' grew its first changeset
+  active topic '//topicB' grew its first changeset
   (see 'hg help topics' for more information)
   $ cd ..
   $ hg push -R repoA repoB
--- a/tests/test-topic-rebase.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-rebase.t	Tue Sep 17 20:48:56 2024 +0400
@@ -29,7 +29,7 @@
   $ hg topic myfeature
   marked working directory as topic: myfeature
   $ mkcommit feature1
-  active topic 'myfeature' grew its first changeset
+  active topic '//myfeature' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg stack
   ### topic: myfeature
@@ -96,7 +96,7 @@
   marked working directory as topic: myotherfeature
   $ echo "B" >> file
   $ hg commit -m "myotherfeature1"
-  active topic 'myotherfeature' grew its first changeset
+  active topic '//myotherfeature' grew its first changeset
   (see 'hg help topics' for more information)
 
 Update the common file in default
--- a/tests/test-topic-server.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-server.t	Tue Sep 17 20:48:56 2024 +0400
@@ -92,7 +92,7 @@
   marked working directory as topic: some-work
   $ hg commit -Am 'adding b (topic)'
   adding b
-  active topic 'some-work' grew its first changeset
+  active topic '//some-work' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg up 0
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
--- a/tests/test-topic-shelve.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-shelve.t	Tue Sep 17 20:48:56 2024 +0400
@@ -18,7 +18,7 @@
    * testing-shelve (0 changesets)
   $ hg ci -m "First commit" -A
   adding a
-  active topic 'testing-shelve' grew its first changeset
+  active topic '//testing-shelve' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg topic
    * testing-shelve (1 changesets)
--- a/tests/test-topic-stack-data.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-stack-data.t	Tue Sep 17 20:48:56 2024 +0400
@@ -54,7 +54,7 @@
   $ hg topic baz
   marked working directory as topic: baz
   $ mkcommit baz_a
-  active topic 'baz' grew its first changeset
+  active topic '//baz' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit baz_b
 
@@ -65,7 +65,7 @@
   $ hg topic fuz
   marked working directory as topic: fuz
   $ mkcommit fuz_a
-  active topic 'fuz' grew its first changeset
+  active topic '//fuz' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit fuz_b
   $ mkcommit fuz_c
@@ -81,7 +81,7 @@
   $ hg topic bar
   marked working directory as topic: bar
   $ mkcommit bar_a
-  active topic 'bar' grew its first changeset
+  active topic '//bar' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit bar_b
   $ mkcommit bar_c
@@ -101,7 +101,7 @@
   $ hg topic foo
   marked working directory as topic: foo
   $ mkcommit foo_a
-  active topic 'foo' grew its first changeset
+  active topic 'lake//foo' grew its first changeset
   (see 'hg help topics' for more information)
   $ mkcommit foo_b
 
--- a/tests/test-topic-stack.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-stack.t	Tue Sep 17 20:48:56 2024 +0400
@@ -17,7 +17,7 @@
   $ echo aaa > aaa
   $ hg add aaa
   $ hg commit -m c_a
-  active topic 'other' grew its first changeset
+  active topic '//other' grew its first changeset
   (see 'hg help topics' for more information)
   $ echo aaa > bbb
   $ hg add bbb
@@ -26,7 +26,7 @@
   $ echo aaa > ccc
   $ hg add ccc
   $ hg commit -m c_c
-  active topic 'foo' grew its first changeset
+  active topic '//foo' grew its first changeset
   (see 'hg help topics' for more information)
   $ echo aaa > ddd
   $ hg add ddd
@@ -251,7 +251,7 @@
   $ echo zzz > zzz
   $ hg add zzz
   $ hg commit -m zzz_a
-  active topic 'zzz' grew its first changeset
+  active topic '//zzz' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg merge foo
   4 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -683,7 +683,7 @@
   $ echo bbb > bbb
   $ hg commit -Am 'c_B'
   adding bbb
-  active topic 'red' grew its first changeset
+  active topic '//my-tns/red' grew its first changeset
   (see 'hg help topics' for more information)
   $ echo ccc > ccc
   $ hg commit -Am 'c_C'
@@ -692,7 +692,7 @@
   $ echo ddd > ddd
   $ hg commit -Am 'c_D'
   adding ddd
-  active topic 'blue' grew its first changeset
+  active topic '//my-tns/blue' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg up 'desc("c_B")'
   switching to topic red
--- a/tests/test-topic-tutorial.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic-tutorial.t	Tue Sep 17 20:48:56 2024 +0400
@@ -153,7 +153,7 @@
   > EOF
 
   $ hg commit -m "adding condiments"
-  active topic 'food' grew its first changeset
+  active topic '//food' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg log --graph --rev 'topic("food")'
@@ -755,7 +755,7 @@
   marked working directory as topic: tools
   $ echo hammer >> shopping
   $ hg commit -m 'Adding hammer'
-  active topic 'tools' grew its first changeset
+  active topic '//tools' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ echo saw >> shopping
@@ -775,7 +775,7 @@
   marked working directory as topic: drinks
   $ echo 'apple juice' >> shopping
   $ hg commit -m 'Adding apple juice'
-  active topic 'drinks' grew its first changeset
+  active topic '//drinks' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ echo 'orange juice' >> shopping
--- a/tests/test-topic.t	Thu Oct 26 15:30:19 2023 -0300
+++ b/tests/test-topic.t	Tue Sep 17 20:48:56 2024 +0400
@@ -360,7 +360,7 @@
 
   $ echo topic work >> alpha
   $ hg ci -m 'start on narf'
-  active topic 'narf' grew its first changeset
+  active topic '//narf' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg co .^
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -373,7 +373,7 @@
   fran
   $ echo >> fran work >> beta
   $ hg ci -m 'start on fran'
-  active topic 'fran' grew its first changeset
+  active topic '//fran' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg co narf
   switching to topic narf
@@ -531,7 +531,7 @@
   $ hg topic query
   marked working directory as topic: query
   $ hg ci -m 'what is narf, pinky?'
-  active topic 'query' grew its first changeset
+  active topic '//query' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg log -Gl2
   @  changeset:   5:c01515cfc331
@@ -1111,12 +1111,12 @@
   $ hg add b
   $ hg topic topic1990
   $ hg ci -m "Added b" --config devel.default-date="631152000 0" --user "foo"
-  active topic 'topic1990' grew its first changeset
+  active topic '//topic1990' grew its first changeset
   (see 'hg help topics' for more information)
   $ hg add c
   $ hg topic topic2010
   $ hg ci -m "Added c" --config devel.default-date="1262304000 0" --user "bar"
-  active topic 'topic2010' grew its first changeset
+  active topic '//topic2010' grew its first changeset
   (see 'hg help topics' for more information)
 
   $ hg log -G