hgext3rd/topic/__init__.py
changeset 4748 d04be27dcce9
parent 4742 db3e7f6b5ceb
child 4752 8a73a8df63b6
--- a/hgext3rd/topic/__init__.py	Thu Jul 11 14:46:17 2019 -0700
+++ b/hgext3rd/topic/__init__.py	Thu Jul 11 21:48:02 2019 -0700
@@ -546,7 +546,7 @@
                 csetcount = stack.stack(repo, topic=ct).changesetcount
                 empty = csetcount == 0
                 if empty and not ctwasempty:
-                    ui.status('active topic %r is now empty\n' % ct)
+                    ui.status("active topic '%s' is now empty\n" % ct)
                     trnames = getattr(tr, 'names', getattr(tr, '_names', ()))
                     if ('phase' in trnames
                             or any(n.startswith('push-response')
@@ -555,10 +555,10 @@
                 hint = _("(see 'hg help topics' for more information)\n")
                 if ctwasempty and not empty:
                     if csetcount == 1:
-                        msg = _('active topic %r grew its first changeset\n%s')
+                        msg = _("active topic '%s' grew its first changeset\n%s")
                         ui.status(msg % (ct, hint))
                     else:
-                        msg = _('active topic %r grew its %s first changesets\n%s')
+                        msg = _("active topic '%s' grew its %s first changesets\n%s")
                         ui.status(msg % (ct, csetcount, hint))
 
             tr.addpostclose('signalcurrenttopicempty', currenttopicempty)