changeset 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 1e836ad40272
files hgext3rd/topic/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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