hgext3rd/topic/stack.py
changeset 1914 17782631d7e8
parent 1909 36112e361ee4
child 1924 eadcc5f8edf6
equal deleted inserted replaced
1913:3d3c02e6848a 1914:17782631d7e8
    24         ctx =  repo[r]
    24         ctx =  repo[r]
    25         p1 = ctx.p1()
    25         p1 = ctx.p1()
    26         if p1.obsolete():
    26         if p1.obsolete():
    27             p1 = repo[_singlesuccessor(repo, p1)]
    27             p1 = repo[_singlesuccessor(repo, p1)]
    28         if p1.rev() != prev:
    28         if p1.rev() != prev:
    29             # display the parent of the chanset
    29             # display the parent of the changeset
    30             state = 'base'
    30             state = 'base'
    31             symbol= '_'
    31             symbol= '_'
    32             fm.startitem()
    32             fm.startitem()
    33             fm.plain('  ') # XXX 2 is the right padding by chance
    33             fm.plain('  ') # XXX 2 is the right padding by chance
    34             fm.write('topic.stack.state', '%s', symbol,
    34             fm.write('topic.stack.state', '%s', symbol,