hgext3rd/topic/__init__.py
changeset 3770 eb928f5728c4
parent 3769 1bc4b0807c37
child 3836 b91db6989231
--- a/hgext3rd/topic/__init__.py	Wed May 23 11:37:37 2018 +0200
+++ b/hgext3rd/topic/__init__.py	Wed May 23 12:16:24 2018 +0200
@@ -487,6 +487,9 @@
                 empty = csetcount == 0
                 if empty and not ctwasempty:
                     ui.status('active topic %r is now empty\n' % ct)
+                    if ('phase' in tr.names
+                            or any(n.startswith('push-response') for n in tr.names)):
+                        ui.status(_("(use 'hg topic --clear' to clear it if needed)\n"))
                 hint = _("(see 'hg help topics' for more information)\n")
                 if ctwasempty and not empty:
                     if csetcount == 1: