diff hgext3rd/topic/__init__.py @ 6880:906b5af0b2a6

topic: use FQBN for displaying topic name when it grows multiple changesets
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 17 Sep 2024 21:17:56 +0400
parents 9da0114a8a02
children 361dcfcb3f08
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Tue Sep 17 20:48:56 2024 +0400
+++ b/hgext3rd/topic/__init__.py	Tue Sep 17 21:17:56 2024 +0400
@@ -911,7 +911,7 @@
                         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))
+                        ui.status(msg % (ui.label(cfqbn, b'topic.active'), csetcount, hint))
 
             tr.addpostclose(b'signalcurrenttopicempty', currenttopicempty)
             return tr