equal
deleted
inserted
replaced
485 repo = reporef() |
485 repo = reporef() |
486 csetcount = stack.stack(repo, topic=ct).changesetcount |
486 csetcount = stack.stack(repo, topic=ct).changesetcount |
487 empty = csetcount == 0 |
487 empty = csetcount == 0 |
488 if empty and not ctwasempty: |
488 if empty and not ctwasempty: |
489 ui.status('active topic %r is now empty\n' % ct) |
489 ui.status('active topic %r is now empty\n' % ct) |
|
490 if ('phase' in tr.names |
|
491 or any(n.startswith('push-response') for n in tr.names)): |
|
492 ui.status(_("(use 'hg topic --clear' to clear it if needed)\n")) |
490 hint = _("(see 'hg help topics' for more information)\n") |
493 hint = _("(see 'hg help topics' for more information)\n") |
491 if ctwasempty and not empty: |
494 if ctwasempty and not empty: |
492 if csetcount == 1: |
495 if csetcount == 1: |
493 msg = _('active topic %r grew its first changeset\n%s') |
496 msg = _('active topic %r grew its first changeset\n%s') |
494 ui.status(msg % (ct, hint)) |
497 ui.status(msg % (ct, hint)) |