410 |/ |
410 |/ |
411 o 6 feature-A: a nifty feature - test |
411 o 6 feature-A: a nifty feature - test |
412 | |
412 | |
413 o 0 : base - test |
413 o 0 : base - test |
414 |
414 |
415 $ hg evolve --any --traceback --bumped |
415 $ hg evolve --any --traceback --phasedivergent |
416 recreate:[8] another feature that rox |
416 recreate:[8] another feature that rox |
417 atop:[7] another feature (child of ba0ec09b1bab) |
417 atop:[7] another feature (child of ba0ec09b1bab) |
418 computing new diff |
418 computing new diff |
419 committed as 6707c5e1c49d |
419 committed as 6707c5e1c49d |
420 working directory is now at 6707c5e1c49d |
420 working directory is now at 6707c5e1c49d |
768 |
768 |
769 $ hg olog | head -n 10 # hg touch makes the output unstable (fix it with devel option for more stable touch) |
769 $ hg olog | head -n 10 # hg touch makes the output unstable (fix it with devel option for more stable touch) |
770 @ d26d339c513f (12) add 4 |
770 @ d26d339c513f (12) add 4 |
771 |\ |
771 |\ |
772 x | af636757ce3b (11) add 3 |
772 x | af636757ce3b (11) add 3 |
773 |\ \ rewritten(description, user, parent, content) by test (*) as d26d339c513f (glob) |
773 |\ \ rewritten(description, user, parent, content) as d26d339c513f by test (*) (glob) |
774 | | | |
774 | | | |
775 | \ \ |
775 | \ \ |
776 | |\ \ |
776 | |\ \ |
777 | | | x ce341209337f (4) add 4 |
777 | | | x ce341209337f (4) add 4 |
778 | | | rewritten(description, user, content) by test (*) as d26d339c513f (glob) |
778 | | | rewritten(description, user, content) as d26d339c513f by test (*) (glob) |
779 | | | |
779 | | | |
780 |
780 |
781 Test obsstore stat |
781 Test obsstore stat |
782 |
782 |
783 $ hg debugobsstorestat |
783 $ hg debugobsstorestat |
988 atop:[10] a1__ |
988 atop:[10] a1__ |
989 (leaving bookmark testbookmark) |
989 (leaving bookmark testbookmark) |
990 working directory is now at d952e93add6f |
990 working directory is now at d952e93add6f |
991 $ ls .hg/bookmarks* |
991 $ ls .hg/bookmarks* |
992 .hg/bookmarks |
992 .hg/bookmarks |
|
993 $ hg log -G |
|
994 @ 11 : a2 - test |
|
995 | |
|
996 o 10 testbookmark: a1__ - test |
|
997 | |
|
998 | o 9 : a3 - test |
|
999 | | |
|
1000 | x 8 : a2 - test |
|
1001 | | |
|
1002 | x 7 : a1_ - test |
|
1003 |/ |
|
1004 o 0 : a0 - test |
|
1005 |
993 |
1006 |
994 Possibility to select what trouble to solve first, asking for bumped before |
1007 Possibility to select what trouble to solve first, asking for bumped before |
995 divergent |
1008 divergent |
996 $ hg up 10 |
1009 $ hg up 10 |
997 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1010 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1047 | | |
1060 | | |
1048 | x 7 : a1_ - test |
1061 | x 7 : a1_ - test |
1049 |/ |
1062 |/ |
1050 o 0 : a0 - test |
1063 o 0 : a0 - test |
1051 |
1064 |
1052 $ hg evolve -r 12 --bumped |
1065 $ hg evolve -r 12 --phasedivergent |
1053 recreate:[12] add new file bumped |
1066 recreate:[12] add new file bumped |
1054 atop:[11] a2 |
1067 atop:[11] a2 |
1055 computing new diff |
1068 computing new diff |
1056 committed as f15d32934071 |
1069 committed as f15d32934071 |
1057 working directory is now at f15d32934071 |
1070 working directory is now at f15d32934071 |
1058 $ hg evolve --any |
1071 $ hg evolve --any |
1059 move:[9] a3 |
1072 move:[9] a3 |
1060 atop:[13] bumped update to d952e93add6f: |
1073 atop:[13] bumped update to d952e93add6f: |
1061 working directory is now at cce26b684bfe |
1074 working directory is now at cce26b684bfe |
|
1075 $ glog |
|
1076 @ 14:cce26b684bfe@default(draft) a3 |
|
1077 | |
|
1078 o 13:f15d32934071@default(draft) bumped update to d952e93add6f: |
|
1079 | |
|
1080 o 11:d952e93add6f@mybranch(public) a2 |
|
1081 | |
|
1082 o 10:9f8b83c2e7f3@default(public) a1__ |
|
1083 | |
|
1084 o 0:07c1c36d9ef0@default(public) a0 |
|
1085 |
|
1086 |
1062 Check that we can resolve troubles in a revset with more than one commit |
1087 Check that we can resolve troubles in a revset with more than one commit |
1063 $ hg up 14 -C |
1088 $ hg up cce26b684bfe -C |
1064 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1089 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1065 $ mkcommit gg |
1090 $ mkcommit gg |
1066 $ hg up 14 |
1091 $ hg up cce26b684bfe |
1067 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1092 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1068 $ mkcommit gh |
1093 $ mkcommit gh |
1069 created new head |
1094 created new head |
1070 $ hg up 14 |
1095 $ hg up cce26b684bfe |
1071 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1096 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1072 $ printf "newline\nnewline\n" >> a |
1097 $ printf "newline\nnewline\n" >> a |
1073 $ hg log -G |
1098 $ hg log -G |
1074 o 16 : add gh - test |
1099 o 16 : add gh - test |
1075 | |
1100 | |
1108 Evolving an empty revset should do nothing |
1133 Evolving an empty revset should do nothing |
1109 $ hg evolve --rev "16 and 15" |
1134 $ hg evolve --rev "16 and 15" |
1110 set of specified revisions is empty |
1135 set of specified revisions is empty |
1111 [1] |
1136 [1] |
1112 |
1137 |
1113 $ hg evolve --rev "14::" --bumped |
1138 $ hg evolve --rev "14::" --phasedivergent |
1114 no bumped changesets in specified revisions |
1139 no phasedivergent changesets in specified revisions |
1115 (do you want to use --unstable) |
1140 (do you want to use --orphan) |
1116 [2] |
1141 [2] |
1117 $ hg evolve --rev "14::" --unstable |
1142 $ hg evolve --rev "14::" --orphan |
1118 move:[15] add gg |
1143 move:[15] add gg |
1119 atop:[18] a3 |
1144 atop:[18] a3 |
1120 move:[16] add gh |
1145 move:[16] add gh |
1121 atop:[18] a3 |
1146 atop:[18] a3 |
1122 working directory is now at e02107f98737 |
1147 working directory is now at e02107f98737 |
1310 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1335 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1311 $ hg up 20 |
1336 $ hg up 20 |
1312 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1337 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1313 $ hg evolve --all |
1338 $ hg evolve --all |
1314 nothing to evolve on current working copy parent |
1339 nothing to evolve on current working copy parent |
1315 (2 other unstable in the repository, do you want --any or --rev) |
1340 (2 other orphan in the repository, do you want --any or --rev) |
1316 [2] |
1341 [2] |
1317 $ hg evolve --all --any |
1342 $ hg evolve --all --any |
1318 move:[22] add j2 |
1343 move:[22] add j2 |
1319 atop:[26] add j1 |
1344 atop:[26] add j1 |
1320 move:[23] add j3 |
1345 move:[23] add j3 |
1458 $ echo "will cause conflict at evolve" > newfile |
1483 $ echo "will cause conflict at evolve" > newfile |
1459 $ echo "newly added" > newlyadded |
1484 $ echo "newly added" > newlyadded |
1460 $ hg add newlyadded |
1485 $ hg add newlyadded |
1461 $ hg commit -m "will cause conflict at evolve" |
1486 $ hg commit -m "will cause conflict at evolve" |
1462 |
1487 |
1463 $ hg update -q 37 |
1488 $ glog -r "edc3c9de504e::" |
|
1489 @ 39:02e943732647@default(draft) will cause conflict at evolve |
|
1490 | |
|
1491 o 38:f8e30e9317aa@default(draft) will be evolved safely |
|
1492 | |
|
1493 o 37:36030b147271@default(draft) will be amended |
|
1494 | |
|
1495 o 36:43c3f5ef149f@default(draft) add uu |
|
1496 | |
|
1497 o 35:7a555adf2b4a@default(draft) _pp |
|
1498 | |
|
1499 o 34:2be4d2d5bf34@default(draft) _oo |
|
1500 | |
|
1501 | o 31:580886d07058@default(draft) add gg |
|
1502 | | |
|
1503 o | 30:68330ac625b8@default(draft) add unstableifparentisfolded |
|
1504 |/ |
|
1505 | o 20:e02107f98737@default(draft) add gh |
|
1506 |/ |
|
1507 o 18:edc3c9de504e@default(draft) a3 |
|
1508 | |
|
1509 ~ |
|
1510 |
|
1511 $ hg update -q 36030b147271 |
1464 $ echo "amended" > newfile |
1512 $ echo "amended" > newfile |
1465 $ hg amend -m "amended" |
1513 $ hg amend -m "amended" |
1466 2 new unstable changesets |
1514 2 new unstable changesets |
1467 |
1515 |
1468 $ hg evolve --rev "37::" |
1516 $ hg evolve --rev "37::" |