hgext3rd/topic/stack.py
branchstable
changeset 2341 a5117a5becf8
parent 2003 61d595ce8994
child 2348 5737e0680f10
equal deleted inserted replaced
2331:d49f376598f8 2341:a5117a5becf8
    85                  label='topic.stack.desc topic.stack.desc.%s' % state)
    85                  label='topic.stack.desc topic.stack.desc.%s' % state)
    86         fm.condwrite(state != 'clean' and idx is not None, 'topic.stack.state',
    86         fm.condwrite(state != 'clean' and idx is not None, 'topic.stack.state',
    87                      ' (%s)', state,
    87                      ' (%s)', state,
    88                      label='topic.stack.state topic.stack.state.%s' % state)
    88                      label='topic.stack.state topic.stack.state.%s' % state)
    89         fm.plain('\n')
    89         fm.plain('\n')
    90         fm.end()
    90     fm.end()
    91 
    91 
    92 def stackdata(repo, topic):
    92 def stackdata(repo, topic):
    93     """get various data about a stack
    93     """get various data about a stack
    94 
    94 
    95     :changesetcount: number of non-obsolete changesets in the stack
    95     :changesetcount: number of non-obsolete changesets in the stack