85 t0^ add bbb (base) |
85 t0^ add bbb (base) |
86 $ hg up 'desc(ddd)' |
86 $ hg up 'desc(ddd)' |
87 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
87 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
88 $ echo ddd >> ddd |
88 $ echo ddd >> ddd |
89 $ hg amend |
89 $ hg amend |
90 6 new orphan changesets |
90 6 new unstable changesets |
91 $ hg up 'desc(fff)' |
91 $ hg up 'desc(fff)' |
92 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
92 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
93 $ echo fff >> fff |
93 $ echo fff >> fff |
94 $ hg amend |
94 $ hg amend |
95 |
95 |
96 $ hg log -G |
96 $ hg log -G |
97 @ 11 - {foo} e104f49bab28 add fff (draft) |
97 @ 13 - {foo} e104f49bab28 add fff (draft) |
98 | |
98 | |
99 | o 10 - {foo} d9cacd156ffc add ddd (draft) |
99 | o 11 - {foo} d9cacd156ffc add ddd (draft) |
100 | | |
100 | | |
101 | | o 9 - {bar} 1d964213b023 add jjj (draft) |
101 | | o 9 - {bar} 1d964213b023 add jjj (draft) |
102 | | | |
102 | | | |
103 | | o 8 - {bar} fcab990f3261 add iii (draft) |
103 | | o 8 - {bar} fcab990f3261 add iii (draft) |
104 | | | |
104 | | | |
158 Test that evolve does not loose topic information |
158 Test that evolve does not loose topic information |
159 ------------------------------------------------- |
159 ------------------------------------------------- |
160 |
160 |
161 $ hg evolve --rev 'topic(bar)' |
161 $ hg evolve --rev 'topic(bar)' |
162 move:[6] add ggg |
162 move:[6] add ggg |
163 atop:[13] add fff |
163 atop:[15] add fff |
164 move:[7] add hhh |
164 move:[7] add hhh |
165 atop:[14] add ggg |
165 atop:[16] add ggg |
166 move:[8] add iii |
166 move:[8] add iii |
167 atop:[15] add hhh |
167 atop:[17] add hhh |
168 move:[9] add jjj |
168 move:[9] add jjj |
169 atop:[16] add iii |
169 atop:[18] add iii |
170 working directory is now at 9bf430c106b7 |
170 working directory is now at 9bf430c106b7 |
171 $ hg log -G |
171 $ hg log -G |
172 @ 17 - {bar} 9bf430c106b7 add jjj (draft) |
172 @ 19 - {bar} 9bf430c106b7 add jjj (draft) |
173 | |
173 | |
174 o 16 - {bar} d2dc89c57700 add iii (draft) |
174 o 18 - {bar} d2dc89c57700 add iii (draft) |
175 | |
175 | |
176 o 15 - {bar} 20bc4d02aa62 add hhh (draft) |
176 o 17 - {bar} 20bc4d02aa62 add hhh (draft) |
177 | |
177 | |
178 o 14 - {bar} 16d6f664b17c add ggg (draft) |
178 o 16 - {bar} 16d6f664b17c add ggg (draft) |
179 | |
179 | |
180 o 13 - {foo} 070c5573d8f9 add fff (draft) |
180 o 15 - {foo} 070c5573d8f9 add fff (draft) |
181 | |
181 | |
182 o 12 - {foo} 42b49017ff90 add eee (draft) |
182 o 14 - {foo} 42b49017ff90 add eee (draft) |
183 | |
183 | |
184 o 10 - {foo} d9cacd156ffc add ddd (draft) |
184 o 11 - {foo} d9cacd156ffc add ddd (draft) |
185 | |
185 | |
186 o 2 - {foo} cced9bac76e3 add ccc (draft) |
186 o 2 - {foo} cced9bac76e3 add ccc (draft) |
187 | |
187 | |
188 o 1 - {} a4dbed0837ea add bbb (draft) |
188 o 1 - {} a4dbed0837ea add bbb (draft) |
189 | |
189 | |
198 $ hg up foo |
198 $ hg up foo |
199 switching to topic foo |
199 switching to topic foo |
200 0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
200 0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
201 $ hg prev |
201 $ hg prev |
202 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
202 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
203 [12] add eee |
203 [14] add eee |
204 $ hg next |
204 $ hg next |
205 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
205 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
206 [13] add fff |
206 [15] add fff |
207 $ hg next |
207 $ hg next |
208 no children on topic "foo" |
208 no children on topic "foo" |
209 do you want --no-topic |
209 do you want --no-topic |
210 [1] |
210 [1] |
211 $ hg next --no-topic |
211 $ hg next --no-topic |
212 switching to topic bar |
212 switching to topic bar |
213 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
213 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
214 [14] add ggg |
214 [16] add ggg |
215 $ hg prev |
215 $ hg prev |
216 preserving the current topic 'bar' |
216 preserving the current topic 'bar' |
217 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
217 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
218 [13] add fff |
218 [15] add fff |
219 $ hg prev |
219 $ hg prev |
220 no parent in topic "bar" |
220 no parent in topic "bar" |
221 (do you want --no-topic) |
221 (do you want --no-topic) |
222 [1] |
222 [1] |
223 $ hg prev --no-topic |
223 $ hg prev --no-topic |
224 switching to topic foo |
224 switching to topic foo |
225 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
225 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
226 [12] add eee |
226 [14] add eee |
227 |
227 |
228 Testing when instability is involved |
228 Testing when instability is involved |
229 |
229 |
230 $ hg log -G |
230 $ hg log -G |
231 o 17 - {bar} 9bf430c106b7 add jjj (draft) |
231 o 19 - {bar} 9bf430c106b7 add jjj (draft) |
232 | |
232 | |
233 o 16 - {bar} d2dc89c57700 add iii (draft) |
233 o 18 - {bar} d2dc89c57700 add iii (draft) |
234 | |
234 | |
235 o 15 - {bar} 20bc4d02aa62 add hhh (draft) |
235 o 17 - {bar} 20bc4d02aa62 add hhh (draft) |
236 | |
236 | |
237 o 14 - {bar} 16d6f664b17c add ggg (draft) |
237 o 16 - {bar} 16d6f664b17c add ggg (draft) |
238 | |
238 | |
239 o 13 - {foo} 070c5573d8f9 add fff (draft) |
239 o 15 - {foo} 070c5573d8f9 add fff (draft) |
240 | |
240 | |
241 @ 12 - {foo} 42b49017ff90 add eee (draft) |
241 @ 14 - {foo} 42b49017ff90 add eee (draft) |
242 | |
242 | |
243 o 10 - {foo} d9cacd156ffc add ddd (draft) |
243 o 11 - {foo} d9cacd156ffc add ddd (draft) |
244 | |
244 | |
245 o 2 - {foo} cced9bac76e3 add ccc (draft) |
245 o 2 - {foo} cced9bac76e3 add ccc (draft) |
246 | |
246 | |
247 o 1 - {} a4dbed0837ea add bbb (draft) |
247 o 1 - {} a4dbed0837ea add bbb (draft) |
248 | |
248 | |