Show More
@@ -1089,7 +1089,9 b' def filterpatch(ui, headers, match, oper' | |||||
1089 | return skipfile, skipfile, skipall, newpatches |
|
1089 | return skipfile, skipfile, skipall, newpatches | |
1090 | while True: |
|
1090 | while True: | |
1091 | resps = messages['help'][operation] |
|
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 | ui.write("\n") |
|
1095 | ui.write("\n") | |
1094 | if r == 8: # ? |
|
1096 | if r == 8: # ? | |
1095 | for c, t in ui.extractchoices(resps)[1]: |
|
1097 | for c, t in ui.extractchoices(resps)[1]: |
@@ -402,12 +402,14 b' Executable files:' | |||||
402 | $ hg absorb --dry-run --interactive --print-changes |
|
402 | $ hg absorb --dry-run --interactive --print-changes | |
403 | diff -r 99b4ae712f84 foo.py |
|
403 | diff -r 99b4ae712f84 foo.py | |
404 | 1 hunks, 1 lines changed |
|
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 | @@ -1,1 +1,1 @@ |
|
408 | @@ -1,1 +1,1 @@ | |
408 | - |
|
409 | - | |
409 | +bla |
|
410 | +bla | |
410 |
record |
|
411 | record this change to 'foo.py'? | |
|
412 | (enter ? for help) [Ynesfdaq?] y | |||
411 |
|
413 | |||
412 |
showing |
|
414 | showing changes for foo.py | |
413 | @@ -0,1 +0,1 @@ |
|
415 | @@ -0,1 +0,1 @@ |
@@ -146,11 +146,13 b' Interactive mode' | |||||
146 | > EOS |
|
146 | > EOS | |
147 | diff --git a/F b/F |
|
147 | diff --git a/F b/F | |
148 | new file mode 100644 |
|
148 | new file mode 100644 | |
149 |
examine changes to 'F'? |
|
149 | examine changes to 'F'? | |
|
150 | (enter ? for help) [Ynesfdaq?] y | |||
150 |
|
151 | |||
151 | diff --git a/G b/G |
|
152 | diff --git a/G b/G | |
152 | new file mode 100644 |
|
153 | new file mode 100644 | |
153 |
examine changes to 'G'? |
|
154 | examine changes to 'G'? | |
|
155 | (enter ? for help) [Ynesfdaq?] n | |||
154 |
|
156 | |||
155 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/507be9bdac71-c8077452-amend.hg (obsstore-off !) |
|
157 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/507be9bdac71-c8077452-amend.hg (obsstore-off !) | |
156 | $ hg log -r . -T '{files}\n' |
|
158 | $ hg log -r . -T '{files}\n' |
@@ -100,7 +100,8 b' Rename empty file' | |||||
100 | diff --git a/empty-rw b/empty-rename |
|
100 | diff --git a/empty-rw b/empty-rename | |
101 | rename from empty-rw |
|
101 | rename from empty-rw | |
102 | rename to empty-rename |
|
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 | $ hg tip -p |
|
107 | $ hg tip -p | |
@@ -121,7 +122,8 b' Copy empty file' | |||||
121 | diff --git a/empty-rename b/empty-copy |
|
122 | diff --git a/empty-rename b/empty-copy | |
122 | copy from empty-rename |
|
123 | copy from empty-rename | |
123 | copy to empty-copy |
|
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 | $ hg tip -p |
|
129 | $ hg tip -p | |
@@ -141,7 +143,8 b' Delete empty file' | |||||
141 | > EOF |
|
143 | > EOF | |
142 | diff --git a/empty-copy b/empty-copy |
|
144 | diff --git a/empty-copy b/empty-copy | |
143 | deleted file mode 100644 |
|
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 | $ hg tip -p |
|
150 | $ hg tip -p | |
@@ -164,7 +167,8 b' Add binary file' | |||||
164 | diff --git a/tip.bundle b/tip.bundle |
|
167 | diff --git a/tip.bundle b/tip.bundle | |
165 | new file mode 100644 |
|
168 | new file mode 100644 | |
166 | this is a binary file |
|
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 | $ hg tip -p | |
@@ -187,7 +191,8 b' Change binary file' | |||||
187 | > EOF |
|
191 | > EOF | |
188 | diff --git a/tip.bundle b/tip.bundle |
|
192 | diff --git a/tip.bundle b/tip.bundle | |
189 | this modifies a binary file (all or nothing) |
|
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 | $ hg tip -p |
|
198 | $ hg tip -p | |
@@ -213,7 +218,8 b' Rename and change binary file' | |||||
213 | rename from tip.bundle |
|
218 | rename from tip.bundle | |
214 | rename to top.bundle |
|
219 | rename to top.bundle | |
215 | this modifies a binary file (all or nothing) |
|
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 | $ hg tip -p |
|
225 | $ hg tip -p | |
@@ -253,7 +259,8 b' Add plain file' | |||||
253 | +8 |
|
259 | +8 | |
254 | +9 |
|
260 | +9 | |
255 | +10 |
|
261 | +10 | |
256 |
record this change to 'plain'? |
|
262 | record this change to 'plain'? | |
|
263 | (enter ? for help) [Ynesfdaq?] y | |||
257 |
|
264 | |||
258 |
$ |
|
265 | $ hg tip -p | |
259 | changeset: 7:11fb457c1be4 |
|
266 | changeset: 7:11fb457c1be4 | |
@@ -302,7 +309,8 b' Modify end of plain file, also test that' | |||||
302 | 9 |
|
309 | 9 | |
303 | 10 |
|
310 | 10 | |
304 | +11 |
|
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 | Modify end of plain file, no EOL | |
@@ -320,7 +328,8 b' Modify end of plain file, no EOL' | |||||
320 | 11 |
|
328 | 11 | |
321 | +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
329 | +7264f99c5f5ff3261504828afa4fb4d406c3af54 | |
322 | \ No newline at end of file |
|
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 | Record showfunc should preserve function across sections |
|
335 | Record showfunc should preserve function across sections | |
@@ -401,7 +410,8 b' Record showfunc should preserve function' | |||||
401 | > EOF |
|
410 | > EOF | |
402 | diff --git a/f1.py b/f1.py |
|
411 | diff --git a/f1.py b/f1.py | |
403 | 3 hunks, 6 lines changed |
|
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 |
@@ -2,8 +2,8 @@ def annotate(ui, repo, * |
|
416 | @@ -2,8 +2,8 @@ def annotate(ui, repo, *pats, **opts): | |
407 | """show changeset information by line for each file |
|
417 | """show changeset information by line for each file | |
@@ -413,7 +423,8 b' Record showfunc should preserve function' | |||||
413 | This command is useful for discovering when a change was made and |
|
423 | This command is useful for discovering when a change was made and | |
414 | by whom. |
|
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 | @@ -6,11 +6,7 @@ def annotate(ui, repo, *pats, **opts): |
|
429 | @@ -6,11 +6,7 @@ def annotate(ui, repo, *pats, **opts): | |
419 |
|
430 | |||
@@ -427,7 +438,8 b' Record showfunc should preserve function' | |||||
427 | Without the -a/--text option, annotate will avoid processing files |
|
438 | Without the -a/--text option, annotate will avoid processing files | |
428 | it detects as binary. With -a, annotate will annotate the file |
|
439 | it detects as binary. With -a, annotate will annotate the file | |
429 | anyway, although the results will probably be neither useful |
|
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 | @@ -26,7 +22,7 @@ def archive(ui, repo, dest, **opts): |
|
444 | @@ -26,7 +22,7 @@ def archive(ui, repo, dest, **opts): | |
433 | directory; use -r/--rev to specify a different revision. |
|
445 | directory; use -r/--rev to specify a different revision. | |
@@ -438,7 +450,8 b' Record showfunc should preserve function' | |||||
438 |
|
450 | |||
439 | .. container:: verbose |
|
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 | Modify end of plain file, add EOL |
|
457 | Modify end of plain file, add EOL | |
@@ -461,13 +474,15 b' Modify end of plain file, add EOL' | |||||
461 | -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
474 | -7264f99c5f5ff3261504828afa4fb4d406c3af54 | |
462 | \ No newline at end of file |
|
475 | \ No newline at end of file | |
463 | +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
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 |
diff --git |
|
480 | diff --git a/plain2 b/plain2 | |
467 | new file mode 100644 |
|
481 | new file mode 100644 | |
468 | @@ -0,0 +1,1 @@ |
|
482 | @@ -0,0 +1,1 @@ | |
469 | +1 |
|
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 |
Modify |
|
487 | Modify beginning, trim end, record both, add another file to test | |
473 | changes numbering |
|
488 | changes numbering | |
@@ -493,7 +508,8 b' changes numbering' | |||||
493 | 2 |
|
508 | 2 | |
494 | 3 |
|
509 | 3 | |
495 | 4 |
|
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 | @@ -8,5 +8,3 @@ 7 |
|
514 | @@ -8,5 +8,3 @@ 7 | |
499 | 8 |
|
515 | 8 | |
@@ -501,14 +517,16 b' changes numbering' | |||||
501 | 10 |
|
517 | 10 | |
502 | -11 |
|
518 | -11 | |
503 | -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
|
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 |
diff --git |
|
523 | diff --git a/plain2 b/plain2 | |
507 | 1 hunks, 1 lines changed |
|
524 | 1 hunks, 1 lines changed | |
508 | @@ -1,1 +1,2 @@ |
|
525 | @@ -1,1 +1,2 @@ | |
509 | 1 |
|
526 | 1 | |
510 | +2 |
|
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 |
$ hg |
|
532 | $ hg tip -p | |
@@ -566,7 +584,8 b' Record end' | |||||
566 | 7 |
|
584 | 7 | |
567 | 8 |
|
585 | 8 | |
568 | 9 |
|
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 | @@ -4,7 +1,7 @@ |
|
590 | @@ -4,7 +1,7 @@ | |
572 | 4 |
|
591 | 4 | |
@@ -577,7 +596,8 b' Record end' | |||||
577 | 9 |
|
596 | 9 | |
578 | -10 |
|
597 | -10 | |
579 | +10.new |
|
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 |
$ hg |
|
603 | $ hg tip -p | |
@@ -613,7 +633,8 b' Record beginning' | |||||
613 | 4 |
|
633 | 4 | |
614 | 5 |
|
634 | 5 | |
615 | 6 |
|
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 |
$ hg |
|
640 | $ hg tip -p | |
@@ -660,7 +681,8 b' Record end' | |||||
660 | 7 |
|
681 | 7 | |
661 | 8 |
|
682 | 8 | |
662 | 9 |
|
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 | @@ -1,7 +4,6 @@ |
|
687 | @@ -1,7 +4,6 @@ | |
666 | 4 |
|
688 | 4 | |
@@ -670,7 +692,8 b' Record end' | |||||
670 | 8 |
|
692 | 8 | |
671 | 9 |
|
693 | 9 | |
672 | -10.new |
|
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 |
Add |
|
699 | Add to beginning, middle, end | |
@@ -695,7 +718,8 b' Record beginning, middle, and test that ' | |||||
695 | +3 |
|
718 | +3 | |
696 | 4 |
|
719 | 4 | |
697 | 5 |
|
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 | @@ -1,6 +4,8 @@ |
|
724 | @@ -1,6 +4,8 @@ | |
701 | 4 |
|
725 | 4 | |
@@ -706,7 +730,8 b' Record beginning, middle, and test that ' | |||||
706 | 7 |
|
730 | 7 | |
707 | 8 |
|
731 | 8 | |
708 | 9 |
|
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 | @@ -3,4 +8,6 @@ |
|
736 | @@ -3,4 +8,6 @@ | |
712 | 6 |
|
737 | 6 | |
@@ -715,7 +740,8 b' Record beginning, middle, and test that ' | |||||
715 | 9 |
|
740 | 9 | |
716 | +10 |
|
741 | +10 | |
717 | +11 |
|
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 |
$ hg |
|
747 | $ hg tip -p | |
@@ -755,7 +781,8 b' Record end' | |||||
755 | 9 |
|
781 | 9 | |
756 | +10 |
|
782 | +10 | |
757 | +11 |
|
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 |
$ hg |
|
788 | $ hg tip -p | |
@@ -786,11 +813,13 b' Interactive commit can name a directory ' | |||||
786 | adding subdir/a |
|
813 | adding subdir/a | |
787 | diff --git a/subdir/a b/subdir/a |
|
814 | diff --git a/subdir/a b/subdir/a | |
788 | new file mode 100644 |
|
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 | @@ -0,0 +1,1 @@ |
|
819 | @@ -0,0 +1,1 @@ | |
792 | +a |
|
820 | +a | |
793 |
record |
|
821 | record this change to 'subdir/a'? | |
|
822 | (enter ? for help) [Ynesfdaq?] y | |||
794 |
|
823 | |||
795 |
$ cd |
|
824 | $ cd subdir | |
796 |
|
825 | |||
@@ -804,7 +833,8 b' Interactive commit can name a directory ' | |||||
804 | @@ -1,1 +1,2 @@ |
|
833 | @@ -1,1 +1,2 @@ | |
805 | a |
|
834 | a | |
806 | +a |
|
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 |
$ hg |
|
840 | $ hg tip -p | |
@@ -839,7 +869,8 b' Help, quit' | |||||
839 | > EOF |
|
869 | > EOF | |
840 | diff --git a/subdir/f1 b/subdir/f1 |
|
870 | diff --git a/subdir/f1 b/subdir/f1 | |
841 | 1 hunks, 1 lines changed |
|
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 | y - yes, record this change |
|
875 | y - yes, record this change | |
845 |
|
|
876 | n - no, skip this change | |
@@ -850,7 +881,8 b' Help, quit' | |||||
850 | a - record all changes to all remaining files |
|
881 | a - record all changes to all remaining files | |
851 | q - quit, recording no changes |
|
882 | q - quit, recording no changes | |
852 | ? - ? (display help) |
|
883 | ? - ? (display help) | |
853 |
examine changes to 'subdir/f1'? |
|
884 | examine changes to 'subdir/f1'? | |
|
885 | (enter ? for help) [Ynesfdaq?] q | |||
854 |
|
886 | |||
855 |
abort: |
|
887 | abort: user quit | |
856 | [255] |
|
888 | [255] | |
@@ -865,21 +897,25 b' Patterns' | |||||
865 | > EOF |
|
897 | > EOF | |
866 | diff --git a/subdir/f1 b/subdir/f1 |
|
898 | diff --git a/subdir/f1 b/subdir/f1 | |
867 | 1 hunks, 1 lines changed |
|
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 | @@ -1,1 +1,2 @@ |
|
903 | @@ -1,1 +1,2 @@ | |
871 | a |
|
904 | a | |
872 | +a |
|
905 | +a | |
873 |
record |
|
906 | record change 1/2 to 'subdir/f1'? | |
|
907 | (enter ? for help) [Ynesfdaq?] n | |||
874 |
|
908 | |||
875 |
diff --git |
|
909 | diff --git a/subdir/f2 b/subdir/f2 | |
876 | 1 hunks, 1 lines changed |
|
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 | @@ -1,1 +1,2 @@ |
|
914 | @@ -1,1 +1,2 @@ | |
880 | b |
|
915 | b | |
881 | +b |
|
916 | +b | |
882 |
record |
|
917 | record change 2/2 to 'subdir/f2'? | |
|
918 | (enter ? for help) [Ynesfdaq?] n | |||
883 |
|
919 | |||
884 |
no |
|
920 | no changes to record | |
885 | [1] |
|
921 | [1] | |
@@ -936,11 +972,13 b' Skip' | |||||
936 | > EOF |
|
972 | > EOF | |
937 | diff --git a/subdir/f1 b/subdir/f1 |
|
973 | diff --git a/subdir/f1 b/subdir/f1 | |
938 | 1 hunks, 1 lines changed |
|
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 |
diff --git |
|
978 | diff --git a/subdir/f2 b/subdir/f2 | |
942 | 1 hunks, 1 lines changed |
|
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 | [255] |
|
982 | [255] | |
945 |
|
983 | |||
946 | No |
|
984 | No | |
@@ -950,11 +988,13 b' No' | |||||
950 | > EOF |
|
988 | > EOF | |
951 | diff --git a/subdir/f1 b/subdir/f1 |
|
989 | diff --git a/subdir/f1 b/subdir/f1 | |
952 | 1 hunks, 1 lines changed |
|
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 |
diff --git |
|
994 | diff --git a/subdir/f2 b/subdir/f2 | |
956 | 1 hunks, 1 lines changed |
|
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 | [255] |
|
998 | [255] | |
959 |
|
999 | |||
960 | f, quit |
|
1000 | f, quit | |
@@ -965,11 +1005,13 b' f, quit' | |||||
965 | > EOF |
|
1005 | > EOF | |
966 | diff --git a/subdir/f1 b/subdir/f1 |
|
1006 | diff --git a/subdir/f1 b/subdir/f1 | |
967 | 1 hunks, 1 lines changed |
|
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 |
diff --git |
|
1011 | diff --git a/subdir/f2 b/subdir/f2 | |
971 | 1 hunks, 1 lines changed |
|
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 |
abort: |
|
1016 | abort: user quit | |
975 | [255] |
|
1017 | [255] | |
@@ -982,11 +1024,13 b' s, all' | |||||
982 | > EOF |
|
1024 | > EOF | |
983 | diff --git a/subdir/f1 b/subdir/f1 |
|
1025 | diff --git a/subdir/f1 b/subdir/f1 | |
984 | 1 hunks, 1 lines changed |
|
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 |
diff --git |
|
1030 | diff --git a/subdir/f2 b/subdir/f2 | |
988 | 1 hunks, 1 lines changed |
|
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 |
$ hg |
|
1036 | $ hg tip -p | |
@@ -1011,7 +1055,8 b' f' | |||||
1011 | > EOF |
|
1055 | > EOF | |
1012 | diff --git a/subdir/f1 b/subdir/f1 |
|
1056 | diff --git a/subdir/f1 b/subdir/f1 | |
1013 | 1 hunks, 1 lines changed |
|
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 |
$ hg |
|
1062 | $ hg tip -p | |
@@ -1044,13 +1089,15 b' Preserve chmod +x' | |||||
1044 | old mode 100644 |
|
1089 | old mode 100644 | |
1045 | new mode 100755 |
|
1090 | new mode 100755 | |
1046 | 1 hunks, 1 lines changed |
|
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 | @@ -1,2 +1,3 @@ |
|
1095 | @@ -1,2 +1,3 @@ | |
1050 | a |
|
1096 | a | |
1051 | a |
|
1097 | a | |
1052 | +a |
|
1098 | +a | |
1053 |
|
|
1099 | record this change to 'subdir/f1'? | |
|
1100 | (enter ? for help) [Ynesfdaq?] y | |||
1054 |
|
1101 | |||
1055 |
|
1102 | |||
1056 |
$ hg |
|
1103 | $ hg tip --config diff.git=True -p | |
@@ -1081,14 +1128,16 b' Preserve execute permission on original' | |||||
1081 | > EOF |
|
1128 | > EOF | |
1082 | diff --git a/subdir/f1 b/subdir/f1 |
|
1129 | diff --git a/subdir/f1 b/subdir/f1 | |
1083 | 1 hunks, 1 lines changed |
|
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 | @@ -1,3 +1,4 @@ |
|
1134 | @@ -1,3 +1,4 @@ | |
1087 | a |
|
1135 | a | |
1088 | a |
|
1136 | a | |
1089 |
|
|
1137 | a | |
1090 | +b |
|
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 |
$ hg |
|
1143 | $ hg tip --config diff.git=True -p | |
@@ -1121,14 +1170,16 b' Preserve chmod -x' | |||||
1121 | old mode 100755 |
|
1170 | old mode 100755 | |
1122 | new mode 100644 |
|
1171 | new mode 100644 | |
1123 | 1 hunks, 1 lines changed |
|
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 | @@ -2,3 +2,4 @@ a |
|
1176 | @@ -2,3 +2,4 @@ a | |
1127 | a |
|
1177 | a | |
1128 |
|
|
1178 | a | |
1129 | b |
|
1179 | b | |
1130 | +c |
|
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 |
$ hg |
|
1185 | $ hg tip --config diff.git=True -p | |
@@ -1323,7 +1374,8 b' Editing patch (and ignoring trailing tex' | |||||
1323 | > EOF |
|
1374 | > EOF | |
1324 | diff --git a/editedfile b/editedfile |
|
1375 | diff --git a/editedfile b/editedfile | |
1325 | 1 hunks, 2 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
1380 | @@ -1,3 +1,3 @@ | |
1329 |
-This is |
|
1381 | -This is the first line | |
@@ -1331,7 +1383,8 b' Editing patch (and ignoring trailing tex' | |||||
1331 | +This line has changed |
|
1383 | +This line has changed | |
1332 | +This change will be committed |
|
1384 | +This change will be committed | |
1333 | This is the third line |
|
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 |
$ cat |
|
1389 | $ cat editedfile | |
1337 | This line has changed |
|
1390 | This line has changed | |
@@ -1352,10 +1405,12 b' Trying to edit patch for whole file' | |||||
1352 | > EOF |
|
1405 | > EOF | |
1353 | diff --git a/editedfile b/editedfile |
|
1406 | diff --git a/editedfile b/editedfile | |
1354 | 1 hunks, 1 lines changed |
|
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 |
cannot |
|
1411 | cannot edit patch for whole file | |
1358 |
examine changes to 'editedfile'? |
|
1412 | examine changes to 'editedfile'? | |
|
1413 | (enter ? for help) [Ynesfdaq?] q | |||
1359 |
|
1414 | |||
1360 |
abort: |
|
1415 | abort: user quit | |
1361 | [255] |
|
1416 | [255] | |
@@ -1376,7 +1431,8 b' Removing changes from patch' | |||||
1376 | > EOF |
|
1431 | > EOF | |
1377 | diff --git a/editedfile b/editedfile |
|
1432 | diff --git a/editedfile b/editedfile | |
1378 | 1 hunks, 3 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
1437 | @@ -1,3 +1,3 @@ | |
1382 |
-This is |
|
1438 | -This is the first line | |
@@ -1385,7 +1441,8 b' Removing changes from patch' | |||||
1385 | +This change will not be committed |
|
1441 | +This change will not be committed | |
1386 | +This is the second line |
|
1442 | +This is the second line | |
1387 | +This line has been added |
|
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 |
no |
|
1447 | no changes to record | |
1391 | [1] |
|
1448 | [1] | |
@@ -1414,7 +1471,8 b' Invalid patch' | |||||
1414 | > EOF |
|
1471 | > EOF | |
1415 | diff --git a/editedfile b/editedfile |
|
1472 | diff --git a/editedfile b/editedfile | |
1416 | 1 hunks, 3 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
1477 | @@ -1,3 +1,3 @@ | |
1420 |
-This is |
|
1478 | -This is the first line | |
@@ -1423,7 +1481,8 b' Invalid patch' | |||||
1423 | +This change will not be committed |
|
1481 | +This change will not be committed | |
1424 | +This is the second line |
|
1482 | +This is the second line | |
1425 | +This line has been added |
|
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 |
patching |
|
1487 | patching file editedfile | |
1429 | Hunk #1 FAILED at 0 |
|
1488 | Hunk #1 FAILED at 0 | |
@@ -1461,7 +1520,8 b' Malformed patch - error handling' | |||||
1461 | > EOF |
|
1520 | > EOF | |
1462 | diff --git a/editedfile b/editedfile |
|
1521 | diff --git a/editedfile b/editedfile | |
1463 | 1 hunks, 3 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
1526 | @@ -1,3 +1,3 @@ | |
1467 |
-This is |
|
1527 | -This is the first line | |
@@ -1470,7 +1530,8 b' Malformed patch - error handling' | |||||
1470 | +This change will not be committed |
|
1530 | +This change will not be committed | |
1471 | +This is the second line |
|
1531 | +This is the second line | |
1472 | +This line has been added |
|
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 |
abort: |
|
1536 | abort: error parsing patch: unhandled transition: range -> range | |
1476 | [255] |
|
1537 | [255] | |
@@ -1485,7 +1546,8 b' session' | |||||
1485 | > EOF |
|
1546 | > EOF | |
1486 | diff --git a/editedfile b/editedfile |
|
1547 | diff --git a/editedfile b/editedfile | |
1487 | 1 hunks, 3 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
1552 | @@ -1,3 +1,3 @@ | |
1491 |
-This is |
|
1553 | -This is the first line | |
@@ -1494,10 +1556,12 b' session' | |||||
1494 | +This change will not be committed |
|
1556 | +This change will not be committed | |
1495 | +This is the second line |
|
1557 | +This is the second line | |
1496 | +This line has been added |
|
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 |
editor |
|
1562 | editor exited with exit code 1 | |
1500 |
record this change to 'editedfile'? |
|
1563 | record this change to 'editedfile'? | |
|
1564 | (enter ? for help) [Ynesfdaq?] n | |||
1501 |
|
1565 | |||
1502 |
no |
|
1566 | no changes to record | |
1503 | [1] |
|
1567 | [1] | |
@@ -1516,7 +1580,8 b' random text in random positions is still' | |||||
1516 | > EOF |
|
1580 | > EOF | |
1517 | diff --git a/editedfile b/editedfile |
|
1581 | diff --git a/editedfile b/editedfile | |
1518 | 1 hunks, 3 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
1586 | @@ -1,3 +1,3 @@ | |
1522 |
-This is |
|
1587 | -This is the first line | |
@@ -1525,7 +1590,8 b' random text in random positions is still' | |||||
1525 | +This change will not be committed |
|
1590 | +This change will not be committed | |
1526 | +This is the second line |
|
1591 | +This is the second line | |
1527 | +This line has been added |
|
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 |
abort: |
|
1596 | abort: error parsing patch: unhandled transition: file -> other | |
1531 | [255] |
|
1597 | [255] | |
@@ -1556,14 +1622,16 b' Ignore win32text deprecation warning for' | |||||
1556 | > EOF |
|
1622 | > EOF | |
1557 | diff --git a/subdir/f1 b/subdir/f1 |
|
1623 | diff --git a/subdir/f1 b/subdir/f1 | |
1558 | 1 hunks, 1 lines changed |
|
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 | @@ -3,3 +3,4 @@ a |
|
1628 | @@ -3,3 +3,4 @@ a | |
1562 | a |
|
1629 | a | |
1563 |
|
|
1630 | b | |
1564 | c |
|
1631 | c | |
1565 | +d |
|
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 |
$ hg |
|
1637 | $ hg status -A subdir/f1 | |
@@ -1595,14 +1663,16 b' Test --user when ui.username not set' | |||||
1595 | > EOF |
|
1663 | > EOF | |
1596 | diff --git a/subdir/f1 b/subdir/f1 |
|
1664 | diff --git a/subdir/f1 b/subdir/f1 | |
1597 | 1 hunks, 1 lines changed |
|
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 | @@ -4,3 +4,4 @@ a |
|
1669 | @@ -4,3 +4,4 @@ a | |
1601 | b |
|
1670 | b | |
1602 |
|
|
1671 | c | |
1603 | d |
|
1672 | d | |
1604 | +e |
|
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 |
$ hg |
|
1677 | $ hg status -A subdir/f1 | |
1608 | C subdir/f1 |
|
1678 | C subdir/f1 | |
@@ -1626,14 +1696,16 b' Moving files' | |||||
1626 | rename from plain |
|
1696 | rename from plain | |
1627 | rename to plain3 |
|
1697 | rename to plain3 | |
1628 | 1 hunks, 1 lines changed |
|
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 | @@ -11,3 +11,4 @@ 8 |
|
1702 | @@ -11,3 +11,4 @@ 8 | |
1632 | 9 |
|
1703 | 9 | |
1633 | 10 |
|
1704 | 10 | |
1634 | 11 |
|
1705 | 11 | |
1635 | +somechange |
|
1706 | +somechange | |
1636 |
record this change to 'plain3'? |
|
1707 | record this change to 'plain3'? | |
|
1708 | (enter ? for help) [Ynesfdaq?] y | |||
1637 |
|
1709 | |||
1638 | The #if execbit block above changes the hash here on some systems |
|
1710 | The #if execbit block above changes the hash here on some systems | |
1639 | $ hg status -A plain3 |
|
1711 | $ hg status -A plain3 | |
@@ -1665,13 +1737,15 b' Editing patch of newly added file' | |||||
1665 | > EOF |
|
1737 | > EOF | |
1666 | diff --git a/newfile b/newfile |
|
1738 | diff --git a/newfile b/newfile | |
1667 | new file mode 100644 |
|
1739 | new file mode 100644 | |
1668 |
examine changes to 'newfile'? |
|
1740 | examine changes to 'newfile'? | |
|
1741 | (enter ? for help) [Ynesfdaq?] y | |||
1669 |
|
1742 | |||
1670 | @@ -0,0 +1,3 @@ |
|
1743 | @@ -0,0 +1,3 @@ | |
1671 | +This is the first line |
|
1744 | +This is the first line | |
1672 | +This is the second line |
|
1745 | +This is the second line | |
1673 | +This is the third line |
|
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 | $ hg cat -r tip newfile |
|
1750 | $ hg cat -r tip newfile | |
1677 | This is the very line |
|
1751 | This is the very line | |
@@ -1696,11 +1770,13 b' Add new file from within a subdirectory' | |||||
1696 | > EOF |
|
1770 | > EOF | |
1697 | diff --git a/folder/bar b/folder/bar |
|
1771 | diff --git a/folder/bar b/folder/bar | |
1698 | new file mode 100644 |
|
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 | @@ -0,0 +1,1 @@ |
|
1776 | @@ -0,0 +1,1 @@ | |
1702 | +foo |
|
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 | The #if execbit block above changes the hashes here on some systems |
|
1781 | The #if execbit block above changes the hashes here on some systems | |
1706 | $ hg tip -p |
|
1782 | $ hg tip -p | |
@@ -1781,7 +1857,8 b' even if none of mode, size and timestamp' | |||||
1781 | > EOF |
|
1857 | > EOF | |
1782 | diff --git a/subdir/f1 b/subdir/f1 |
|
1858 | diff --git a/subdir/f1 b/subdir/f1 | |
1783 | 2 hunks, 2 lines changed |
|
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 | @@ -1,6 +1,6 @@ |
|
1863 | @@ -1,6 +1,6 @@ | |
1787 | -a |
|
1864 | -a | |
@@ -1791,7 +1868,8 b' even if none of mode, size and timestamp' | |||||
1791 | b |
|
1868 | b | |
1792 | c |
|
1869 | c | |
1793 | d |
|
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 | @@ -2,6 +2,6 @@ |
|
1874 | @@ -2,6 +2,6 @@ | |
1797 | a |
|
1875 | a | |
@@ -1801,7 +1879,8 b' even if none of mode, size and timestamp' | |||||
1801 | d |
|
1879 | d | |
1802 | -e |
|
1880 | -e | |
1803 | +E |
|
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 | $ cat >> .hg/hgrc <<EOF |
|
1885 | $ cat >> .hg/hgrc <<EOF | |
1807 | > [extensions] |
|
1886 | > [extensions] | |
@@ -1837,15 +1916,18 b' Test commands.commit.interactive.unified' | |||||
1837 | $ printf 'y\ny\ny\n' | hg ci -im initial --config commands.commit.interactive.unified=0 |
|
1916 | $ printf 'y\ny\ny\n' | hg ci -im initial --config commands.commit.interactive.unified=0 | |
1838 | diff --git a/foo b/foo |
|
1917 | diff --git a/foo b/foo | |
1839 | 2 hunks, 2 lines changed |
|
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 | @@ -1,0 +2,1 @@ 1 |
|
1922 | @@ -1,0 +2,1 @@ 1 | |
1843 | +change1 |
|
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 | @@ -3,0 +5,1 @@ 3 |
|
1927 | @@ -3,0 +5,1 @@ 3 | |
1847 | +change2 |
|
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 | $ cd $TESTTMP |
|
1932 | $ cd $TESTTMP | |
1851 |
|
1933 | |||
@@ -1873,14 +1955,16 b' Test diff.ignoreblanklines=1' | |||||
1873 | $ printf 'y\ny\ny\n' | hg ci -im initial --config diff.ignoreblanklines=1 |
|
1955 | $ printf 'y\ny\ny\n' | hg ci -im initial --config diff.ignoreblanklines=1 | |
1874 | diff --git a/foo b/foo |
|
1956 | diff --git a/foo b/foo | |
1875 | 2 hunks, 2 lines changed |
|
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 | @@ -1,3 +1,4 @@ |
|
1961 | @@ -1,3 +1,4 @@ | |
1879 | 1 |
|
1962 | 1 | |
1880 | + |
|
1963 | + | |
1881 | 2 |
|
1964 | 2 | |
1882 | 3 |
|
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 | @@ -2,4 +3,5 @@ |
|
1969 | @@ -2,4 +3,5 @@ | |
1886 | 2 |
|
1970 | 2 | |
@@ -1888,6 +1972,7 b' Test diff.ignoreblanklines=1' | |||||
1888 | +change2 |
|
1972 | +change2 | |
1889 | 4 |
|
1973 | 4 | |
1890 | 5 |
|
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 | a |
|
171 | a | |
172 | a |
|
172 | a | |
173 | c |
|
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 | $ echo "[extensions]" >> $HGRCPATH | |
@@ -190,7 +191,8 b' qrecord' | |||||
190 | \x1b[0;36;1mold mode 100644\x1b[0m (esc) |
|
191 | \x1b[0;36;1mold mode 100644\x1b[0m (esc) | |
191 | \x1b[0;36;1mnew mode 100755\x1b[0m (esc) |
|
192 | \x1b[0;36;1mnew mode 100755\x1b[0m (esc) | |
192 | 1 hunks, 1 lines changed |
|
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 | \x1b[0;35m@@ -2,7 +2,7 @@ c\x1b[0m (esc) |
|
197 | \x1b[0;35m@@ -2,7 +2,7 @@ c\x1b[0m (esc) | |
196 | c |
|
198 | c | |
@@ -201,7 +203,8 b' qrecord' | |||||
201 | a |
|
203 | a | |
202 | a |
|
204 | a | |
203 | c |
|
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 | $ hg qpop -a |
@@ -47,15 +47,18 b' editor for a diff, the file ends in .dif' | |||||
47 | > EOF |
|
47 | > EOF | |
48 | diff --git a/one b/one |
|
48 | diff --git a/one b/one | |
49 | new file mode 100644 |
|
49 | new file mode 100644 | |
50 |
examine changes to 'one'? |
|
50 | examine changes to 'one'? | |
|
51 | (enter ? for help) [Ynesfdaq?] y | |||
51 |
|
52 | |||
52 | @@ -0,0 +1,1 @@ |
|
53 | @@ -0,0 +1,1 @@ | |
53 | +1 |
|
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 | *.diff (glob) |
|
58 | *.diff (glob) | |
57 | editor exited with exit code 1 |
|
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 | abort: user quit |
|
63 | abort: user quit | |
61 | [255] |
|
64 | [255] |
@@ -392,13 +392,15 b' record chunk' | |||||
392 | +foo |
|
392 | +foo | |
393 | do not process $Id: |
|
393 | do not process $Id: | |
394 | xxx $ |
|
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 | @@ -2,2 +3,3 @@ |
|
398 | @@ -2,2 +3,3 @@ | |
398 |
do not |
|
399 | do not process $Id: | |
399 | xxx $ |
|
400 | xxx $ | |
400 | +bar |
|
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 |
$ hg |
|
406 | $ hg identify | |
@@ -450,13 +452,15 b' Record all chunks in file a' | |||||
450 | +foo |
|
452 | +foo | |
451 | do not process $Id: |
|
453 | do not process $Id: | |
452 | xxx $ |
|
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 | @@ -2,2 +3,3 @@ |
|
458 | @@ -2,2 +3,3 @@ | |
456 |
do not |
|
459 | do not process $Id: | |
457 | xxx $ |
|
460 | xxx $ | |
458 | +bar |
|
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 |
File |
|
466 | File a should be clean | |
@@ -516,7 +520,8 b' record added file alone' | |||||
516 | new file mode 100644 |
|
520 | new file mode 100644 | |
517 | @@ -0,0 +1,1 @@ |
|
521 | @@ -0,0 +1,1 @@ | |
518 | +$Id$ |
|
522 | +$Id$ | |
519 |
record this change to 'r'? |
|
523 | record this change to 'r'? | |
|
524 | (enter ? for help) [Ynesfdaq?] y | |||
520 |
|
525 | |||
521 |
resolving |
|
526 | resolving manifests | |
522 | patching file r |
|
527 | patching file r | |
@@ -546,11 +551,13 b' record added keyword ignored file' | |||||
546 | > EOF |
|
551 | > EOF | |
547 | diff --git a/i b/i |
|
552 | diff --git a/i b/i | |
548 | new file mode 100644 |
|
553 | new file mode 100644 | |
549 |
examine changes to 'i'? |
|
554 | examine changes to 'i'? | |
|
555 | (enter ? for help) [Ynesfdaq?] y | |||
550 |
|
556 | |||
551 | @@ -0,0 +1,1 @@ |
|
557 | @@ -0,0 +1,1 @@ | |
552 | +$Id$ |
|
558 | +$Id$ | |
553 |
|
|
559 | record this change to 'i'? | |
|
560 | (enter ? for help) [Ynesfdaq?] y | |||
554 |
|
561 | |||
555 |
resolving |
|
562 | resolving manifests | |
556 | patching file i |
|
563 | patching file i |
@@ -190,25 +190,29 b' partial qrefresh' | |||||
190 | > EOF |
|
190 | > EOF | |
191 | diff --git a/1.txt b/1.txt |
|
191 | diff --git a/1.txt b/1.txt | |
192 | 2 hunks, 2 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
196 | @@ -1,3 +1,3 @@ | |
196 | 1 |
|
197 | 1 | |
197 | -2 |
|
198 | -2 | |
198 | +2 2 |
|
199 | +2 2 | |
199 | 3 |
|
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 | @@ -3,3 +3,3 @@ |
|
204 | @@ -3,3 +3,3 @@ | |
203 | 3 |
|
205 | 3 | |
204 | -4 |
|
206 | -4 | |
205 | +4 4 |
|
207 | +4 4 | |
206 | 5 |
|
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 | diff --git a/2.txt b/2.txt |
|
212 | diff --git a/2.txt b/2.txt | |
210 | 1 hunks, 1 lines changed |
|
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 | @@ -1,5 +1,5 @@ |
|
217 | @@ -1,5 +1,5 @@ | |
214 | a |
|
218 | a | |
@@ -217,11 +221,13 b' partial qrefresh' | |||||
217 | c |
|
221 | c | |
218 | d |
|
222 | d | |
219 | e |
|
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 | diff --git a/dir/a.txt b/dir/a.txt |
|
227 | diff --git a/dir/a.txt b/dir/a.txt | |
223 | 1 hunks, 1 lines changed |
|
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 | After partial qrefresh 'tip' |
|
233 | After partial qrefresh 'tip' | |
@@ -290,7 +296,8 b' qrefresh interactively everything else' | |||||
290 | > EOF |
|
296 | > EOF | |
291 | diff --git a/1.txt b/1.txt |
|
297 | diff --git a/1.txt b/1.txt | |
292 | 1 hunks, 1 lines changed |
|
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 | @@ -1,5 +1,5 @@ |
|
302 | @@ -1,5 +1,5 @@ | |
296 | 1 |
|
303 | 1 | |
@@ -299,11 +306,13 b' qrefresh interactively everything else' | |||||
299 | -4 |
|
306 | -4 | |
300 | +4 4 |
|
307 | +4 4 | |
301 | 5 |
|
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 | diff --git a/dir/a.txt b/dir/a.txt |
|
312 | diff --git a/dir/a.txt b/dir/a.txt | |
305 | 1 hunks, 1 lines changed |
|
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 | @@ -1,4 +1,4 @@ |
|
317 | @@ -1,4 +1,4 @@ | |
309 | -hello world |
|
318 | -hello world | |
@@ -311,7 +320,8 b' qrefresh interactively everything else' | |||||
311 |
|
320 | |||
312 | someone |
|
321 | someone | |
313 | up |
|
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 | After final qrefresh 'tip' |
|
327 | After final qrefresh 'tip' |
@@ -303,11 +303,13 b' handle subrepos safely on qrecord' | |||||
303 | % qrecord --config ui.interactive=1 -m0 0.diff |
|
303 | % qrecord --config ui.interactive=1 -m0 0.diff | |
304 | diff --git a/.hgsub b/.hgsub |
|
304 | diff --git a/.hgsub b/.hgsub | |
305 | new file mode 100644 |
|
305 | new file mode 100644 | |
306 |
examine changes to '.hgsub'? |
|
306 | examine changes to '.hgsub'? | |
|
307 | (enter ? for help) [Ynesfdaq?] y | |||
307 |
|
308 | |||
308 | @@ -0,0 +1,1 @@ |
|
309 | @@ -0,0 +1,1 @@ | |
309 | +sub = sub |
|
310 | +sub = sub | |
310 |
record this change to '.hgsub'? |
|
311 | record this change to '.hgsub'? | |
|
312 | (enter ? for help) [Ynesfdaq?] y | |||
311 |
|
313 | |||
312 | warning: subrepo spec file '.hgsub' not found |
|
314 | warning: subrepo spec file '.hgsub' not found | |
313 | warning: subrepo spec file '.hgsub' not found |
|
315 | warning: subrepo spec file '.hgsub' not found | |
@@ -331,12 +333,14 b' handle subrepos safely on qrecord' | |||||
331 | % qrecord --config ui.interactive=1 -m1 1.diff |
|
333 | % qrecord --config ui.interactive=1 -m1 1.diff | |
332 | diff --git a/.hgsub b/.hgsub |
|
334 | diff --git a/.hgsub b/.hgsub | |
333 | 1 hunks, 1 lines changed |
|
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 | @@ -1,1 +1,2 @@ |
|
339 | @@ -1,1 +1,2 @@ | |
337 | sub = sub |
|
340 | sub = sub | |
338 | +sub2 = sub2 |
|
341 | +sub2 = sub2 | |
339 |
record this change to '.hgsub'? |
|
342 | record this change to '.hgsub'? | |
|
343 | (enter ? for help) [Ynesfdaq?] y | |||
340 |
|
344 | |||
341 | path sub |
|
345 | path sub | |
342 | source sub |
|
346 | source sub | |
@@ -358,7 +362,8 b' handle subrepos safely on qrecord' | |||||
358 | % qrecord --config ui.interactive=1 -m2 2.diff |
|
362 | % qrecord --config ui.interactive=1 -m2 2.diff | |
359 | diff --git a/.hgsub b/.hgsub |
|
363 | diff --git a/.hgsub b/.hgsub | |
360 | deleted file mode 100644 |
|
364 | deleted file mode 100644 | |
361 |
examine changes to '.hgsub'? |
|
365 | examine changes to '.hgsub'? | |
|
366 | (enter ? for help) [Ynesfdaq?] y | |||
362 |
|
367 | |||
363 | % debugsub should be empty |
|
368 | % debugsub should be empty | |
364 |
|
369 | |||
@@ -374,7 +379,8 b' handle subrepos safely on qrecord' | |||||
374 | % qrecord --config ui.interactive=1 -m3 3.diff |
|
379 | % qrecord --config ui.interactive=1 -m3 3.diff | |
375 | diff --git a/.hgsub b/.hgsub |
|
380 | diff --git a/.hgsub b/.hgsub | |
376 | deleted file mode 100644 |
|
381 | deleted file mode 100644 | |
377 |
examine changes to '.hgsub'? |
|
382 | examine changes to '.hgsub'? | |
|
383 | (enter ? for help) [Ynesfdaq?] y | |||
378 |
|
384 | |||
379 | % debugsub should be empty |
|
385 | % debugsub should be empty | |
380 |
|
386 |
@@ -260,25 +260,29 b' qrecord a.patch' | |||||
260 | > EOF |
|
260 | > EOF | |
261 | diff --git a/1.txt b/1.txt |
|
261 | diff --git a/1.txt b/1.txt | |
262 | 2 hunks, 2 lines changed |
|
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 | @@ -1,3 +1,3 @@ |
|
266 | @@ -1,3 +1,3 @@ | |
266 | 1 |
|
267 | 1 | |
267 | -2 |
|
268 | -2 | |
268 | +2 2 |
|
269 | +2 2 | |
269 | 3 |
|
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 | @@ -3,3 +3,3 @@ |
|
274 | @@ -3,3 +3,3 @@ | |
273 | 3 |
|
275 | 3 | |
274 | -4 |
|
276 | -4 | |
275 | +4 4 |
|
277 | +4 4 | |
276 | 5 |
|
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 | diff --git a/2.txt b/2.txt |
|
282 | diff --git a/2.txt b/2.txt | |
280 | 1 hunks, 1 lines changed |
|
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 | @@ -1,5 +1,5 @@ |
|
287 | @@ -1,5 +1,5 @@ | |
284 | a |
|
288 | a | |
@@ -287,11 +291,13 b' qrecord a.patch' | |||||
287 | c |
|
291 | c | |
288 | d |
|
292 | d | |
289 | e |
|
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 | diff --git a/dir/a.txt b/dir/a.txt |
|
297 | diff --git a/dir/a.txt b/dir/a.txt | |
293 | 1 hunks, 1 lines changed |
|
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 | After qrecord a.patch 'tip'" |
|
303 | After qrecord a.patch 'tip'" | |
@@ -361,7 +367,8 b' qrecord b.patch' | |||||
361 | > EOF |
|
367 | > EOF | |
362 | diff --git a/1.txt b/1.txt |
|
368 | diff --git a/1.txt b/1.txt | |
363 | 1 hunks, 1 lines changed |
|
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 | @@ -1,5 +1,5 @@ |
|
373 | @@ -1,5 +1,5 @@ | |
367 | 1 |
|
374 | 1 | |
@@ -370,11 +377,13 b' qrecord b.patch' | |||||
370 | -4 |
|
377 | -4 | |
371 | +4 4 |
|
378 | +4 4 | |
372 | 5 |
|
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 | diff --git a/dir/a.txt b/dir/a.txt |
|
383 | diff --git a/dir/a.txt b/dir/a.txt | |
376 | 1 hunks, 1 lines changed |
|
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 | @@ -1,4 +1,4 @@ |
|
388 | @@ -1,4 +1,4 @@ | |
380 | -hello world |
|
389 | -hello world | |
@@ -382,7 +391,8 b' qrecord b.patch' | |||||
382 |
|
391 | |||
383 | someone |
|
392 | someone | |
384 | up |
|
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 | After qrecord b.patch 'tip' |
|
398 | After qrecord b.patch 'tip' |
@@ -55,7 +55,8 b' 10 run the same test than 8 from within ' | |||||
55 | removing folder1/i |
|
55 | removing folder1/i | |
56 | diff --git a/f b/f |
|
56 | diff --git a/f b/f | |
57 | 2 hunks, 2 lines changed |
|
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 | @@ -1,6 +1,5 @@ |
|
61 | @@ -1,6 +1,5 @@ | |
61 | -a |
|
62 | -a | |
@@ -64,7 +65,8 b' 10 run the same test than 8 from within ' | |||||
64 | 3 |
|
65 | 3 | |
65 | 4 |
|
66 | 4 | |
66 | 5 |
|
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 | @@ -2,6 +1,5 @@ |
|
71 | @@ -2,6 +1,5 @@ | |
70 | 1 |
|
72 | 1 | |
@@ -73,11 +75,13 b' 10 run the same test than 8 from within ' | |||||
73 | 4 |
|
75 | 4 | |
74 | 5 |
|
76 | 5 | |
75 | -b |
|
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 | diff --git a/folder1/g b/folder1/g |
|
81 | diff --git a/folder1/g b/folder1/g | |
79 | 2 hunks, 2 lines changed |
|
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 | @@ -1,6 +1,5 @@ |
|
86 | @@ -1,6 +1,5 @@ | |
83 | -c |
|
87 | -c | |
@@ -86,7 +90,8 b' 10 run the same test than 8 from within ' | |||||
86 | 3 |
|
90 | 3 | |
87 | 4 |
|
91 | 4 | |
88 | 5 |
|
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 | y - yes, apply this change |
|
96 | y - yes, apply this change | |
92 | n - no, skip this change |
|
97 | n - no, skip this change | |
@@ -97,7 +102,8 b' 10 run the same test than 8 from within ' | |||||
97 | a - apply all changes to all remaining files |
|
102 | a - apply all changes to all remaining files | |
98 | q - quit, applying no changes |
|
103 | q - quit, applying no changes | |
99 | ? - ? (display help) |
|
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 | @@ -2,6 +1,5 @@ |
|
108 | @@ -2,6 +1,5 @@ | |
103 | 1 |
|
109 | 1 | |
@@ -106,11 +112,13 b' 10 run the same test than 8 from within ' | |||||
106 | 4 |
|
112 | 4 | |
107 | 5 |
|
113 | 5 | |
108 | -d |
|
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 | diff --git a/folder2/h b/folder2/h |
|
118 | diff --git a/folder2/h b/folder2/h | |
112 | 2 hunks, 2 lines changed |
|
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 | reverting f |
|
123 | reverting f | |
116 | reverting folder1/g |
|
124 | reverting folder1/g | |
@@ -141,7 +149,8 b' Test that --interactive lift the need fo' | |||||
141 | $ echo q | hg revert -i -r 2 |
|
149 | $ echo q | hg revert -i -r 2 | |
142 | diff --git a/folder1/g b/folder1/g |
|
150 | diff --git a/folder1/g b/folder1/g | |
143 | 1 hunks, 1 lines changed |
|
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 | abort: user quit |
|
155 | abort: user quit | |
147 | [255] |
|
156 | [255] | |
@@ -157,7 +166,8 b" Test that a noop revert doesn't do an un" | |||||
157 | 4 |
|
166 | 4 | |
158 | 5 |
|
167 | 5 | |
159 | -d |
|
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 | $ ls folder1/ |
|
172 | $ ls folder1/ | |
163 | g |
|
173 | g | |
@@ -171,7 +181,8 b' Test --no-backup' | |||||
171 | 4 |
|
181 | 4 | |
172 | 5 |
|
182 | 5 | |
173 | -d |
|
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 | $ ls folder1/ |
|
187 | $ ls folder1/ | |
177 | g |
|
188 | g | |
@@ -193,7 +204,8 b' Test --no-backup' | |||||
193 | remove added file folder1/i (Yn)? n |
|
204 | remove added file folder1/i (Yn)? n | |
194 | diff --git a/f b/f |
|
205 | diff --git a/f b/f | |
195 | 2 hunks, 2 lines changed |
|
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 | @@ -1,6 +1,5 @@ |
|
210 | @@ -1,6 +1,5 @@ | |
199 | -a |
|
211 | -a | |
@@ -202,7 +214,8 b' Test --no-backup' | |||||
202 | 3 |
|
214 | 3 | |
203 | 4 |
|
215 | 4 | |
204 | 5 |
|
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 | @@ -2,6 +1,5 @@ |
|
220 | @@ -2,6 +1,5 @@ | |
208 | 1 |
|
221 | 1 | |
@@ -211,11 +224,13 b' Test --no-backup' | |||||
211 | 4 |
|
224 | 4 | |
212 | 5 |
|
225 | 5 | |
213 | -b |
|
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 |
diff --git |
|
230 | diff --git a/folder1/g b/folder1/g | |
217 | 2 hunks, 2 lines changed |
|
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 | @@ -1,6 +1,5 @@ |
|
235 | @@ -1,6 +1,5 @@ | |
221 | -c |
|
236 | -c | |
@@ -224,7 +239,8 b' Test --no-backup' | |||||
224 | 3 |
|
239 | 3 | |
225 | 4 |
|
240 | 4 | |
226 | 5 |
|
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 | @@ -2,6 +1,5 @@ |
|
245 | @@ -2,6 +1,5 @@ | |
230 | 1 |
|
246 | 1 | |
@@ -233,11 +249,13 b' Test --no-backup' | |||||
233 | 4 |
|
249 | 4 | |
234 | 5 |
|
250 | 5 | |
235 | -d |
|
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 |
diff --git |
|
255 | diff --git a/folder2/h b/folder2/h | |
239 | 2 hunks, 2 lines changed |
|
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 |
reverting |
|
260 | reverting f | |
243 | reverting folder1/g |
|
261 | reverting folder1/g | |
@@ -280,7 +298,8 b' Test --no-backup' | |||||
280 | 3 |
|
298 | 3 | |
281 | 4 |
|
299 | 4 | |
282 | 5 |
|
300 | 5 | |
283 |
discard change 1/2 to 'f'? |
|
301 | discard change 1/2 to 'f'? | |
|
302 | (enter ? for help) [Ynesfdaq?] ? | |||
284 |
|
303 | |||
285 | y - yes, discard this change |
|
304 | y - yes, discard this change | |
286 |
|
|
305 | n - no, skip this change | |
@@ -291,7 +310,8 b' Test --no-backup' | |||||
291 | a - discard all changes to all remaining files |
|
310 | a - discard all changes to all remaining files | |
292 | q - quit, discarding no changes |
|
311 | q - quit, discarding no changes | |
293 | ? - ? (display help) |
|
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 | @@ -2,6 +1,5 @@ |
|
316 | @@ -2,6 +1,5 @@ | |
297 | 1 |
|
317 | 1 | |
@@ -300,7 +320,8 b' Test --no-backup' | |||||
300 | 4 |
|
320 | 4 | |
301 | 5 |
|
321 | 5 | |
302 | -b |
|
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 |
$ hg |
|
326 | $ hg st | |
306 | M f |
|
327 | M f | |
@@ -329,14 +350,16 b' Patterns' | |||||
329 | > EOF |
|
350 | > EOF | |
330 | diff --git a/f b/f |
|
351 | diff --git a/f b/f | |
331 | 1 hunks, 1 lines changed |
|
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 | @@ -4,4 +4,3 @@ |
|
356 | @@ -4,4 +4,3 @@ | |
335 | 3 |
|
357 | 3 | |
336 | 4 |
|
358 | 4 | |
337 |
|
|
359 | 5 | |
338 | -b |
|
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 |
$ hg |
|
365 | $ hg update -C . | |
@@ -363,13 +386,15 b' 3) Use interactive revert with editing (' | |||||
363 | > EOF |
|
386 | > EOF | |
364 | diff --git a/k b/k |
|
387 | diff --git a/k b/k | |
365 | 1 hunks, 2 lines changed |
|
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 | @@ -1,1 +1,2 @@ |
|
392 | @@ -1,1 +1,2 @@ | |
369 | -1 |
|
393 | -1 | |
370 | +0 |
|
394 | +0 | |
371 | +2 |
|
395 | +2 | |
372 |
discard |
|
396 | discard this change to 'k'? | |
|
397 | (enter ? for help) [Ynesfdaq?] e | |||
373 |
|
398 | |||
374 |
reverting |
|
399 | reverting k | |
375 | $ cat k |
|
400 | $ cat k | |
@@ -414,13 +439,15 b' When a line without EOL is selected duri' | |||||
414 | > EOF |
|
439 | > EOF | |
415 | diff --git a/a b/a |
|
440 | diff --git a/a b/a | |
416 | 1 hunks, 1 lines changed |
|
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 | @@ -1,2 +1,1 @@ |
|
445 | @@ -1,2 +1,1 @@ | |
420 | 0 |
|
446 | 0 | |
421 | -1 |
|
447 | -1 | |
422 |
\ No |
|
448 | \ No newline at end of file | |
423 |
apply this change to 'a'? |
|
449 | apply this change to 'a'? | |
|
450 | (enter ? for help) [Ynesfdaq?] y | |||
424 |
|
451 | |||
425 |
reverting |
|
452 | reverting a | |
426 | $ cat a |
|
453 | $ cat a | |
@@ -488,17 +515,20 b' Test "keep" mode' | |||||
488 | > EOF |
|
515 | > EOF | |
489 | diff --git a/a b/a |
|
516 | diff --git a/a b/a | |
490 | 2 hunks, 2 lines changed |
|
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 | @@ -1,1 +1,2 @@ |
|
521 | @@ -1,1 +1,2 @@ | |
494 | +x |
|
522 | +x | |
495 | a |
|
523 | a | |
496 |
|
|
524 | keep change 1/2 to 'a'? | |
|
525 | (enter ? for help) [Ynesfdaq?] n | |||
497 |
|
526 | |||
498 | @@ -1,1 +2,2 @@ |
|
527 | @@ -1,1 +2,2 @@ | |
499 | a |
|
528 | a | |
500 | +y |
|
529 | +y | |
501 |
keep |
|
530 | keep change 2/2 to 'a'? | |
|
531 | (enter ? for help) [Ynesfdaq?] e | |||
502 |
|
532 | |||
503 |
reverting |
|
533 | reverting a | |
504 | $ cat a |
|
534 | $ cat a |
@@ -756,21 +756,24 b' Test interactive shelve' | |||||
756 | > EOF |
|
756 | > EOF | |
757 | diff --git a/a/a b/a/a |
|
757 | diff --git a/a/a b/a/a | |
758 | 2 hunks, 2 lines changed |
|
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 | @@ -1,3 +1,4 @@ |
|
762 | @@ -1,3 +1,4 @@ | |
762 | +a |
|
763 | +a | |
763 | a |
|
764 | a | |
764 | c |
|
765 | c | |
765 | x |
|
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 | @@ -1,3 +2,4 @@ |
|
770 | @@ -1,3 +2,4 @@ | |
769 | a |
|
771 | a | |
770 | c |
|
772 | c | |
771 | x |
|
773 | x | |
772 | +x |
|
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 | shelved as test |
|
778 | shelved as test | |
776 | merging a/a |
|
779 | merging a/a |
@@ -135,22 +135,26 b' was always recording three commits, one ' | |||||
135 | $ HGEDITOR=false runsplit |
|
135 | $ HGEDITOR=false runsplit | |
136 | diff --git a/a b/a |
|
136 | diff --git a/a b/a | |
137 | 3 hunks, 3 lines changed |
|
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 | @@ -1,1 +1,1 @@ |
|
141 | @@ -1,1 +1,1 @@ | |
141 | -1 |
|
142 | -1 | |
142 | +11 |
|
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 | @@ -3,1 +3,1 @@ 2 |
|
147 | @@ -3,1 +3,1 @@ 2 | |
146 | -3 |
|
148 | -3 | |
147 | +33 |
|
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 | @@ -5,1 +5,1 @@ 4 |
|
153 | @@ -5,1 +5,1 @@ 4 | |
151 | -5 |
|
154 | -5 | |
152 | +55 |
|
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 | transaction abort! |
|
159 | transaction abort! | |
156 | rollback completed |
|
160 | rollback completed | |
@@ -162,22 +166,26 b' was always recording three commits, one ' | |||||
162 | $ runsplit |
|
166 | $ runsplit | |
163 | diff --git a/a b/a |
|
167 | diff --git a/a b/a | |
164 | 3 hunks, 3 lines changed |
|
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 | @@ -1,1 +1,1 @@ |
|
172 | @@ -1,1 +1,1 @@ | |
168 | -1 |
|
173 | -1 | |
169 | +11 |
|
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 | @@ -3,1 +3,1 @@ 2 |
|
178 | @@ -3,1 +3,1 @@ 2 | |
173 | -3 |
|
179 | -3 | |
174 | +33 |
|
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 | @@ -5,1 +5,1 @@ 4 |
|
184 | @@ -5,1 +5,1 @@ 4 | |
178 | -5 |
|
185 | -5 | |
179 | +55 |
|
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 | EDITOR: HG: Splitting 1df0d5c5a3ab. Write commit message for the first split changeset. |
|
190 | EDITOR: HG: Splitting 1df0d5c5a3ab. Write commit message for the first split changeset. | |
183 | EDITOR: a2 |
|
191 | EDITOR: a2 | |
@@ -192,17 +200,20 b' was always recording three commits, one ' | |||||
192 | created new head |
|
200 | created new head | |
193 | diff --git a/a b/a |
|
201 | diff --git a/a b/a | |
194 | 2 hunks, 2 lines changed |
|
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 | @@ -1,1 +1,1 @@ |
|
206 | @@ -1,1 +1,1 @@ | |
198 | -1 |
|
207 | -1 | |
199 | +11 |
|
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 | @@ -3,1 +3,1 @@ 2 |
|
212 | @@ -3,1 +3,1 @@ 2 | |
203 | -3 |
|
213 | -3 | |
204 | +33 |
|
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 | EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into: |
|
218 | EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into: | |
208 | EDITOR: HG: - e704349bd21b: split 1 |
|
219 | EDITOR: HG: - e704349bd21b: split 1 | |
@@ -218,12 +229,14 b' was always recording three commits, one ' | |||||
218 | EDITOR: HG: changed a |
|
229 | EDITOR: HG: changed a | |
219 | diff --git a/a b/a |
|
230 | diff --git a/a b/a | |
220 | 1 hunks, 1 lines changed |
|
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 | @@ -1,1 +1,1 @@ |
|
235 | @@ -1,1 +1,1 @@ | |
224 | -1 |
|
236 | -1 | |
225 | +11 |
|
237 | +11 | |
226 |
record this change to 'a'? |
|
238 | record this change to 'a'? | |
|
239 | (enter ? for help) [Ynesfdaq?] y | |||
227 |
|
240 | |||
228 | EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into: |
|
241 | EDITOR: HG: Splitting 1df0d5c5a3ab. So far it has been split into: | |
229 | EDITOR: HG: - e704349bd21b: split 1 |
|
242 | EDITOR: HG: - e704349bd21b: split 1 | |
@@ -515,12 +528,14 b' Split a non-head with obsoleted descenda' | |||||
515 | > EOF |
|
528 | > EOF | |
516 | diff --git a/B b/B |
|
529 | diff --git a/B b/B | |
517 | new file mode 100644 |
|
530 | new file mode 100644 | |
518 |
examine changes to 'B'? |
|
531 | examine changes to 'B'? | |
|
532 | (enter ? for help) [Ynesfdaq?] y | |||
519 |
|
533 | |||
520 | @@ -0,0 +1,1 @@ |
|
534 | @@ -0,0 +1,1 @@ | |
521 | +B |
|
535 | +B | |
522 | \ No newline at end of file |
|
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 | EDITOR: HG: Splitting 112478962961. Write commit message for the first split changeset. |
|
540 | EDITOR: HG: Splitting 112478962961. Write commit message for the first split changeset. | |
526 | EDITOR: B |
|
541 | EDITOR: B | |
@@ -621,11 +636,13 b' Do not move things to secret even if pha' | |||||
621 | $ printf 'f\nn\nf\n' | hg --config extensions.split= --config diff.ignoreblanklines=1 split |
|
636 | $ printf 'f\nn\nf\n' | hg --config extensions.split= --config diff.ignoreblanklines=1 split | |
622 | diff --git a/bar b/bar |
|
637 | diff --git a/bar b/bar | |
623 | 2 hunks, 2 lines changed |
|
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 | diff --git a/foo b/foo |
|
642 | diff --git a/foo b/foo | |
627 | 1 hunks, 1 lines changed |
|
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 | EDITOR: HG: Splitting dd3c45017cbf. Write commit message for the first split changeset. |
|
647 | EDITOR: HG: Splitting dd3c45017cbf. Write commit message for the first split changeset. | |
631 | EDITOR: splitme |
|
648 | EDITOR: splitme | |
@@ -640,7 +657,8 b' Do not move things to secret even if pha' | |||||
640 | created new head |
|
657 | created new head | |
641 | diff --git a/foo b/foo |
|
658 | diff --git a/foo b/foo | |
642 | 1 hunks, 1 lines changed |
|
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 | EDITOR: HG: Splitting dd3c45017cbf. So far it has been split into: |
|
663 | EDITOR: HG: Splitting dd3c45017cbf. So far it has been split into: | |
646 | EDITOR: HG: - f205aea1c624: split 1 |
|
664 | EDITOR: HG: - f205aea1c624: split 1 | |
@@ -675,11 +693,13 b" the ignoreblanklines thing isn't somehow" | |||||
675 | $ printf 'f\nn\nf\n' | hg --config extensions.split= --config diff.ignoreblanklines=1 split |
|
693 | $ printf 'f\nn\nf\n' | hg --config extensions.split= --config diff.ignoreblanklines=1 split | |
676 | diff --git a/bar b/bar |
|
694 | diff --git a/bar b/bar | |
677 | 1 hunks, 1 lines changed |
|
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 | diff --git a/foo b/foo |
|
699 | diff --git a/foo b/foo | |
681 | 2 hunks, 2 lines changed |
|
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 | EDITOR: HG: Splitting 904c80b40a4a. Write commit message for the first split changeset. |
|
704 | EDITOR: HG: Splitting 904c80b40a4a. Write commit message for the first split changeset. | |
685 | EDITOR: splitme |
|
705 | EDITOR: splitme | |
@@ -694,7 +714,8 b" the ignoreblanklines thing isn't somehow" | |||||
694 | created new head |
|
714 | created new head | |
695 | diff --git a/foo b/foo |
|
715 | diff --git a/foo b/foo | |
696 | 2 hunks, 2 lines changed |
|
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 | EDITOR: HG: Splitting 904c80b40a4a. So far it has been split into: |
|
720 | EDITOR: HG: Splitting 904c80b40a4a. So far it has been split into: | |
700 | EDITOR: HG: - ffecf40fa954: split 1 |
|
721 | EDITOR: HG: - ffecf40fa954: split 1 | |
@@ -739,7 +760,8 b' Testing the case in split when commiting' | |||||
739 | diff --git a/foo b/foo |
|
760 | diff --git a/foo b/foo | |
740 | old mode 100644 |
|
761 | old mode 100644 | |
741 | new mode 100755 |
|
762 | new mode 100755 | |
742 |
examine changes to 'foo'? |
|
763 | examine changes to 'foo'? | |
|
764 | (enter ? for help) [Ynesfdaq?] y | |||
743 |
|
765 | |||
744 | EDITOR: HG: Splitting 3a2125f0f4cb. Write commit message for the first split changeset. |
|
766 | EDITOR: HG: Splitting 3a2125f0f4cb. Write commit message for the first split changeset. | |
745 | EDITOR: make executable |
|
767 | EDITOR: make executable |
General Comments 0
You need to be logged in to leave comments.
Login now