comparison hgext3rd/topic/stack.py @ 4432:5da1d162ad50

stack: rename unstable -> orphan That's the only instability stack can currently show, but it's about to show more and showing "unstable" for one type of instability just isn't good.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 07 Mar 2019 19:13:45 +0800
parents e10ebc58926e
children a19d8196b0c9
comparison
equal deleted inserted replaced
4431:f109917f5c28 4432:5da1d162ad50
341 states.append('current') 341 states.append('current')
342 342
343 if ctx.orphan(): 343 if ctx.orphan():
344 symbol = '$' 344 symbol = '$'
345 if msg: 345 if msg:
346 states.append('unstable - ' + msg) 346 states.append('orphan - ' + msg)
347 else: 347 else:
348 states.append('unstable') 348 states.append('orphan')
349 349
350 if not isentry: 350 if not isentry:
351 symbol = '^' 351 symbol = '^'
352 # "base" is kind of a "ghost" entry 352 # "base" is kind of a "ghost" entry
353 states.append('base') 353 states.append('base')