equal
deleted
inserted
replaced
24 label = 'topic' |
24 label = 'topic' |
25 if topic == repo.currenttopic: |
25 if topic == repo.currenttopic: |
26 label = 'topic.active' |
26 label = 'topic.active' |
27 |
27 |
28 data = stackdata(repo, topic) |
28 data = stackdata(repo, topic) |
29 fm.plain(_('### topic: %s\n') % ui.label(topic, label), |
29 fm.plain(_('### topic: %s') % ui.label(topic, label), |
30 label='topic.stack.summary.topic') |
30 label='topic.stack.summary.topic') |
|
31 |
|
32 if 1 < data['headcount']: |
|
33 fm.plain(' (') |
|
34 fm.plain('%d heads' % data['headcount'], |
|
35 label='topic.stack.summary.headcount.multiple') |
|
36 fm.plain(')') |
|
37 fm.plain('\n') |
31 fm.plain(_('### branch: %s') |
38 fm.plain(_('### branch: %s') |
32 % '+'.join(data['branches']), # XXX handle multi branches |
39 % '+'.join(data['branches']), # XXX handle multi branches |
33 label='topic.stack.summary.branches') |
40 label='topic.stack.summary.branches') |
34 if data['behindcount'] == -1: |
41 if data['behindcount'] == -1: |
35 fm.plain(', ') |
42 fm.plain(', ') |