equal
deleted
inserted
replaced
287 if not ui.quiet: |
287 if not ui.quiet: |
288 # registering the active data is made explicitly later |
288 # registering the active data is made explicitly later |
289 fm.plain(' %s ' % marker, label=label) |
289 fm.plain(' %s ' % marker, label=label) |
290 fm.write('topic', '%s', topic, label=label) |
290 fm.write('topic', '%s', topic, label=label) |
291 fm.data(active=active) |
291 fm.data(active=active) |
|
292 if ui.verbose: |
|
293 # XXX we should include the data even when not verbose |
|
294 data = stack.stackdata(repo, topic) |
|
295 fm.plain('\t(') |
|
296 fm.write('changesetcount', '%d changesets', data['changesetcount'], |
|
297 label='topic.list.changesetcount') |
|
298 fm.plain(')') |
292 fm.plain('\n') |
299 fm.plain('\n') |
293 fm.end() |
300 fm.end() |
294 |
301 |
295 def summaryhook(ui, repo): |
302 def summaryhook(ui, repo): |
296 t = repo.currenttopic |
303 t = repo.currenttopic |