Mercurial > evolve
comparison hgext3rd/topic/stack.py @ 3085:3eca2cbdc498
stack: order the adjective of changeset
The new order give more interesting result:
* base current
* base unstable
* current unstable
It seems more harmonious this way. Base seems the most core and immutable
adjective describing the element. Then current is a volatile but important one.
Finally, unstable is less information than current, so it goes last.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 20 Oct 2017 14:56:03 +0200 |
parents | 144989dabe93 |
children | 237b39bf7e6b |
comparison
equal
deleted
inserted
replaced
3084:144989dabe93 | 3085:3eca2cbdc498 |
---|---|
294 | 294 |
295 # none of the above if statments get executed | 295 # none of the above if statments get executed |
296 if not symbol: | 296 if not symbol: |
297 symbol = ':' | 297 symbol = ':' |
298 states.append('clean') | 298 states.append('clean') |
299 | |
300 states.sort() | |
301 | |
299 fm.startitem() | 302 fm.startitem() |
300 fm.data(isentry=isentry) | 303 fm.data(isentry=isentry) |
301 | 304 |
302 if idx is None: | 305 if idx is None: |
303 fm.plain(' ') | 306 fm.plain(' ') |