Show More
@@ -1089,7 +1089,9 b' def filterpatch(ui, headers, match, oper' | |||
|
1089 | 1089 | return skipfile, skipfile, skipall, newpatches |
|
1090 | 1090 | while True: |
|
1091 | 1091 | resps = messages['help'][operation] |
|
1092 | r = ui.promptchoice("%s %s" % (query, resps)) | |
|
1092 | # IMPORTANT: keep the last line of this prompt short (<40 english | |
|
1093 | # chars is a good target) because of issue6158. | |
|
1094 | r = ui.promptchoice("%s\n(enter ? for help) %s" % (query, resps)) | |
|
1093 | 1095 | ui.write("\n") |
|
1094 | 1096 | if r == 8: # ? |
|
1095 | 1097 | for c, t in ui.extractchoices(resps)[1]: |
@@ -402,12 +402,14 b' Executable files:' | |||
|
402 | 402 | $ hg absorb --dry-run --interactive --print-changes |
|
403 | 403 | diff -r 99b4ae712f84 foo.py |
|
404 | 404 | 1 hunks, 1 lines changed |
|
405 |
examine changes to 'foo.py'? |
|
|
405 | examine changes to 'foo.py'? | |
|
406 | (enter ? for help) [Ynesfdaq?] y | |
|
406 | 407 | |
|
407 | 408 | @@ -1,1 +1,1 @@ |
|
408 | 409 | - |
|
409 | 410 | +bla |
|
410 |
record |
|
|
411 | record this change to 'foo.py'? | |
|
412 | (enter ? for help) [Ynesfdaq?] y | |
|
411 | 413 | |
|
412 | 414 |
showing |
|
413 | 415 | @@ -0,1 +0,1 @@ |
@@ -146,11 +146,13 b' Interactive mode' | |||
|
146 | 146 | > EOS |
|
147 | 147 | diff --git a/F b/F |
|
148 | 148 | new file mode 100644 |
|
149 |
examine changes to 'F'? |
|
|
149 | examine changes to 'F'? | |
|
150 | (enter ? for help) [Ynesfdaq?] y | |
|
150 | 151 | |
|
151 | 152 | diff --git a/G b/G |
|
152 | 153 | new file mode 100644 |
|
153 |
examine changes to 'G'? |
|
|
154 | examine changes to 'G'? | |
|
155 | (enter ? for help) [Ynesfdaq?] n | |
|
154 | 156 | |
|
155 | 157 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/507be9bdac71-c8077452-amend.hg (obsstore-off !) |
|
156 | 158 | $ hg log -r . -T '{files}\n' |
@@ -100,7 +100,8 b' Rename empty file' | |||
|
100 | 100 | diff --git a/empty-rw b/empty-rename |
|
101 | 101 | rename from empty-rw |
|
102 | 102 | rename to empty-rename |
|
103 |
examine changes to 'empty-rw' and 'empty-rename'? |
|
|
103 | examine changes to 'empty-rw' and 'empty-rename'? | |
|
104 | (enter ? for help) [Ynesfdaq?] y | |
|
104 | 105 | |
|
105 | 106 | |
|
106 | 107 | $ hg tip -p |
@@ -121,7 +122,8 b' Copy empty file' | |||
|
121 | 122 | diff --git a/empty-rename b/empty-copy |
|
122 | 123 | copy from empty-rename |
|
123 | 124 | copy to empty-copy |
|
124 |
examine changes to 'empty-rename' and 'empty-copy'? |
|
|
125 | examine changes to 'empty-rename' and 'empty-copy'? | |
|
126 | (enter ? for help) [Ynesfdaq?] y | |
|
125 | 127 | |
|
126 | 128 | |
|
127 | 129 | $ hg tip -p |
@@ -141,7 +143,8 b' Delete empty file' | |||
|
141 | 143 | > EOF |
|
142 | 144 | diff --git a/empty-copy b/empty-copy |
|
143 | 145 | deleted file mode 100644 |
|
144 |
examine changes to 'empty-copy'? |
|
|
146 | examine changes to 'empty-copy'? | |
|
147 | (enter ? for help) [Ynesfdaq?] y | |
|
145 | 148 | |
|
146 | 149 | |
|
147 | 150 | $ hg tip -p |
@@ -164,7 +167,8 b' Add binary file' | |||
|
164 | 167 | diff --git a/tip.bundle b/tip.bundle |
|
165 | 168 | new file mode 100644 |
|
166 | 169 | this is a binary file |
|
167 |
examine changes to 'tip.bundle'? |
|
|
170 | examine changes to 'tip.bundle'? | |
|
171 | (enter ? for help) [Ynesfdaq?] y | |
|
168 | 172 | |
|
169 | 173 | |
|
170 | 174 |
$ |
@@ -187,7 +191,8 b' Change binary file' | |||
|
187 | 191 | > EOF |
|
188 | 192 | diff --git a/tip.bundle b/tip.bundle |
|
189 | 193 | this modifies a binary file (all or nothing) |
|
190 |
examine changes to 'tip.bundle'? |
|
|
194 | examine changes to 'tip.bundle'? | |
|
195 | (enter ? for help) [Ynesfdaq?] y | |
|
191 | 196 | |
|
192 | 197 | |
|
193 | 198 | $ hg tip -p |
@@ -213,7 +218,8 b' Rename and change binary file' | |||
|
213 | 218 | rename from tip.bundle |
|
214 | 219 | rename to top.bundle |
|
215 | 220 | this modifies a binary file (all or nothing) |
|
216 |
examine changes to 'tip.bundle' and 'top.bundle'? |
|
|
221 | examine changes to 'tip.bundle' and 'top.bundle'? | |
|
222 | (enter ? for help) [Ynesfdaq?] y | |
|
217 | 223 | |
|
218 | 224 | |
|
219 | 225 | $ hg tip -p |
@@ -253,7 +259,8 b' Add plain file' | |||
|
253 | 259 | +8 |
|
254 | 260 | +9 |
|
255 | 261 | +10 |
|
256 |
record this change to 'plain'? |
|
|
262 | record this change to 'plain'? | |
|
263 | (enter ? for help) [Ynesfdaq?] y | |
|
257 | 264 | |
|
258 | 265 |
$ |
|
259 | 266 | changeset: 7:11fb457c1be4 |
@@ -302,7 +309,8 b' Modify end of plain file, also test that' | |||
|
302 | 309 | 9 |
|
303 | 310 | 10 |
|
304 | 311 | +11 |
|
305 |
record this change to 'plain'? |
|
|
312 | record this change to 'plain'? | |
|
313 | (enter ? for help) [Ynesfdaq?] y | |
|
306 | 314 | |
|
307 | 315 | |
|
308 | 316 |
|
@@ -320,7 +328,8 b' Modify end of plain file, no EOL' | |||
|
320 | 328 | 11 |
|
321 | 329 | +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
322 | 330 | \ No newline at end of file |
|
323 |
record this change to 'plain'? |
|
|
331 | record this change to 'plain'? | |
|
332 | (enter ? for help) [Ynesfdaq?] y | |
|
324 | 333 | |
|
325 | 334 | |
|
326 | 335 | Record showfunc should preserve function across sections |
@@ -401,7 +410,8 b' Record showfunc should preserve function' | |||
|
401 | 410 | > EOF |
|
402 | 411 | diff --git a/f1.py b/f1.py |
|
403 | 412 | 3 hunks, 6 lines changed |
|
404 |
examine changes to 'f1.py'? |
|
|
413 | examine changes to 'f1.py'? | |
|
414 | (enter ? for help) [Ynesfdaq?] y | |
|
405 | 415 | |
|
406 | 416 |
@@ -2,8 +2,8 @@ def annotate(ui, repo, * |
|
407 | 417 | """show changeset information by line for each file |
@@ -413,7 +423,8 b' Record showfunc should preserve function' | |||
|
413 | 423 | This command is useful for discovering when a change was made and |
|
414 | 424 | by whom. |
|
415 | 425 | |
|
416 |
record change 1/3 to 'f1.py'? |
|
|
426 | record change 1/3 to 'f1.py'? | |
|
427 | (enter ? for help) [Ynesfdaq?] y | |
|
417 | 428 | |
|
418 | 429 | @@ -6,11 +6,7 @@ def annotate(ui, repo, *pats, **opts): |
|
419 | 430 | |
@@ -427,7 +438,8 b' Record showfunc should preserve function' | |||
|
427 | 438 | Without the -a/--text option, annotate will avoid processing files |
|
428 | 439 | it detects as binary. With -a, annotate will annotate the file |
|
429 | 440 | anyway, although the results will probably be neither useful |
|
430 |
record change 2/3 to 'f1.py'? |
|
|
441 | record change 2/3 to 'f1.py'? | |
|
442 | (enter ? for help) [Ynesfdaq?] y | |
|
431 | 443 | |
|
432 | 444 | @@ -26,7 +22,7 @@ def archive(ui, repo, dest, **opts): |
|
433 | 445 | directory; use -r/--rev to specify a different revision. |
@@ -438,7 +450,8 b' Record showfunc should preserve function' | |||
|
438 | 450 | |
|
439 | 451 | .. container:: verbose |
|
440 | 452 | |
|
441 |
record change 3/3 to 'f1.py'? |
|
|
453 | record change 3/3 to 'f1.py'? | |
|
454 | (enter ? for help) [Ynesfdaq?] y | |
|
442 | 455 | |
|
443 | 456 | |
|
444 | 457 | Modify end of plain file, add EOL |
@@ -461,13 +474,15 b' Modify end of plain file, add EOL' | |||
|
461 | 474 | -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
462 | 475 | \ No newline at end of file |
|
463 | 476 | +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
464 |
record change 1/2 to 'plain'? |
|
|
477 | record change 1/2 to 'plain'? | |
|
478 | (enter ? for help) [Ynesfdaq?] y | |
|
465 | 479 | |
|
466 | 480 |
diff --git |
|
467 | 481 | new file mode 100644 |
|
468 | 482 | @@ -0,0 +1,1 @@ |
|
469 | 483 | +1 |
|
470 |
record change 2/2 to 'plain2'? |
|
|
484 | record change 2/2 to 'plain2'? | |
|
485 | (enter ? for help) [Ynesfdaq?] y | |
|
471 | 486 | |
|
472 | 487 |
Modify |
|
473 | 488 | changes numbering |
@@ -493,7 +508,8 b' changes numbering' | |||
|
493 | 508 | 2 |
|
494 | 509 | 3 |
|
495 | 510 | 4 |
|
496 |
record change 1/3 to 'plain'? |
|
|
511 | record change 1/3 to 'plain'? | |
|
512 | (enter ? for help) [Ynesfdaq?] y | |
|
497 | 513 | |
|
498 | 514 | @@ -8,5 +8,3 @@ 7 |
|
499 | 515 | 8 |
@@ -501,14 +517,16 b' changes numbering' | |||
|
501 | 517 | 10 |
|
502 | 518 | -11 |
|
503 | 519 | -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
504 |
record change 2/3 to 'plain'? |
|
|
520 | record change 2/3 to 'plain'? | |
|
521 | (enter ? for help) [Ynesfdaq?] y | |
|
505 | 522 | |
|
506 | 523 |
diff --git |
|
507 | 524 | 1 hunks, 1 lines changed |
|
508 | 525 | @@ -1,1 +1,2 @@ |
|
509 | 526 | 1 |
|
510 | 527 | +2 |
|
511 |
record change 3/3 to 'plain2'? |
|
|
528 | record change 3/3 to 'plain2'? | |
|
529 | (enter ? for help) [Ynesfdaq?] y | |
|
512 | 530 | |
|
513 | 531 | |
|
514 | 532 |
$ hg |
@@ -566,7 +584,8 b' Record end' | |||
|
566 | 584 | 7 |
|
567 | 585 | 8 |
|
568 | 586 | 9 |
|
569 |
record change 1/2 to 'plain'? |
|
|
587 | record change 1/2 to 'plain'? | |
|
588 | (enter ? for help) [Ynesfdaq?] n | |
|
570 | 589 | |
|
571 | 590 | @@ -4,7 +1,7 @@ |
|
572 | 591 | 4 |
@@ -577,7 +596,8 b' Record end' | |||
|
577 | 596 | 9 |
|
578 | 597 | -10 |
|
579 | 598 | +10.new |
|
580 |
record change 2/2 to 'plain'? |
|
|
599 | record change 2/2 to 'plain'? | |
|
600 | (enter ? for help) [Ynesfdaq?] y | |
|
581 | 601 | |
|
582 | 602 | |
|
583 | 603 |
$ hg |
@@ -613,7 +633,8 b' Record beginning' | |||
|
613 | 633 | 4 |
|
614 | 634 | 5 |
|
615 | 635 | 6 |
|
616 |
record this change to 'plain'? |
|
|
636 | record this change to 'plain'? | |
|
637 | (enter ? for help) [Ynesfdaq?] y | |
|
617 | 638 | |
|
618 | 639 | |
|
619 | 640 |
$ hg |
@@ -660,7 +681,8 b' Record end' | |||
|
660 | 681 | 7 |
|
661 | 682 | 8 |
|
662 | 683 | 9 |
|
663 |
record change 1/2 to 'plain'? |
|
|
684 | record change 1/2 to 'plain'? | |
|
685 | (enter ? for help) [Ynesfdaq?] n | |
|
664 | 686 | |
|
665 | 687 | @@ -1,7 +4,6 @@ |
|
666 | 688 | 4 |
@@ -670,7 +692,8 b' Record end' | |||
|
670 | 692 | 8 |
|
671 | 693 | 9 |
|
672 | 694 | -10.new |
|
673 |
record change 2/2 to 'plain'? |
|
|
695 | record change 2/2 to 'plain'? | |
|
696 | (enter ? for help) [Ynesfdaq?] y | |
|
674 | 697 | |
|
675 | 698 | |
|
676 | 699 |
Add |
@@ -695,7 +718,8 b' Record beginning, middle, and test that ' | |||
|
695 | 718 | +3 |
|
696 | 719 | 4 |
|
697 | 720 | 5 |
|
698 |
record change 1/3 to 'plain'? |
|
|
721 | record change 1/3 to 'plain'? | |
|
722 | (enter ? for help) [Ynesfdaq?] y | |
|
699 | 723 | |
|
700 | 724 | @@ -1,6 +4,8 @@ |
|
701 | 725 | 4 |
@@ -706,7 +730,8 b' Record beginning, middle, and test that ' | |||
|
706 | 730 | 7 |
|
707 | 731 | 8 |
|
708 | 732 | 9 |
|
709 |
record change 2/3 to 'plain'? |
|
|
733 | record change 2/3 to 'plain'? | |
|
734 | (enter ? for help) [Ynesfdaq?] y | |
|
710 | 735 | |
|
711 | 736 | @@ -3,4 +8,6 @@ |
|
712 | 737 | 6 |
@@ -715,7 +740,8 b' Record beginning, middle, and test that ' | |||
|
715 | 740 | 9 |
|
716 | 741 | +10 |
|
717 | 742 | +11 |
|
718 |
record change 3/3 to 'plain'? |
|
|
743 | record change 3/3 to 'plain'? | |
|
744 | (enter ? for help) [Ynesfdaq?] n | |
|
719 | 745 | |
|
720 | 746 | |
|
721 | 747 |
$ hg |
@@ -755,7 +781,8 b' Record end' | |||
|
755 | 781 | 9 |
|
756 | 782 | +10 |
|
757 | 783 | +11 |
|
758 |
record this change to 'plain'? |
|
|
784 | record this change to 'plain'? | |
|
785 | (enter ? for help) [Ynesfdaq?] y | |
|
759 | 786 | |
|
760 | 787 | |
|
761 | 788 |
$ hg |
@@ -786,11 +813,13 b' Interactive commit can name a directory ' | |||
|
786 | 813 | adding subdir/a |
|
787 | 814 | diff --git a/subdir/a b/subdir/a |
|
788 | 815 | new file mode 100644 |
|
789 |
examine changes to 'subdir/a'? |
|
|
816 | examine changes to 'subdir/a'? | |
|
817 | (enter ? for help) [Ynesfdaq?] y | |
|
790 | 818 | |
|
791 | 819 | @@ -0,0 +1,1 @@ |
|
792 | 820 | +a |
|
793 |
record |
|
|
821 | record this change to 'subdir/a'? | |
|
822 | (enter ? for help) [Ynesfdaq?] y | |
|
794 | 823 | |
|
795 | 824 |
$ cd |
|
796 | 825 | |
@@ -804,7 +833,8 b' Interactive commit can name a directory ' | |||
|
804 | 833 | @@ -1,1 +1,2 @@ |
|
805 | 834 | a |
|
806 | 835 | +a |
|
807 |
record this change to 'subdir/a'? |
|
|
836 | record this change to 'subdir/a'? | |
|
837 | (enter ? for help) [Ynesfdaq?] y | |
|
808 | 838 | |
|
809 | 839 | |
|
810 | 840 |
$ hg |
@@ -839,7 +869,8 b' Help, quit' | |||
|
839 | 869 | > EOF |
|
840 | 870 | diff --git a/subdir/f1 b/subdir/f1 |
|
841 | 871 | 1 hunks, 1 lines changed |
|
842 |
examine changes to 'subdir/f1'? |
|
|
872 | examine changes to 'subdir/f1'? | |
|
873 | (enter ? for help) [Ynesfdaq?] ? | |
|
843 | 874 | |
|
844 | 875 | y - yes, record this change |
|
845 | 876 |
|
@@ -850,7 +881,8 b' Help, quit' | |||
|
850 | 881 | a - record all changes to all remaining files |
|
851 | 882 | q - quit, recording no changes |
|
852 | 883 | ? - ? (display help) |
|
853 |
examine changes to 'subdir/f1'? |
|
|
884 | examine changes to 'subdir/f1'? | |
|
885 | (enter ? for help) [Ynesfdaq?] q | |
|
854 | 886 | |
|
855 | 887 |
abort: |
|
856 | 888 | [255] |
@@ -865,21 +897,25 b' Patterns' | |||
|
865 | 897 | > EOF |
|
866 | 898 | diff --git a/subdir/f1 b/subdir/f1 |
|
867 | 899 | 1 hunks, 1 lines changed |
|
868 |
examine changes to 'subdir/f1'? |
|
|
900 | examine changes to 'subdir/f1'? | |
|
901 | (enter ? for help) [Ynesfdaq?] y | |
|
869 | 902 | |
|
870 | 903 | @@ -1,1 +1,2 @@ |
|
871 | 904 | a |
|
872 | 905 | +a |
|
873 |
record |
|
|
906 | record change 1/2 to 'subdir/f1'? | |
|
907 | (enter ? for help) [Ynesfdaq?] n | |
|
874 | 908 | |
|
875 | 909 |
diff --git |
|
876 | 910 | 1 hunks, 1 lines changed |
|
877 |
examine changes to 'subdir/f2'? |
|
|
911 | examine changes to 'subdir/f2'? | |
|
912 | (enter ? for help) [Ynesfdaq?] y | |
|
878 | 913 | |
|
879 | 914 | @@ -1,1 +1,2 @@ |
|
880 | 915 | b |
|
881 | 916 | +b |
|
882 |
record |
|
|
917 | record change 2/2 to 'subdir/f2'? | |
|
918 | (enter ? for help) [Ynesfdaq?] n | |
|
883 | 919 | |
|
884 | 920 |
no |
|
885 | 921 | [1] |
@@ -936,11 +972,13 b' Skip' | |||
|
936 | 972 | > EOF |
|
937 | 973 | diff --git a/subdir/f1 b/subdir/f1 |
|
938 | 974 | 1 hunks, 1 lines changed |
|
939 |
examine changes to 'subdir/f1'? |
|
|
975 | examine changes to 'subdir/f1'? | |
|
976 | (enter ? for help) [Ynesfdaq?] s | |
|
940 | 977 | |
|
941 | 978 |
diff --git |
|
942 | 979 | 1 hunks, 1 lines changed |
|
943 |
examine changes to 'subdir/f2'? |
|
|
980 | examine changes to 'subdir/f2'? | |
|
981 | (enter ? for help) [Ynesfdaq?] abort: response expected | |
|
944 | 982 | [255] |
|
945 | 983 | |
|
946 | 984 | No |
@@ -950,11 +988,13 b' No' | |||
|
950 | 988 | > EOF |
|
951 | 989 | diff --git a/subdir/f1 b/subdir/f1 |
|
952 | 990 | 1 hunks, 1 lines changed |
|
953 |
examine changes to 'subdir/f1'? |
|
|
991 | examine changes to 'subdir/f1'? | |
|
992 | (enter ? for help) [Ynesfdaq?] n | |
|
954 | 993 | |
|
955 | 994 |
diff --git |
|
956 | 995 | 1 hunks, 1 lines changed |
|
957 |
examine changes to 'subdir/f2'? |
|
|
996 | examine changes to 'subdir/f2'? | |
|
997 | (enter ? for help) [Ynesfdaq?] abort: response expected | |
|
958 | 998 | [255] |
|
959 | 999 | |
|
960 | 1000 | f, quit |
@@ -965,11 +1005,13 b' f, quit' | |||
|
965 | 1005 | > EOF |
|
966 | 1006 | diff --git a/subdir/f1 b/subdir/f1 |
|
967 | 1007 | 1 hunks, 1 lines changed |
|
968 |
examine changes to 'subdir/f1'? |
|
|
1008 | examine changes to 'subdir/f1'? | |
|
1009 | (enter ? for help) [Ynesfdaq?] f | |
|
969 | 1010 | |
|
970 | 1011 |
diff --git |
|
971 | 1012 | 1 hunks, 1 lines changed |
|
972 |
examine changes to 'subdir/f2'? |
|
|
1013 | examine changes to 'subdir/f2'? | |
|
1014 | (enter ? for help) [Ynesfdaq?] q | |
|
973 | 1015 | |
|
974 | 1016 |
abort: |
|
975 | 1017 | [255] |
@@ -982,11 +1024,13 b' s, all' | |||
|
982 | 1024 | > EOF |
|
983 | 1025 | diff --git a/subdir/f1 b/subdir/f1 |
|
984 | 1026 | 1 hunks, 1 lines changed |
|
985 |
examine changes to 'subdir/f1'? |
|
|
1027 | examine changes to 'subdir/f1'? | |
|
1028 | (enter ? for help) [Ynesfdaq?] s | |
|
986 | 1029 | |
|
987 | 1030 |
diff --git |
|
988 | 1031 | 1 hunks, 1 lines changed |
|
989 |
examine changes to 'subdir/f2'? |
|
|
1032 | examine changes to 'subdir/f2'? | |
|
1033 | (enter ? for help) [Ynesfdaq?] a | |
|
990 | 1034 | |
|
991 | 1035 | |
|
992 | 1036 |
$ hg |
@@ -1011,7 +1055,8 b' f' | |||
|
1011 | 1055 | > EOF |
|
1012 | 1056 | diff --git a/subdir/f1 b/subdir/f1 |
|
1013 | 1057 | 1 hunks, 1 lines changed |
|
1014 |
examine changes to 'subdir/f1'? |
|
|
1058 | examine changes to 'subdir/f1'? | |
|
1059 | (enter ? for help) [Ynesfdaq?] f | |
|
1015 | 1060 | |
|
1016 | 1061 | |
|
1017 | 1062 |
$ hg |
@@ -1044,13 +1089,15 b' Preserve chmod +x' | |||
|
1044 | 1089 | old mode 100644 |
|
1045 | 1090 | new mode 100755 |
|
1046 | 1091 | 1 hunks, 1 lines changed |
|
1047 |
examine changes to 'subdir/f1'? |
|
|
1092 | examine changes to 'subdir/f1'? | |
|
1093 | (enter ? for help) [Ynesfdaq?] y | |
|
1048 | 1094 | |
|
1049 | 1095 | @@ -1,2 +1,3 @@ |
|
1050 | 1096 | a |
|
1051 | 1097 | a |
|
1052 | 1098 | +a |
|
1053 |
|
|
|
1099 | record this change to 'subdir/f1'? | |
|
1100 | (enter ? for help) [Ynesfdaq?] y | |
|
1054 | 1101 | |
|
1055 | 1102 | |
|
1056 | 1103 |
$ hg |
@@ -1081,14 +1128,16 b' Preserve execute permission on original' | |||
|
1081 | 1128 | > EOF |
|
1082 | 1129 | diff --git a/subdir/f1 b/subdir/f1 |
|
1083 | 1130 | 1 hunks, 1 lines changed |
|
1084 |
examine changes to 'subdir/f1'? |
|
|
1131 | examine changes to 'subdir/f1'? | |
|
1132 | (enter ? for help) [Ynesfdaq?] y | |
|
1085 | 1133 | |
|
1086 | 1134 | @@ -1,3 +1,4 @@ |
|
1087 | 1135 | a |
|
1088 | 1136 | a |
|
1089 | 1137 |
|
|
1090 | 1138 | +b |
|
1091 |
record this change to 'subdir/f1'? |
|
|
1139 | record this change to 'subdir/f1'? | |
|
1140 | (enter ? for help) [Ynesfdaq?] y | |
|
1092 | 1141 | |
|
1093 | 1142 | |
|
1094 | 1143 |
$ hg |
@@ -1121,14 +1170,16 b' Preserve chmod -x' | |||
|
1121 | 1170 | old mode 100755 |
|
1122 | 1171 | new mode 100644 |
|
1123 | 1172 | 1 hunks, 1 lines changed |
|
1124 |
examine changes to 'subdir/f1'? |
|
|
1173 | examine changes to 'subdir/f1'? | |
|
1174 | (enter ? for help) [Ynesfdaq?] y | |
|
1125 | 1175 | |
|
1126 | 1176 | @@ -2,3 +2,4 @@ a |
|
1127 | 1177 | a |
|
1128 | 1178 |
|
|
1129 | 1179 | b |
|
1130 | 1180 | +c |
|
1131 |
record this change to 'subdir/f1'? |
|
|
1181 | record this change to 'subdir/f1'? | |
|
1182 | (enter ? for help) [Ynesfdaq?] y | |
|
1132 | 1183 | |
|
1133 | 1184 | |
|
1134 | 1185 |
$ hg |
@@ -1323,7 +1374,8 b' Editing patch (and ignoring trailing tex' | |||
|
1323 | 1374 | > EOF |
|
1324 | 1375 | diff --git a/editedfile b/editedfile |
|
1325 | 1376 | 1 hunks, 2 lines changed |
|
1326 |
examine changes to 'editedfile'? |
|
|
1377 | examine changes to 'editedfile'? | |
|
1378 | (enter ? for help) [Ynesfdaq?] y | |
|
1327 | 1379 | |
|
1328 | 1380 | @@ -1,3 +1,3 @@ |
|
1329 | 1381 |
-This is |
@@ -1331,7 +1383,8 b' Editing patch (and ignoring trailing tex' | |||
|
1331 | 1383 | +This line has changed |
|
1332 | 1384 | +This change will be committed |
|
1333 | 1385 | This is the third line |
|
1334 |
record this change to 'editedfile'? |
|
|
1386 | record this change to 'editedfile'? | |
|
1387 | (enter ? for help) [Ynesfdaq?] e | |
|
1335 | 1388 | |
|
1336 | 1389 |
$ cat |
|
1337 | 1390 | This line has changed |
@@ -1352,10 +1405,12 b' Trying to edit patch for whole file' | |||
|
1352 | 1405 | > EOF |
|
1353 | 1406 | diff --git a/editedfile b/editedfile |
|
1354 | 1407 | 1 hunks, 1 lines changed |
|
1355 |
examine changes to 'editedfile'? |
|
|
1408 | examine changes to 'editedfile'? | |
|
1409 | (enter ? for help) [Ynesfdaq?] e | |
|
1356 | 1410 | |
|
1357 | 1411 |
cannot |
|
1358 |
examine changes to 'editedfile'? |
|
|
1412 | examine changes to 'editedfile'? | |
|
1413 | (enter ? for help) [Ynesfdaq?] q | |
|
1359 | 1414 | |
|
1360 | 1415 |
abort: |
|
1361 | 1416 | [255] |
@@ -1376,7 +1431,8 b' Removing changes from patch' | |||
|
1376 | 1431 | > EOF |
|
1377 | 1432 | diff --git a/editedfile b/editedfile |
|
1378 | 1433 | 1 hunks, 3 lines changed |
|
1379 |
examine changes to 'editedfile'? |
|
|
1434 | examine changes to 'editedfile'? | |
|
1435 | (enter ? for help) [Ynesfdaq?] y | |
|
1380 | 1436 | |
|
1381 | 1437 | @@ -1,3 +1,3 @@ |
|
1382 | 1438 |
-This is |
@@ -1385,7 +1441,8 b' Removing changes from patch' | |||
|
1385 | 1441 | +This change will not be committed |
|
1386 | 1442 | +This is the second line |
|
1387 | 1443 | +This line has been added |
|
1388 |
record this change to 'editedfile'? |
|
|
1444 | record this change to 'editedfile'? | |
|
1445 | (enter ? for help) [Ynesfdaq?] e | |
|
1389 | 1446 | |
|
1390 | 1447 |
no |
|
1391 | 1448 | [1] |
@@ -1414,7 +1471,8 b' Invalid patch' | |||
|
1414 | 1471 | > EOF |
|
1415 | 1472 | diff --git a/editedfile b/editedfile |
|
1416 | 1473 | 1 hunks, 3 lines changed |
|
1417 |
examine changes to 'editedfile'? |
|
|
1474 | examine changes to 'editedfile'? | |
|
1475 | (enter ? for help) [Ynesfdaq?] y | |
|
1418 | 1476 | |
|
1419 | 1477 | @@ -1,3 +1,3 @@ |
|
1420 | 1478 |
-This is |
@@ -1423,7 +1481,8 b' Invalid patch' | |||
|
1423 | 1481 | +This change will not be committed |
|
1424 | 1482 | +This is the second line |
|
1425 | 1483 | +This line has been added |
|
1426 |
record this change to 'editedfile'? |
|
|
1484 | record this change to 'editedfile'? | |
|
1485 | (enter ? for help) [Ynesfdaq?] e | |
|
1427 | 1486 | |
|
1428 | 1487 |
patching |
|
1429 | 1488 | Hunk #1 FAILED at 0 |
@@ -1461,7 +1520,8 b' Malformed patch - error handling' | |||
|
1461 | 1520 | > EOF |
|
1462 | 1521 | diff --git a/editedfile b/editedfile |
|
1463 | 1522 | 1 hunks, 3 lines changed |
|
1464 |
examine changes to 'editedfile'? |
|
|
1523 | examine changes to 'editedfile'? | |
|
1524 | (enter ? for help) [Ynesfdaq?] y | |
|
1465 | 1525 | |
|
1466 | 1526 | @@ -1,3 +1,3 @@ |
|
1467 | 1527 |
-This is |
@@ -1470,7 +1530,8 b' Malformed patch - error handling' | |||
|
1470 | 1530 | +This change will not be committed |
|
1471 | 1531 | +This is the second line |
|
1472 | 1532 | +This line has been added |
|
1473 |
record this change to 'editedfile'? |
|
|
1533 | record this change to 'editedfile'? | |
|
1534 | (enter ? for help) [Ynesfdaq?] e | |
|
1474 | 1535 | |
|
1475 | 1536 |
abort: |
|
1476 | 1537 | [255] |
@@ -1485,7 +1546,8 b' session' | |||
|
1485 | 1546 | > EOF |
|
1486 | 1547 | diff --git a/editedfile b/editedfile |
|
1487 | 1548 | 1 hunks, 3 lines changed |
|
1488 |
examine changes to 'editedfile'? |
|
|
1549 | examine changes to 'editedfile'? | |
|
1550 | (enter ? for help) [Ynesfdaq?] y | |
|
1489 | 1551 | |
|
1490 | 1552 | @@ -1,3 +1,3 @@ |
|
1491 | 1553 |
-This is |
@@ -1494,10 +1556,12 b' session' | |||
|
1494 | 1556 | +This change will not be committed |
|
1495 | 1557 | +This is the second line |
|
1496 | 1558 | +This line has been added |
|
1497 |
record this change to 'editedfile'? |
|
|
1559 | record this change to 'editedfile'? | |
|
1560 | (enter ? for help) [Ynesfdaq?] e | |
|
1498 | 1561 | |
|
1499 | 1562 |
editor |
|
1500 |
record this change to 'editedfile'? |
|
|
1563 | record this change to 'editedfile'? | |
|
1564 | (enter ? for help) [Ynesfdaq?] n | |
|
1501 | 1565 | |
|
1502 | 1566 |
no |
|
1503 | 1567 | [1] |
@@ -1516,7 +1580,8 b' random text in random positions is still' | |||
|
1516 | 1580 | > EOF |
|
1517 | 1581 | diff --git a/editedfile b/editedfile |
|
1518 | 1582 | 1 hunks, 3 lines changed |
|
1519 |
examine changes to 'editedfile'? |
|
|
1583 | examine changes to 'editedfile'? | |
|
1584 | (enter ? for help) [Ynesfdaq?] y | |
|
1520 | 1585 | |
|
1521 | 1586 | @@ -1,3 +1,3 @@ |
|
1522 | 1587 |
-This is |
@@ -1525,7 +1590,8 b' random text in random positions is still' | |||
|
1525 | 1590 | +This change will not be committed |
|
1526 | 1591 | +This is the second line |
|
1527 | 1592 | +This line has been added |
|
1528 |
record this change to 'editedfile'? |
|
|
1593 | record this change to 'editedfile'? | |
|
1594 | (enter ? for help) [Ynesfdaq?] e | |
|
1529 | 1595 | |
|
1530 | 1596 |
abort: |
|
1531 | 1597 | [255] |
@@ -1556,14 +1622,16 b' Ignore win32text deprecation warning for' | |||
|
1556 | 1622 | > EOF |
|
1557 | 1623 | diff --git a/subdir/f1 b/subdir/f1 |
|
1558 | 1624 | 1 hunks, 1 lines changed |
|
1559 |
examine changes to 'subdir/f1'? |
|
|
1625 | examine changes to 'subdir/f1'? | |
|
1626 | (enter ? for help) [Ynesfdaq?] y | |
|
1560 | 1627 | |
|
1561 | 1628 | @@ -3,3 +3,4 @@ a |
|
1562 | 1629 | a |
|
1563 | 1630 |
|
|
1564 | 1631 | c |
|
1565 | 1632 | +d |
|
1566 |
record this change to 'subdir/f1'? |
|
|
1633 | record this change to 'subdir/f1'? | |
|
1634 | (enter ? for help) [Ynesfdaq?] y | |
|
1567 | 1635 | |
|
1568 | 1636 | |
|
1569 | 1637 |
$ hg |
@@ -1595,14 +1663,16 b' Test --user when ui.username not set' | |||
|
1595 | 1663 | > EOF |
|
1596 | 1664 | diff --git a/subdir/f1 b/subdir/f1 |
|
1597 | 1665 | 1 hunks, 1 lines changed |
|
1598 |
examine changes to 'subdir/f1'? |
|
|
1666 | examine changes to 'subdir/f1'? | |
|
1667 | (enter ? for help) [Ynesfdaq?] y | |
|
1599 | 1668 | |
|
1600 | 1669 | @@ -4,3 +4,4 @@ a |
|
1601 | 1670 | b |
|
1602 | 1671 |
|
|
1603 | 1672 | d |
|
1604 | 1673 | +e |
|
1605 |
record this change to 'subdir/f1'? |
|
|
1674 | record this change to 'subdir/f1'? | |
|
1675 | (enter ? for help) [Ynesfdaq?] y | |
|
1606 | 1676 | |
|
1607 | 1677 |
$ hg |
|
1608 | 1678 | C subdir/f1 |
@@ -1626,14 +1696,16 b' Moving files' | |||
|
1626 | 1696 | rename from plain |
|
1627 | 1697 | rename to plain3 |
|
1628 | 1698 | 1 hunks, 1 lines changed |
|
1629 |
examine changes to 'plain' and 'plain3'? |
|
|
1699 | examine changes to 'plain' and 'plain3'? | |
|
1700 | (enter ? for help) [Ynesfdaq?] y | |
|
1630 | 1701 | |
|
1631 | 1702 | @@ -11,3 +11,4 @@ 8 |
|
1632 | 1703 | 9 |
|
1633 | 1704 | 10 |
|
1634 | 1705 | 11 |
|
1635 | 1706 | +somechange |
|
1636 |
record this change to 'plain3'? |
|
|
1707 | record this change to 'plain3'? | |
|
1708 | (enter ? for help) [Ynesfdaq?] y | |
|
1637 | 1709 | |
|
1638 | 1710 | The #if execbit block above changes the hash here on some systems |
|
1639 | 1711 | $ hg status -A plain3 |
@@ -1665,13 +1737,15 b' Editing patch of newly added file' | |||
|
1665 | 1737 | > EOF |
|
1666 | 1738 | diff --git a/newfile b/newfile |
|
1667 | 1739 | new file mode 100644 |
|
1668 |
examine changes to 'newfile'? |
|
|
1740 | examine changes to 'newfile'? | |
|
1741 | (enter ? for help) [Ynesfdaq?] y | |
|
1669 | 1742 | |
|
1670 | 1743 | @@ -0,0 +1,3 @@ |
|
1671 | 1744 | +This is the first line |
|
1672 | 1745 | +This is the second line |
|
1673 | 1746 | +This is the third line |
|
1674 |
record this change to 'newfile'? |
|
|
1747 | record this change to 'newfile'? | |
|
1748 | (enter ? for help) [Ynesfdaq?] e | |
|
1675 | 1749 | |
|
1676 | 1750 | $ hg cat -r tip newfile |
|
1677 | 1751 | This is the very line |
@@ -1696,11 +1770,13 b' Add new file from within a subdirectory' | |||
|
1696 | 1770 | > EOF |
|
1697 | 1771 | diff --git a/folder/bar b/folder/bar |
|
1698 | 1772 | new file mode 100644 |
|
1699 |
examine changes to 'folder/bar'? |
|
|
1773 | examine changes to 'folder/bar'? | |
|
1774 | (enter ? for help) [Ynesfdaq?] y | |
|
1700 | 1775 | |
|
1701 | 1776 | @@ -0,0 +1,1 @@ |
|
1702 | 1777 | +foo |
|
1703 |
record this change to 'folder/bar'? |
|
|
1778 | record this change to 'folder/bar'? | |
|
1779 | (enter ? for help) [Ynesfdaq?] y | |
|
1704 | 1780 | |
|
1705 | 1781 | The #if execbit block above changes the hashes here on some systems |
|
1706 | 1782 | $ hg tip -p |
@@ -1781,7 +1857,8 b' even if none of mode, size and timestamp' | |||
|
1781 | 1857 | > EOF |
|
1782 | 1858 | diff --git a/subdir/f1 b/subdir/f1 |
|
1783 | 1859 | 2 hunks, 2 lines changed |
|
1784 |
examine changes to 'subdir/f1'? |
|
|
1860 | examine changes to 'subdir/f1'? | |
|
1861 | (enter ? for help) [Ynesfdaq?] y | |
|
1785 | 1862 | |
|
1786 | 1863 | @@ -1,6 +1,6 @@ |
|
1787 | 1864 | -a |
@@ -1791,7 +1868,8 b' even if none of mode, size and timestamp' | |||
|
1791 | 1868 | b |
|
1792 | 1869 | c |
|
1793 | 1870 | d |
|
1794 |
record change 1/2 to 'subdir/f1'? |
|
|
1871 | record change 1/2 to 'subdir/f1'? | |
|
1872 | (enter ? for help) [Ynesfdaq?] y | |
|
1795 | 1873 | |
|
1796 | 1874 | @@ -2,6 +2,6 @@ |
|
1797 | 1875 | a |
@@ -1801,7 +1879,8 b' even if none of mode, size and timestamp' | |||
|
1801 | 1879 | d |
|
1802 | 1880 | -e |
|
1803 | 1881 | +E |
|
1804 |
record change 2/2 to 'subdir/f1'? |
|
|
1882 | record change 2/2 to 'subdir/f1'? | |
|
1883 | (enter ? for help) [Ynesfdaq?] n | |
|
1805 | 1884 | |
|
1806 | 1885 | $ cat >> .hg/hgrc <<EOF |
|
1807 | 1886 | > [extensions] |
@@ -1837,15 +1916,18 b' Test commands.commit.interactive.unified' | |||
|
1837 | 1916 | $ printf 'y\ny\ny\n' | hg ci -im initial --config commands.commit.interactive.unified=0 |
|
1838 | 1917 | diff --git a/foo b/foo |
|
1839 | 1918 | 2 hunks, 2 lines changed |
|
1840 |
examine changes to 'foo'? |
|
|
1919 | examine changes to 'foo'? | |
|
1920 | (enter ? for help) [Ynesfdaq?] y | |
|
1841 | 1921 | |
|
1842 | 1922 | @@ -1,0 +2,1 @@ 1 |
|
1843 | 1923 | +change1 |
|
1844 |
record change 1/2 to 'foo'? |
|
|
1924 | record change 1/2 to 'foo'? | |
|
1925 | (enter ? for help) [Ynesfdaq?] y | |
|
1845 | 1926 | |
|
1846 | 1927 | @@ -3,0 +5,1 @@ 3 |
|
1847 | 1928 | +change2 |
|
1848 |
record change 2/2 to 'foo'? |
|
|
1929 | record change 2/2 to 'foo'? | |
|
1930 | (enter ? for help) [Ynesfdaq?] y | |
|
1849 | 1931 | |
|
1850 | 1932 | $ cd $TESTTMP |
|
1851 | 1933 | |
@@ -1873,14 +1955,16 b' Test diff.ignoreblanklines=1' | |||
|
1873 | 1955 | $ printf 'y\ny\ny\n' | hg ci -im initial --config diff.ignoreblanklines=1 |
|
1874 | 1956 | diff --git a/foo b/foo |
|
1875 | 1957 | 2 hunks, 2 lines changed |
|
1876 |
examine changes to 'foo'? |
|
|
1958 | examine changes to 'foo'? | |
|
1959 | (enter ? for help) [Ynesfdaq?] y | |
|
1877 | 1960 | |
|
1878 | 1961 | @@ -1,3 +1,4 @@ |
|
1879 | 1962 | 1 |
|
1880 | 1963 | + |
|
1881 | 1964 | 2 |
|
1882 | 1965 | 3 |
|
1883 |
record change 1/2 to 'foo'? |
|
|
1966 | record change 1/2 to 'foo'? | |
|
1967 | (enter ? for help) [Ynesfdaq?] y | |
|
1884 | 1968 | |
|
1885 | 1969 | @@ -2,4 +3,5 @@ |
|
1886 | 1970 | 2 |
@@ -1888,6 +1972,7 b' Test diff.ignoreblanklines=1' | |||
|
1888 | 1972 | +change2 |
|
1889 | 1973 | 4 |
|
1890 | 1974 | 5 |
|
1891 |
record change 2/2 to 'foo'? |
|
|
1975 | record change 2/2 to 'foo'? | |
|
1976 | (enter ? for help) [Ynesfdaq?] y | |
|
1892 | 1977 | |
|
1893 | 1978 |
@@ -171,7 +171,8 b' record' | |||
|
171 | 171 | a |
|
172 | 172 | a |
|
173 | 173 | c |
|
174 |
\x1b[0;33mrecord this change to 'a'? |
|
|
174 | \x1b[0;33mrecord this change to 'a'?\x1b[0m (esc) | |
|
175 | \x1b[0;33m(enter ? for help) [Ynesfdaq?]\x1b[0m y (esc) | |
|
175 | 176 | |
|
176 | 177 | |
|
177 | 178 |
$ |
@@ -190,7 +191,8 b' qrecord' | |||
|
190 | 191 | \x1b[0;36;1mold mode 100644\x1b[0m (esc) |
|
191 | 192 | \x1b[0;36;1mnew mode 100755\x1b[0m (esc) |
|
192 | 193 | 1 hunks, 1 lines changed |
|
193 |
\x1b[0;33mexamine changes to 'a'? |
|
|
194 | \x1b[0;33mexamine changes to 'a'?\x1b[0m (esc) | |
|
195 | \x1b[0;33m(enter ? for help) [Ynesfdaq?]\x1b[0m y (esc) | |
|
194 | 196 | |
|
195 | 197 | \x1b[0;35m@@ -2,7 +2,7 @@ c\x1b[0m (esc) |
|
196 | 198 | c |
@@ -201,7 +203,8 b' qrecord' | |||
|
201 | 203 | a |
|
202 | 204 | a |
|
203 | 205 | c |
|
204 |
\x1b[0;33mrecord this change to 'a'? |
|
|
206 | \x1b[0;33mrecord this change to 'a'?\x1b[0m (esc) | |
|
207 | \x1b[0;33m(enter ? for help) [Ynesfdaq?]\x1b[0m y (esc) | |
|
205 | 208 | |
|
206 | 209 | |
|
207 | 210 |
$ |
@@ -47,15 +47,18 b' editor for a diff, the file ends in .dif' | |||
|
47 | 47 | > EOF |
|
48 | 48 | diff --git a/one b/one |
|
49 | 49 | new file mode 100644 |
|
50 |
examine changes to 'one'? |
|
|
50 | examine changes to 'one'? | |
|
51 | (enter ? for help) [Ynesfdaq?] y | |
|
51 | 52 | |
|
52 | 53 | @@ -0,0 +1,1 @@ |
|
53 | 54 | +1 |
|
54 |
record change 1/2 to 'one'? |
|
|
55 | record change 1/2 to 'one'? | |
|
56 | (enter ? for help) [Ynesfdaq?] e | |
|
55 | 57 | |
|
56 | 58 | *.diff (glob) |
|
57 | 59 | editor exited with exit code 1 |
|
58 |
record change 1/2 to 'one'? |
|
|
60 | record change 1/2 to 'one'? | |
|
61 | (enter ? for help) [Ynesfdaq?] q | |
|
59 | 62 | |
|
60 | 63 | abort: user quit |
|
61 | 64 | [255] |
@@ -392,13 +392,15 b' record chunk' | |||
|
392 | 392 | +foo |
|
393 | 393 | do not process $Id: |
|
394 | 394 | xxx $ |
|
395 |
record change 1/2 to 'a'? |
|
|
395 | record change 1/2 to 'a'? | |
|
396 | (enter ? for help) [Ynesfdaq?] y | |
|
396 | 397 | |
|
397 | 398 | @@ -2,2 +3,3 @@ |
|
398 | 399 |
do not |
|
399 | 400 | xxx $ |
|
400 | 401 | +bar |
|
401 |
record change 2/2 to 'a'? |
|
|
402 | record change 2/2 to 'a'? | |
|
403 | (enter ? for help) [Ynesfdaq?] n | |
|
402 | 404 | |
|
403 | 405 | |
|
404 | 406 |
$ hg |
@@ -450,13 +452,15 b' Record all chunks in file a' | |||
|
450 | 452 | +foo |
|
451 | 453 | do not process $Id: |
|
452 | 454 | xxx $ |
|
453 |
record change 1/2 to 'a'? |
|
|
455 | record change 1/2 to 'a'? | |
|
456 | (enter ? for help) [Ynesfdaq?] y | |
|
454 | 457 | |
|
455 | 458 | @@ -2,2 +3,3 @@ |
|
456 | 459 |
do not |
|
457 | 460 | xxx $ |
|
458 | 461 | +bar |
|
459 |
record change 2/2 to 'a'? |
|
|
462 | record change 2/2 to 'a'? | |
|
463 | (enter ? for help) [Ynesfdaq?] y | |
|
460 | 464 | |
|
461 | 465 | |
|
462 | 466 |
File |
@@ -516,7 +520,8 b' record added file alone' | |||
|
516 | 520 | new file mode 100644 |
|
517 | 521 | @@ -0,0 +1,1 @@ |
|
518 | 522 | +$Id$ |
|
519 |
record this change to 'r'? |
|
|
523 | record this change to 'r'? | |
|
524 | (enter ? for help) [Ynesfdaq?] y | |
|
520 | 525 | |
|
521 | 526 |
resolving |
|
522 | 527 | patching file r |
@@ -546,11 +551,13 b' record added keyword ignored file' | |||
|
546 | 551 | > EOF |
|
547 | 552 | diff --git a/i b/i |
|
548 | 553 | new file mode 100644 |
|
549 |
examine changes to 'i'? |
|
|
554 | examine changes to 'i'? | |
|
555 | (enter ? for help) [Ynesfdaq?] y | |
|
550 | 556 | |
|
551 | 557 | @@ -0,0 +1,1 @@ |
|
552 | 558 | +$Id$ |
|
553 |
|
|
|
559 | record this change to 'i'? | |
|
560 | (enter ? for help) [Ynesfdaq?] y | |
|
554 | 561 | |
|
555 | 562 |
resolving |
|
556 | 563 | patching file i |
@@ -190,25 +190,29 b' partial qrefresh' | |||
|
190 | 190 | > EOF |
|
191 | 191 | diff --git a/1.txt b/1.txt |
|
192 | 192 | 2 hunks, 2 lines changed |
|
193 |
examine changes to '1.txt'? |
|
|
193 | examine changes to '1.txt'? | |
|
194 | (enter ? for help) [Ynesfdaq?] y | |
|
194 | 195 | |
|
195 | 196 | @@ -1,3 +1,3 @@ |
|
196 | 197 | 1 |
|
197 | 198 | -2 |
|
198 | 199 | +2 2 |
|
199 | 200 | 3 |
|
200 |
record change 1/4 to '1.txt'? |
|
|
201 | record change 1/4 to '1.txt'? | |
|
202 | (enter ? for help) [Ynesfdaq?] y | |
|
201 | 203 | |
|
202 | 204 | @@ -3,3 +3,3 @@ |
|
203 | 205 | 3 |
|
204 | 206 | -4 |
|
205 | 207 | +4 4 |
|
206 | 208 | 5 |
|
207 |
record change 2/4 to '1.txt'? |
|
|
209 | record change 2/4 to '1.txt'? | |
|
210 | (enter ? for help) [Ynesfdaq?] n | |
|
208 | 211 | |
|
209 | 212 | diff --git a/2.txt b/2.txt |
|
210 | 213 | 1 hunks, 1 lines changed |
|
211 |
examine changes to '2.txt'? |
|
|
214 | examine changes to '2.txt'? | |
|
215 | (enter ? for help) [Ynesfdaq?] y | |
|
212 | 216 | |
|
213 | 217 | @@ -1,5 +1,5 @@ |
|
214 | 218 | a |
@@ -217,11 +221,13 b' partial qrefresh' | |||
|
217 | 221 | c |
|
218 | 222 | d |
|
219 | 223 | e |
|
220 |
record change 3/4 to '2.txt'? |
|
|
224 | record change 3/4 to '2.txt'? | |
|
225 | (enter ? for help) [Ynesfdaq?] y | |
|
221 | 226 | |
|
222 | 227 | diff --git a/dir/a.txt b/dir/a.txt |
|
223 | 228 | 1 hunks, 1 lines changed |
|
224 |
examine changes to 'dir/a.txt'? |
|
|
229 | examine changes to 'dir/a.txt'? | |
|
230 | (enter ? for help) [Ynesfdaq?] n | |
|
225 | 231 | |
|
226 | 232 | |
|
227 | 233 | After partial qrefresh 'tip' |
@@ -290,7 +296,8 b' qrefresh interactively everything else' | |||
|
290 | 296 | > EOF |
|
291 | 297 | diff --git a/1.txt b/1.txt |
|
292 | 298 | 1 hunks, 1 lines changed |
|
293 |
examine changes to '1.txt'? |
|
|
299 | examine changes to '1.txt'? | |
|
300 | (enter ? for help) [Ynesfdaq?] y | |
|
294 | 301 | |
|
295 | 302 | @@ -1,5 +1,5 @@ |
|
296 | 303 | 1 |
@@ -299,11 +306,13 b' qrefresh interactively everything else' | |||
|
299 | 306 | -4 |
|
300 | 307 | +4 4 |
|
301 | 308 | 5 |
|
302 |
record change 1/2 to '1.txt'? |
|
|
309 | record change 1/2 to '1.txt'? | |
|
310 | (enter ? for help) [Ynesfdaq?] y | |
|
303 | 311 | |
|
304 | 312 | diff --git a/dir/a.txt b/dir/a.txt |
|
305 | 313 | 1 hunks, 1 lines changed |
|
306 |
examine changes to 'dir/a.txt'? |
|
|
314 | examine changes to 'dir/a.txt'? | |
|
315 | (enter ? for help) [Ynesfdaq?] y | |
|
307 | 316 | |
|
308 | 317 | @@ -1,4 +1,4 @@ |
|
309 | 318 | -hello world |
@@ -311,7 +320,8 b' qrefresh interactively everything else' | |||
|
311 | 320 | |
|
312 | 321 | someone |
|
313 | 322 | up |
|
314 |
record change 2/2 to 'dir/a.txt'? |
|
|
323 | record change 2/2 to 'dir/a.txt'? | |
|
324 | (enter ? for help) [Ynesfdaq?] y | |
|
315 | 325 | |
|
316 | 326 | |
|
317 | 327 | After final qrefresh 'tip' |
@@ -303,11 +303,13 b' handle subrepos safely on qrecord' | |||
|
303 | 303 | % qrecord --config ui.interactive=1 -m0 0.diff |
|
304 | 304 | diff --git a/.hgsub b/.hgsub |
|
305 | 305 | new file mode 100644 |
|
306 |
examine changes to '.hgsub'? |
|
|
306 | examine changes to '.hgsub'? | |
|
307 | (enter ? for help) [Ynesfdaq?] y | |
|
307 | 308 | |
|
308 | 309 | @@ -0,0 +1,1 @@ |
|
309 | 310 | +sub = sub |
|
310 |
record this change to '.hgsub'? |
|
|
311 | record this change to '.hgsub'? | |
|
312 | (enter ? for help) [Ynesfdaq?] y | |
|
311 | 313 | |
|
312 | 314 | warning: subrepo spec file '.hgsub' not found |
|
313 | 315 | warning: subrepo spec file '.hgsub' not found |
@@ -331,12 +333,14 b' handle subrepos safely on qrecord' | |||
|
331 | 333 | % qrecord --config ui.interactive=1 -m1 1.diff |
|
332 | 334 | diff --git a/.hgsub b/.hgsub |
|
333 | 335 | 1 hunks, 1 lines changed |
|
334 |
examine changes to '.hgsub'? |
|
|
336 | examine changes to '.hgsub'? | |
|
337 | (enter ? for help) [Ynesfdaq?] y | |
|
335 | 338 | |
|
336 | 339 | @@ -1,1 +1,2 @@ |
|
337 | 340 | sub = sub |
|
338 | 341 | +sub2 = sub2 |
|
339 |
record this change to '.hgsub'? |
|
|
342 | record this change to '.hgsub'? | |
|
343 | (enter ? for help) [Ynesfdaq?] y | |
|
340 | 344 | |
|
341 | 345 | path sub |
|
342 | 346 | source sub |
@@ -358,7 +362,8 b' handle subrepos safely on qrecord' | |||
|
358 | 362 | % qrecord --config ui.interactive=1 -m2 2.diff |
|
359 | 363 | diff --git a/.hgsub b/.hgsub |
|
360 | 364 | deleted file mode 100644 |
|
361 |
examine changes to '.hgsub'? |
|
|
365 | examine changes to '.hgsub'? | |
|
366 | (enter ? for help) [Ynesfdaq?] y | |
|
362 | 367 | |
|
363 | 368 | % debugsub should be empty |
|
364 | 369 | |
@@ -374,7 +379,8 b' handle subrepos safely on qrecord' | |||
|
374 | 379 | % qrecord --config ui.interactive=1 -m3 3.diff |
|
375 | 380 | diff --git a/.hgsub b/.hgsub |
|
376 | 381 | deleted file mode 100644 |
|
377 |
examine changes to '.hgsub'? |
|
|
382 | examine changes to '.hgsub'? | |
|
383 | (enter ? for help) [Ynesfdaq?] y | |
|
378 | 384 | |
|
379 | 385 | % debugsub should be empty |
|
380 | 386 |
@@ -260,25 +260,29 b' qrecord a.patch' | |||
|
260 | 260 | > EOF |
|
261 | 261 | diff --git a/1.txt b/1.txt |
|
262 | 262 | 2 hunks, 2 lines changed |
|
263 |
examine changes to '1.txt'? |
|
|
263 | examine changes to '1.txt'? | |
|
264 | (enter ? for help) [Ynesfdaq?] y | |
|
264 | 265 | |
|
265 | 266 | @@ -1,3 +1,3 @@ |
|
266 | 267 | 1 |
|
267 | 268 | -2 |
|
268 | 269 | +2 2 |
|
269 | 270 | 3 |
|
270 |
record change 1/4 to '1.txt'? |
|
|
271 | record change 1/4 to '1.txt'? | |
|
272 | (enter ? for help) [Ynesfdaq?] y | |
|
271 | 273 | |
|
272 | 274 | @@ -3,3 +3,3 @@ |
|
273 | 275 | 3 |
|
274 | 276 | -4 |
|
275 | 277 | +4 4 |
|
276 | 278 | 5 |
|
277 |
record change 2/4 to '1.txt'? |
|
|
279 | record change 2/4 to '1.txt'? | |
|
280 | (enter ? for help) [Ynesfdaq?] n | |
|
278 | 281 | |
|
279 | 282 | diff --git a/2.txt b/2.txt |
|
280 | 283 | 1 hunks, 1 lines changed |
|
281 |
examine changes to '2.txt'? |
|
|
284 | examine changes to '2.txt'? | |
|
285 | (enter ? for help) [Ynesfdaq?] y | |
|
282 | 286 | |
|
283 | 287 | @@ -1,5 +1,5 @@ |
|
284 | 288 | a |
@@ -287,11 +291,13 b' qrecord a.patch' | |||
|
287 | 291 | c |
|
288 | 292 | d |
|
289 | 293 | e |
|
290 |
record change 3/4 to '2.txt'? |
|
|
294 | record change 3/4 to '2.txt'? | |
|
295 | (enter ? for help) [Ynesfdaq?] y | |
|
291 | 296 | |
|
292 | 297 | diff --git a/dir/a.txt b/dir/a.txt |
|
293 | 298 | 1 hunks, 1 lines changed |
|
294 |
examine changes to 'dir/a.txt'? |
|
|
299 | examine changes to 'dir/a.txt'? | |
|
300 | (enter ? for help) [Ynesfdaq?] n | |
|
295 | 301 | |
|
296 | 302 | |
|
297 | 303 | After qrecord a.patch 'tip'" |
@@ -361,7 +367,8 b' qrecord b.patch' | |||
|
361 | 367 | > EOF |
|
362 | 368 | diff --git a/1.txt b/1.txt |
|
363 | 369 | 1 hunks, 1 lines changed |
|
364 |
examine changes to '1.txt'? |
|
|
370 | examine changes to '1.txt'? | |
|
371 | (enter ? for help) [Ynesfdaq?] y | |
|
365 | 372 | |
|
366 | 373 | @@ -1,5 +1,5 @@ |
|
367 | 374 | 1 |
@@ -370,11 +377,13 b' qrecord b.patch' | |||
|
370 | 377 | -4 |
|
371 | 378 | +4 4 |
|
372 | 379 | 5 |
|
373 |
record change 1/2 to '1.txt'? |
|
|
380 | record change 1/2 to '1.txt'? | |
|
381 | (enter ? for help) [Ynesfdaq?] y | |
|
374 | 382 | |
|
375 | 383 | diff --git a/dir/a.txt b/dir/a.txt |
|
376 | 384 | 1 hunks, 1 lines changed |
|
377 |
examine changes to 'dir/a.txt'? |
|
|
385 | examine changes to 'dir/a.txt'? | |
|
386 | (enter ? for help) [Ynesfdaq?] y | |
|
378 | 387 | |
|
379 | 388 | @@ -1,4 +1,4 @@ |
|
380 | 389 | -hello world |
@@ -382,7 +391,8 b' qrecord b.patch' | |||
|
382 | 391 | |
|
383 | 392 | someone |
|
384 | 393 | up |
|
385 |
record change 2/2 to 'dir/a.txt'? |
|
|
394 | record change 2/2 to 'dir/a.txt'? | |
|
395 | (enter ? for help) [Ynesfdaq?] y | |
|
386 | 396 | |
|
387 | 397 | |
|
388 | 398 | After qrecord b.patch 'tip' |
@@ -55,7 +55,8 b' 10 run the same test than 8 from within ' | |||
|
55 | 55 | removing folder1/i |
|
56 | 56 | diff --git a/f b/f |
|
57 | 57 | 2 hunks, 2 lines changed |
|
58 |
examine changes to 'f'? |
|
|
58 | examine changes to 'f'? | |
|
59 | (enter ? for help) [Ynesfdaq?] y | |
|
59 | 60 | |
|
60 | 61 | @@ -1,6 +1,5 @@ |
|
61 | 62 | -a |
@@ -64,7 +65,8 b' 10 run the same test than 8 from within ' | |||
|
64 | 65 | 3 |
|
65 | 66 | 4 |
|
66 | 67 | 5 |
|
67 |
apply change 1/6 to 'f'? |
|
|
68 | apply change 1/6 to 'f'? | |
|
69 | (enter ? for help) [Ynesfdaq?] y | |
|
68 | 70 | |
|
69 | 71 | @@ -2,6 +1,5 @@ |
|
70 | 72 | 1 |
@@ -73,11 +75,13 b' 10 run the same test than 8 from within ' | |||
|
73 | 75 | 4 |
|
74 | 76 | 5 |
|
75 | 77 | -b |
|
76 |
apply change 2/6 to 'f'? |
|
|
78 | apply change 2/6 to 'f'? | |
|
79 | (enter ? for help) [Ynesfdaq?] y | |
|
77 | 80 | |
|
78 | 81 | diff --git a/folder1/g b/folder1/g |
|
79 | 82 | 2 hunks, 2 lines changed |
|
80 |
examine changes to 'folder1/g'? |
|
|
83 | examine changes to 'folder1/g'? | |
|
84 | (enter ? for help) [Ynesfdaq?] y | |
|
81 | 85 | |
|
82 | 86 | @@ -1,6 +1,5 @@ |
|
83 | 87 | -c |
@@ -86,7 +90,8 b' 10 run the same test than 8 from within ' | |||
|
86 | 90 | 3 |
|
87 | 91 | 4 |
|
88 | 92 | 5 |
|
89 |
apply change 3/6 to 'folder1/g'? |
|
|
93 | apply change 3/6 to 'folder1/g'? | |
|
94 | (enter ? for help) [Ynesfdaq?] ? | |
|
90 | 95 | |
|
91 | 96 | y - yes, apply this change |
|
92 | 97 | n - no, skip this change |
@@ -97,7 +102,8 b' 10 run the same test than 8 from within ' | |||
|
97 | 102 | a - apply all changes to all remaining files |
|
98 | 103 | q - quit, applying no changes |
|
99 | 104 | ? - ? (display help) |
|
100 |
apply change 3/6 to 'folder1/g'? |
|
|
105 | apply change 3/6 to 'folder1/g'? | |
|
106 | (enter ? for help) [Ynesfdaq?] y | |
|
101 | 107 | |
|
102 | 108 | @@ -2,6 +1,5 @@ |
|
103 | 109 | 1 |
@@ -106,11 +112,13 b' 10 run the same test than 8 from within ' | |||
|
106 | 112 | 4 |
|
107 | 113 | 5 |
|
108 | 114 | -d |
|
109 |
apply change 4/6 to 'folder1/g'? |
|
|
115 | apply change 4/6 to 'folder1/g'? | |
|
116 | (enter ? for help) [Ynesfdaq?] n | |
|
110 | 117 | |
|
111 | 118 | diff --git a/folder2/h b/folder2/h |
|
112 | 119 | 2 hunks, 2 lines changed |
|
113 |
examine changes to 'folder2/h'? |
|
|
120 | examine changes to 'folder2/h'? | |
|
121 | (enter ? for help) [Ynesfdaq?] n | |
|
114 | 122 | |
|
115 | 123 | reverting f |
|
116 | 124 | reverting folder1/g |
@@ -141,7 +149,8 b' Test that --interactive lift the need fo' | |||
|
141 | 149 | $ echo q | hg revert -i -r 2 |
|
142 | 150 | diff --git a/folder1/g b/folder1/g |
|
143 | 151 | 1 hunks, 1 lines changed |
|
144 |
examine changes to 'folder1/g'? |
|
|
152 | examine changes to 'folder1/g'? | |
|
153 | (enter ? for help) [Ynesfdaq?] q | |
|
145 | 154 | |
|
146 | 155 | abort: user quit |
|
147 | 156 | [255] |
@@ -157,7 +166,8 b" Test that a noop revert doesn't do an un" | |||
|
157 | 166 | 4 |
|
158 | 167 | 5 |
|
159 | 168 | -d |
|
160 |
apply this change to 'folder1/g'? |
|
|
169 | apply this change to 'folder1/g'? | |
|
170 | (enter ? for help) [Ynesfdaq?] n | |
|
161 | 171 | |
|
162 | 172 | $ ls folder1/ |
|
163 | 173 | g |
@@ -171,7 +181,8 b' Test --no-backup' | |||
|
171 | 181 | 4 |
|
172 | 182 | 5 |
|
173 | 183 | -d |
|
174 |
apply this change to 'folder1/g'? |
|
|
184 | apply this change to 'folder1/g'? | |
|
185 | (enter ? for help) [Ynesfdaq?] y | |
|
175 | 186 | |
|
176 | 187 | $ ls folder1/ |
|
177 | 188 | g |
@@ -193,7 +204,8 b' Test --no-backup' | |||
|
193 | 204 | remove added file folder1/i (Yn)? n |
|
194 | 205 | diff --git a/f b/f |
|
195 | 206 | 2 hunks, 2 lines changed |
|
196 |
examine changes to 'f'? |
|
|
207 | examine changes to 'f'? | |
|
208 | (enter ? for help) [Ynesfdaq?] y | |
|
197 | 209 | |
|
198 | 210 | @@ -1,6 +1,5 @@ |
|
199 | 211 | -a |
@@ -202,7 +214,8 b' Test --no-backup' | |||
|
202 | 214 | 3 |
|
203 | 215 | 4 |
|
204 | 216 | 5 |
|
205 |
apply change 1/6 to 'f'? |
|
|
217 | apply change 1/6 to 'f'? | |
|
218 | (enter ? for help) [Ynesfdaq?] y | |
|
206 | 219 | |
|
207 | 220 | @@ -2,6 +1,5 @@ |
|
208 | 221 | 1 |
@@ -211,11 +224,13 b' Test --no-backup' | |||
|
211 | 224 | 4 |
|
212 | 225 | 5 |
|
213 | 226 | -b |
|
214 |
apply change 2/6 to 'f'? |
|
|
227 | apply change 2/6 to 'f'? | |
|
228 | (enter ? for help) [Ynesfdaq?] y | |
|
215 | 229 | |
|
216 | 230 |
diff --git |
|
217 | 231 | 2 hunks, 2 lines changed |
|
218 |
examine changes to 'folder1/g'? |
|
|
232 | examine changes to 'folder1/g'? | |
|
233 | (enter ? for help) [Ynesfdaq?] y | |
|
219 | 234 | |
|
220 | 235 | @@ -1,6 +1,5 @@ |
|
221 | 236 | -c |
@@ -224,7 +239,8 b' Test --no-backup' | |||
|
224 | 239 | 3 |
|
225 | 240 | 4 |
|
226 | 241 | 5 |
|
227 |
apply change 3/6 to 'folder1/g'? |
|
|
242 | apply change 3/6 to 'folder1/g'? | |
|
243 | (enter ? for help) [Ynesfdaq?] y | |
|
228 | 244 | |
|
229 | 245 | @@ -2,6 +1,5 @@ |
|
230 | 246 | 1 |
@@ -233,11 +249,13 b' Test --no-backup' | |||
|
233 | 249 | 4 |
|
234 | 250 | 5 |
|
235 | 251 | -d |
|
236 |
apply change 4/6 to 'folder1/g'? |
|
|
252 | apply change 4/6 to 'folder1/g'? | |
|
253 | (enter ? for help) [Ynesfdaq?] n | |
|
237 | 254 | |
|
238 | 255 |
diff --git |
|
239 | 256 | 2 hunks, 2 lines changed |
|
240 |
examine changes to 'folder2/h'? |
|
|
257 | examine changes to 'folder2/h'? | |
|
258 | (enter ? for help) [Ynesfdaq?] n | |
|
241 | 259 | |
|
242 | 260 |
reverting |
|
243 | 261 | reverting folder1/g |
@@ -280,7 +298,8 b' Test --no-backup' | |||
|
280 | 298 | 3 |
|
281 | 299 | 4 |
|
282 | 300 | 5 |
|
283 |
discard change 1/2 to 'f'? |
|
|
301 | discard change 1/2 to 'f'? | |
|
302 | (enter ? for help) [Ynesfdaq?] ? | |
|
284 | 303 | |
|
285 | 304 | y - yes, discard this change |
|
286 | 305 |
|
@@ -291,7 +310,8 b' Test --no-backup' | |||
|
291 | 310 | a - discard all changes to all remaining files |
|
292 | 311 | q - quit, discarding no changes |
|
293 | 312 | ? - ? (display help) |
|
294 |
discard change 1/2 to 'f'? |
|
|
313 | discard change 1/2 to 'f'? | |
|
314 | (enter ? for help) [Ynesfdaq?] y | |
|
295 | 315 | |
|
296 | 316 | @@ -2,6 +1,5 @@ |
|
297 | 317 | 1 |
@@ -300,7 +320,8 b' Test --no-backup' | |||
|
300 | 320 | 4 |
|
301 | 321 | 5 |
|
302 | 322 | -b |
|
303 |
discard change 2/2 to 'f'? |
|
|
323 | discard change 2/2 to 'f'? | |
|
324 | (enter ? for help) [Ynesfdaq?] n | |
|
304 | 325 | |
|
305 | 326 |
$ hg |
|
306 | 327 | M f |
@@ -329,14 +350,16 b' Patterns' | |||
|
329 | 350 | > EOF |
|
330 | 351 | diff --git a/f b/f |
|
331 | 352 | 1 hunks, 1 lines changed |
|
332 |
examine changes to 'f'? |
|
|
353 | examine changes to 'f'? | |
|
354 | (enter ? for help) [Ynesfdaq?] y | |
|
333 | 355 | |
|
334 | 356 | @@ -4,4 +4,3 @@ |
|
335 | 357 | 3 |
|
336 | 358 | 4 |
|
337 | 359 |
|
|
338 | 360 | -b |
|
339 |
discard this change to 'f'? |
|
|
361 | discard this change to 'f'? | |
|
362 | (enter ? for help) [Ynesfdaq?] n | |
|
340 | 363 | |
|
341 | 364 | |
|
342 | 365 |
$ hg |
@@ -363,13 +386,15 b' 3) Use interactive revert with editing (' | |||
|
363 | 386 | > EOF |
|
364 | 387 | diff --git a/k b/k |
|
365 | 388 | 1 hunks, 2 lines changed |
|
366 |
examine changes to 'k'? |
|
|
389 | examine changes to 'k'? | |
|
390 | (enter ? for help) [Ynesfdaq?] y | |
|
367 | 391 | |
|
368 | 392 | @@ -1,1 +1,2 @@ |
|
369 | 393 | -1 |
|
370 | 394 | +0 |
|
371 | 395 | +2 |
|
372 |
discard |
|
|
396 | discard this change to 'k'? | |
|
397 | (enter ? for help) [Ynesfdaq?] e | |
|
373 | 398 | |
|
374 | 399 |
reverting |
|
375 | 400 | $ cat k |
@@ -414,13 +439,15 b' When a line without EOL is selected duri' | |||
|
414 | 439 | > EOF |
|
415 | 440 | diff --git a/a b/a |
|
416 | 441 | 1 hunks, 1 lines changed |
|
417 |
examine changes to 'a'? |
|
|
442 | examine changes to 'a'? | |
|
443 | (enter ? for help) [Ynesfdaq?] y | |
|
418 | 444 | |
|
419 | 445 | @@ -1,2 +1,1 @@ |
|
420 | 446 | 0 |
|
421 | 447 | -1 |
|
422 | 448 |
\ No |
|
423 |
apply this change to 'a'? |
|
|
449 | apply this change to 'a'? | |
|
450 | (enter ? for help) [Ynesfdaq?] y | |
|
424 | 451 | |
|
425 | 452 |
reverting |
|
426 | 453 | $ cat a |
@@ -488,17 +515,20 b' Test "keep" mode' | |||
|
488 | 515 | > EOF |
|
489 | 516 | diff --git a/a b/a |
|
490 | 517 | 2 hunks, 2 lines changed |
|
491 |
examine changes to 'a'? |
|
|
518 | examine changes to 'a'? | |
|
519 | (enter ? for help) [Ynesfdaq?] y | |
|
492 | 520 | |
|
493 | 521 | @@ -1,1 +1,2 @@ |
|
494 | 522 | +x |
|
495 | 523 | a |
|
496 |
|
|
|
524 | keep change 1/2 to 'a'? | |
|
525 | (enter ? for help) [Ynesfdaq?] n | |
|
497 | 526 | |
|
498 | 527 | @@ -1,1 +2,2 @@ |
|
499 | 528 | a |
|
500 | 529 | +y |
|
501 |
keep |
|
|
530 | keep change 2/2 to 'a'? | |
|
531 | (enter ? for help) [Ynesfdaq?] e | |
|
502 | 532 | |
|
503 | 533 |
reverting |
|
504 | 534 | $ cat a |
@@ -756,21 +756,24 b' Test interactive shelve' | |||
|
756 | 756 | > EOF |
|
757 | 757 | diff --git a/a/a b/a/a |
|
758 | 758 | 2 hunks, 2 lines changed |
|
759 |
examine changes to 'a/a'? |
|
|
759 | examine changes to 'a/a'? | |
|
760 | (enter ? for help) [Ynesfdaq?] y | |
|
760 | 761 | |
|
761 | 762 | @@ -1,3 +1,4 @@ |
|
762 | 763 | +a |
|
763 | 764 | a |
|
764 | 765 | c |
|
765 | 766 | x |
|
766 |
record change 1/2 to 'a/a'? |
|
|
767 | record change 1/2 to 'a/a'? | |
|
768 | (enter ? for help) [Ynesfdaq?] y | |
|
767 | 769 | |
|
768 | 770 | @@ -1,3 +2,4 @@ |
|
769 | 771 | a |
|
770 | 772 | c |
|
771 | 773 | x |
|
772 | 774 | +x |
|
773 |
record change 2/2 to 'a/a'? |
|
|
775 | record change 2/2 to 'a/a'? | |
|
776 | (enter ? for help) [Ynesfdaq?] n | |
|
774 | 777 | |
|
775 | 778 | shelved as test |
|
776 | 779 | merging a/a |
@@ -135,22 +135,26 b' was always recording three commits, one ' | |||
|
135 | 135 | $ HGEDITOR=false runsplit |
|
136 | 136 | diff --git a/a b/a |
|
137 | 137 | 3 hunks, 3 lines changed |
|
138 |
examine changes to 'a'? |
|
|
138 | examine changes to 'a'? | |
|
139 | (enter ? for help) [Ynesfdaq?] y | |
|
139 | 140 | |
|
140 | 141 | @@ -1,1 +1,1 @@ |
|
141 | 142 | -1 |
|
142 | 143 | +11 |
|
143 |
record change 1/3 to 'a'? |
|
|
144 | record change 1/3 to 'a'? | |
|
145 | (enter ? for help) [Ynesfdaq?] n | |
|
144 | 146 | |
|
145 | 147 | @@ -3,1 +3,1 @@ 2 |
|
146 | 148 | -3 |
|
147 | 149 | +33 |
|
148 |
record change 2/3 to 'a'? |
|
|
150 | record change 2/3 to 'a'? | |
|
151 | (enter ? for help) [Ynesfdaq?] n | |
|
149 | 152 | |
|
150 | 153 | @@ -5,1 +5,1 @@ 4 |
|
151 | 154 | -5 |
|
152 | 155 | +55 |
|
153 |
record change 3/3 to 'a'? |
|
|
156 | record change 3/3 to 'a'? | |
|
157 | (enter ? for help) [Ynesfdaq?] y | |
|
154 | 158 | |
|
155 | 159 | transaction abort! |
|
156 | 160 | rollback completed |
@@ -162,22 +166,26 b' was always recording three commits, one ' | |||
|
162 | 166 | $ runsplit |
|
163 | 167 | diff --git a/a b/a |
|
164 | 168 | 3 hunks, 3 lines changed |
|
165 |
examine changes to 'a'? |
|
|
169 | examine changes to 'a'? | |
|
170 | (enter ? for help) [Ynesfdaq?] y | |
|
166 | 171 | |
|
167 | 172 | @@ -1,1 +1,1 @@ |
|
168 | 173 | -1 |
|
169 | 174 | +11 |
|
170 |
record change 1/3 to 'a'? |
|
|
175 | record change 1/3 to 'a'? | |
|
176 | (enter ? for help) [Ynesfdaq?] n | |
|
171 | 177 | |
|
172 | 178 | @@ -3,1 +3,1 @@ 2 |
|
173 | 179 | -3 |
|
174 | 180 | +33 |
|
175 |
record change 2/3 to 'a'? |
|
|
181 | record change 2/3 to 'a'? | |
|
182 | (enter ? for help) [Ynesfdaq?] n | |
|
176 | 183 | |
|
177 | 184 | @@ -5,1 +5,1 @@ 4 |
|
178 | 185 | -5 |
|
179 | 186 | +55 |
|
180 |
record change 3/3 to 'a'? |
|
|
187 | record change 3/3 to 'a'? | |
|
188 | (enter ? for help) [Ynesfdaq?] y | |
|
181 | 189 | |
|
182 | 190 | EDITOR: HG: Splitting 1df0d5c5a3ab. Write commit message for the first split changeset. |
|
183 | 191 | EDITOR: a2 |
@@ -192,17 +200,20 b' was always recording three commits, one ' | |||
|
192 | 200 | created new head |
|
193 | 201 | diff --git a/a b/a |
|
194 | 202 | 2 hunks, 2 lines changed |
|
195 |
examine changes to 'a'? |
|
|
203 | examine changes to 'a'? | |
|
204 | (enter ? for help) [Ynesfdaq?] y | |
|
196 | 205 | |
|
197 | 206 | @@ -1,1 +1,1 @@ |
|
198 | 207 | -1 |
|
199 | 208 | +11 |
|
200 |
record change 1/2 to 'a'? |
|
|
209 | record change 1/2 to 'a'? | |
|
210 | (enter ? for help) [Ynesfdaq?] n | |
|
201 | 211 | |
|
202 | 212 | @@ -3,1 +3,1 @@ 2 |
|
203 | 213 | -3 |
|
204 | 214 | +33 |
|
205 |
record change 2/2 to 'a'? |
|
|
215 | record change 2/2 to 'a'? | |
|
216 | (enter ? for help) [Ynesfdaq?] y | |
|
206 | 217 | |
|
207 | 218 | EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into: |
|
208 | 219 | EDITOR: HG: - e704349bd21b: split 1 |
@@ -218,12 +229,14 b' was always recording three commits, one ' | |||
|
218 | 229 | EDITOR: HG: changed a |
|
219 | 230 | diff --git a/a b/a |
|
220 | 231 | 1 hunks, 1 lines changed |
|
221 |
examine changes to 'a'? |
|
|
232 | examine changes to 'a'? | |
|
233 | (enter ? for help) [Ynesfdaq?] y | |
|
222 | 234 | |
|
223 | 235 | @@ -1,1 +1,1 @@ |
|
224 | 236 | -1 |
|
225 | 237 | +11 |
|
226 |
record this change to 'a'? |
|
|
238 | record this change to 'a'? | |
|
239 | (enter ? for help) [Ynesfdaq?] y | |
|
227 | 240 | |
|
228 | 241 | EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into: |
|
229 | 242 | EDITOR: HG: - e704349bd21b: split 1 |
@@ -515,12 +528,14 b' Split a non-head with obsoleted descenda' | |||
|
515 | 528 | > EOF |
|
516 | 529 | diff --git a/B b/B |
|
517 | 530 | new file mode 100644 |
|
518 |
examine changes to 'B'? |
|
|
531 | examine changes to 'B'? | |
|
532 | (enter ? for help) [Ynesfdaq?] y | |
|
519 | 533 | |
|
520 | 534 | @@ -0,0 +1,1 @@ |
|
521 | 535 | +B |
|
522 | 536 | \ No newline at end of file |
|
523 |
record this change to 'B'? |
|
|
537 | record this change to 'B'? | |
|
538 | (enter ? for help) [Ynesfdaq?] y | |
|
524 | 539 | |
|
525 | 540 | EDITOR: HG: Splitting 112478962961. Write commit message for the first split changeset. |
|
526 | 541 | EDITOR: B |
@@ -621,11 +636,13 b' Do not move things to secret even if pha' | |||
|
621 | 636 | $ printf 'f\nn\nf\n' | hg --config extensions.split= --config diff.ignoreblanklines=1 split |
|
622 | 637 | diff --git a/bar b/bar |
|
623 | 638 | 2 hunks, 2 lines changed |
|
624 |
examine changes to 'bar'? |
|
|
639 | examine changes to 'bar'? | |
|
640 | (enter ? for help) [Ynesfdaq?] f | |
|
625 | 641 | |
|
626 | 642 | diff --git a/foo b/foo |
|
627 | 643 | 1 hunks, 1 lines changed |
|
628 |
examine changes to 'foo'? |
|
|
644 | examine changes to 'foo'? | |
|
645 | (enter ? for help) [Ynesfdaq?] n | |
|
629 | 646 | |
|
630 | 647 | EDITOR: HG: Splitting dd3c45017cbf. Write commit message for the first split changeset. |
|
631 | 648 | EDITOR: splitme |
@@ -640,7 +657,8 b' Do not move things to secret even if pha' | |||
|
640 | 657 | created new head |
|
641 | 658 | diff --git a/foo b/foo |
|
642 | 659 | 1 hunks, 1 lines changed |
|
643 |
examine changes to 'foo'? |
|
|
660 | examine changes to 'foo'? | |
|
661 | (enter ? for help) [Ynesfdaq?] f | |
|
644 | 662 | |
|
645 | 663 | EDITOR: HG: Splitting dd3c45017cbf. So far it has been split into: |
|
646 | 664 | EDITOR: HG: - f205aea1c624: split 1 |
@@ -675,11 +693,13 b" the ignoreblanklines thing isn't somehow" | |||
|
675 | 693 | $ printf 'f\nn\nf\n' | hg --config extensions.split= --config diff.ignoreblanklines=1 split |
|
676 | 694 | diff --git a/bar b/bar |
|
677 | 695 | 1 hunks, 1 lines changed |
|
678 |
examine changes to 'bar'? |
|
|
696 | examine changes to 'bar'? | |
|
697 | (enter ? for help) [Ynesfdaq?] f | |
|
679 | 698 | |
|
680 | 699 | diff --git a/foo b/foo |
|
681 | 700 | 2 hunks, 2 lines changed |
|
682 |
examine changes to 'foo'? |
|
|
701 | examine changes to 'foo'? | |
|
702 | (enter ? for help) [Ynesfdaq?] n | |
|
683 | 703 | |
|
684 | 704 | EDITOR: HG: Splitting 904c80b40a4a. Write commit message for the first split changeset. |
|
685 | 705 | EDITOR: splitme |
@@ -694,7 +714,8 b" the ignoreblanklines thing isn't somehow" | |||
|
694 | 714 | created new head |
|
695 | 715 | diff --git a/foo b/foo |
|
696 | 716 | 2 hunks, 2 lines changed |
|
697 |
examine changes to 'foo'? |
|
|
717 | examine changes to 'foo'? | |
|
718 | (enter ? for help) [Ynesfdaq?] f | |
|
698 | 719 | |
|
699 | 720 | EDITOR: HG: Splitting 904c80b40a4a. So far it has been split into: |
|
700 | 721 | EDITOR: HG: - ffecf40fa954: split 1 |
@@ -739,7 +760,8 b' Testing the case in split when commiting' | |||
|
739 | 760 | diff --git a/foo b/foo |
|
740 | 761 | old mode 100644 |
|
741 | 762 | new mode 100755 |
|
742 |
examine changes to 'foo'? |
|
|
763 | examine changes to 'foo'? | |
|
764 | (enter ? for help) [Ynesfdaq?] y | |
|
743 | 765 | |
|
744 | 766 | EDITOR: HG: Splitting 3a2125f0f4cb. Write commit message for the first split changeset. |
|
745 | 767 | EDITOR: make executable |
General Comments 0
You need to be logged in to leave comments.
Login now