hgext3rd/topic/stack.py
changeset 4803 88472e743c64
parent 4759 f30c1fab7155
child 4814 48b30ff742cb
equal deleted inserted replaced
4802:dc403312a012 4803:88472e743c64
   315     # super crude initial version
   315     # super crude initial version
   316     for idx, isentry, ctx in entries[::-1]:
   316     for idx, isentry, ctx in entries[::-1]:
   317 
   317 
   318         symbol = None
   318         symbol = None
   319         states = []
   319         states = []
   320         if opts.get('children'):
   320         if opts.get(b'children'):
   321             expr = 'children(%d) and merge() - %ld'
   321             expr = 'children(%d) and merge() - %ld'
   322             revisions = repo.revs(expr, ctx.rev(), st._revs)
   322             revisions = repo.revs(expr, ctx.rev(), st._revs)
   323             if len(revisions) > 0:
   323             if len(revisions) > 0:
   324                 states.append('external-children')
   324                 states.append('external-children')
   325 
   325