224 $ hg up 'desc(c_d)' |
224 $ hg up 'desc(c_d)' |
225 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
225 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
226 $ echo ccc > ddd |
226 $ echo ccc > ddd |
227 $ hg commit --amend -m 'c_D' |
227 $ hg commit --amend -m 'c_D' |
228 $ hg rebase -d . -s 'desc(c_g)' |
228 $ hg rebase -d . -s 'desc(c_g)' |
229 rebasing 9:2ebb6e48ab8a "c_g" |
229 rebasing 10:2ebb6e48ab8a "c_g" |
230 rebasing 10:634f38e27a1d "c_h" |
230 rebasing 11:634f38e27a1d "c_h" |
231 $ hg log -G |
231 $ hg log -G |
232 o 13 foo {} draft c_h |
232 o 15 foo {} draft c_h |
233 | |
233 | |
234 o 12 foo {} draft c_g |
234 o 14 foo {} draft c_g |
235 | |
235 | |
236 @ 11 foo {} draft c_D |
236 @ 13 foo {} draft c_D |
237 | |
237 | |
238 | o 8 foo {} draft c_f |
238 | o 9 foo {} draft c_f |
239 | | |
239 | | |
240 | o 7 foo {} draft c_e |
240 | o 8 foo {} draft c_e |
241 | | |
241 | | |
242 | x 6 foo {} draft c_d |
242 | x 7 foo {} draft c_d |
243 |/ |
243 |/ |
244 o 2 foo {} draft c_c |
244 o 2 foo {} draft c_c |
245 | |
245 | |
246 o 1 other {} public c_b |
246 o 1 other {} public c_b |
247 | |
247 | |
248 o 0 other {} public c_a |
248 o 0 other {} public c_a |
249 |
249 |
250 |
250 |
251 $ hg stack |
251 $ hg stack |
252 ### target: foo (branch) (2 heads) |
252 ### target: foo (branch) (2 heads) |
253 s6: c_h |
253 s6$ c_f (unstable) |
254 s5: c_g |
254 s5$ c_e (unstable) |
255 s2^ c_D (base current) |
255 s2^ c_D (base current) |
256 s4$ c_f (unstable) |
256 s4: c_h |
257 s3$ c_e (unstable) |
257 s3: c_g |
258 s2@ c_D (current) |
258 s2@ c_D (current) |
259 s1: c_c |
259 s1: c_c |
260 s0^ c_b (base) |
260 s0^ c_b (base) |
261 |
261 |
262 Check that stack doesn't show draft changesets on a branch |
262 Check that stack doesn't show draft changesets on a branch |
263 ---------------------------------------------------------- |
263 ---------------------------------------------------------- |
264 |
264 |
265 $ hg log --graph |
265 $ hg log --graph |
266 o 13 foo {} draft c_h |
266 o 15 foo {} draft c_h |
267 | |
267 | |
268 o 12 foo {} draft c_g |
268 o 14 foo {} draft c_g |
269 | |
269 | |
270 @ 11 foo {} draft c_D |
270 @ 13 foo {} draft c_D |
271 | |
271 | |
272 | o 8 foo {} draft c_f |
272 | o 9 foo {} draft c_f |
273 | | |
273 | | |
274 | o 7 foo {} draft c_e |
274 | o 8 foo {} draft c_e |
275 | | |
275 | | |
276 | x 6 foo {} draft c_d |
276 | x 7 foo {} draft c_d |
277 |/ |
277 |/ |
278 o 2 foo {} draft c_c |
278 o 2 foo {} draft c_c |
279 | |
279 | |
280 o 1 other {} public c_b |
280 o 1 other {} public c_b |
281 | |
281 | |
282 o 0 other {} public c_a |
282 o 0 other {} public c_a |
283 |
283 |
284 |
284 |
285 $ hg stack |
285 $ hg stack |
286 ### target: foo (branch) (2 heads) |
286 ### target: foo (branch) (2 heads) |
287 s6: c_h |
287 s6$ c_f (unstable) |
288 s5: c_g |
288 s5$ c_e (unstable) |
289 s2^ c_D (base current) |
289 s2^ c_D (base current) |
290 s4$ c_f (unstable) |
290 s4: c_h |
291 s3$ c_e (unstable) |
291 s3: c_g |
292 s2@ c_D (current) |
292 s2@ c_D (current) |
293 s1: c_c |
293 s1: c_c |
294 s0^ c_b (base) |
294 s0^ c_b (base) |
295 $ hg phase --public b1 |
295 $ hg phase --public b1 |
296 $ hg stack |
296 $ hg stack |
297 ### target: foo (branch) (2 heads) |
297 ### target: foo (branch) (2 heads) |
298 s5: c_h |
298 s5$ c_f (unstable) |
299 s4: c_g |
299 s4$ c_e (unstable) |
300 s1^ c_D (base current) |
300 s1^ c_D (base current) |
301 s3$ c_f (unstable) |
301 s3: c_h |
302 s2$ c_e (unstable) |
302 s2: c_g |
303 s1@ c_D (current) |
303 s1@ c_D (current) |
304 s0^ c_c (base) |
304 s0^ c_c (base) |
305 |
305 |
306 Check that stack doesn't show changeset with a topic |
306 Check that stack doesn't show changeset with a topic |
307 ---------------------------------------------------- |
307 ---------------------------------------------------- |
308 |
308 |
309 $ hg topic --rev b4::b5 sometopic |
309 $ hg topic --rev b4::b5 sometopic |
310 changed topic on 2 changes |
310 changed topic on 2 changes |
311 $ hg stack |
311 $ hg stack |
312 ### target: foo (branch) |
312 ### target: foo (branch) |
313 s3$ c_f (unstable) |
313 s3: c_h |
314 s2$ c_e (unstable) |
314 s2: c_g |
315 s1@ c_D (current) |
315 s1@ c_D (current) |
316 s0^ c_c (base) |
316 s0^ c_c (base) |