75 t4@ c_f (current) |
75 t4@ c_f (current) |
76 t3: c_e |
76 t3: c_e |
77 t2: c_d |
77 t2: c_d |
78 t1: c_c |
78 t1: c_c |
79 ^ c_b |
79 ^ c_b |
|
80 $ hg stack -Tjson | python -m json.tool |
|
81 [ |
|
82 { |
|
83 "isentry": true, |
|
84 "topic.stack.desc": "c_f", |
|
85 "topic.stack.index": 4, |
|
86 "topic.stack.state": "current", |
|
87 "topic.stack.state.symbol": "@" |
|
88 }, |
|
89 { |
|
90 "isentry": true, |
|
91 "topic.stack.desc": "c_e", |
|
92 "topic.stack.index": 3, |
|
93 "topic.stack.state": "clean", |
|
94 "topic.stack.state.symbol": ":" |
|
95 }, |
|
96 { |
|
97 "isentry": true, |
|
98 "topic.stack.desc": "c_d", |
|
99 "topic.stack.index": 2, |
|
100 "topic.stack.state": "clean", |
|
101 "topic.stack.state.symbol": ":" |
|
102 }, |
|
103 { |
|
104 "isentry": true, |
|
105 "topic.stack.desc": "c_c", |
|
106 "topic.stack.index": 1, |
|
107 "topic.stack.state": "clean", |
|
108 "topic.stack.state.symbol": ":" |
|
109 }, |
|
110 { |
|
111 "isentry": false, |
|
112 "topic.stack.desc": "c_b", |
|
113 "topic.stack.state": "base", |
|
114 "topic.stack.state.symbol": "^" |
|
115 } |
|
116 ] |
80 |
117 |
81 error case, nothing to list |
118 error case, nothing to list |
82 |
119 |
83 $ hg topic --clear |
120 $ hg topic --clear |
84 $ hg stack |
121 $ hg stack |