Mercurial > evolve
comparison hgext3rd/topic/stack.py @ 1914:17782631d7e8
spelling: changeset
author | timeless@gmail.com |
---|---|
date | Fri, 18 Mar 2016 15:00:58 +0000 |
parents | 36112e361ee4 |
children | eadcc5f8edf6 |
comparison
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, |