equal
deleted
inserted
replaced
354 adding file changes |
354 adding file changes |
355 added 1 changesets with 1 changes to 1 files |
355 added 1 changesets with 1 changes to 1 files |
356 (run 'hg update' to get a working copy) |
356 (run 'hg update' to get a working copy) |
357 $ hg up |
357 $ hg up |
358 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
358 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
359 $ cd .. |
|
360 |
|
361 Test graft --obsolete/--old-obsolete |
|
362 |
|
363 $ hg init test-graft |
|
364 $ cd test-graft |
|
365 $ mkcommit 0 |
|
366 $ mkcommit 1 |
|
367 $ mkcommit 2 |
|
368 $ mkcommit 3 |
|
369 $ hg up -qC 0 |
|
370 $ mkcommit 4 |
|
371 created new head |
|
372 $ glog --hidden |
|
373 @ 4:ce341209337f@default(draft) add 4 |
|
374 | |
|
375 | o 3:0e84df4912da@default(draft) add 3 |
|
376 | | |
|
377 | o 2:db038628b9e5@default(draft) add 2 |
|
378 | | |
|
379 | o 1:73d38bb17fd7@default(draft) add 1 |
|
380 |/ |
|
381 o 0:8685c6d34325@default(draft) add 0 |
|
382 |
|
383 $ hg graft -r3 -O |
|
384 grafting revision 3 |
|
385 $ hg graft -r1 -o 2 |
|
386 grafting revision 1 |
|
387 $ glog --hidden |
|
388 @ 6:acb28cd497b7@default(draft) add 1 |
|
389 | |
|
390 o 5:0b9e50c35132@default(draft) add 3 |
|
391 | |
|
392 o 4:ce341209337f@default(draft) add 4 |
|
393 | |
|
394 | x 3:0e84df4912da@default(draft) add 3 |
|
395 | | |
|
396 | x 2:db038628b9e5@default(draft) add 2 |
|
397 | | |
|
398 | o 1:73d38bb17fd7@default(draft) add 1 |
|
399 |/ |
|
400 o 0:8685c6d34325@default(draft) add 0 |
|
401 |
|
402 $ hg debugsuccessors |
|
403 0e84df4912da 0b9e50c35132 |
|
404 db038628b9e5 acb28cd497b7 |
|
405 $ cd .. |
|
406 |