diff hgext3rd/topic/__init__.py @ 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
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))