diff -r 10d10563e2a8 -r 54d6dff699f0 hgext3rd/topic/stack.py --- a/hgext3rd/topic/stack.py Fri Aug 26 14:58:18 2016 +0200 +++ b/hgext3rd/topic/stack.py Fri Aug 26 14:14:04 2016 +0200 @@ -2,6 +2,7 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +from mercurial.i18n import _ from mercurial import ( destutil, error, @@ -19,6 +20,14 @@ prev = None entries = [] idxmap = {} + + label = 'topic' + if topic == repo.currenttopic: + label = 'topic.active' + + fm.plain(_('### topic: %s\n') % ui.label(topic, label), + label='topic.stack.summary.topic') + for idx, r in enumerate(getstack(repo, topic), 1): ctx = repo[r] p1 = ctx.p1()