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