hgext3rd/topic/__init__.py
changeset 1977 137f8b04901e
parent 1976 ebdc2a6a9a25
child 1978 e42dd4523c0d
equal deleted inserted replaced
1976:ebdc2a6a9a25 1977:137f8b04901e
   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