123 $ hg record -d '3 0' -m delete<<EOF |
128 $ hg record -d '3 0' -m delete<<EOF |
124 > y |
129 > y |
125 > EOF |
130 > EOF |
126 diff --git a/empty-copy b/empty-copy |
131 diff --git a/empty-copy b/empty-copy |
127 deleted file mode 100644 |
132 deleted file mode 100644 |
128 examine changes to 'empty-copy'? [Ynesfdaq?] |
133 examine changes to 'empty-copy'? [Ynesfdaq?] y |
|
134 |
129 |
135 |
130 $ hg tip -p |
136 $ hg tip -p |
131 changeset: 3:b39a238f01a1 |
137 changeset: 3:b39a238f01a1 |
132 tag: tip |
138 tag: tip |
133 user: test |
139 user: test |
167 $ hg record -d '5 0' -m binary-change<<EOF |
174 $ hg record -d '5 0' -m binary-change<<EOF |
168 > y |
175 > y |
169 > EOF |
176 > EOF |
170 diff --git a/tip.bundle b/tip.bundle |
177 diff --git a/tip.bundle b/tip.bundle |
171 this modifies a binary file (all or nothing) |
178 this modifies a binary file (all or nothing) |
172 examine changes to 'tip.bundle'? [Ynesfdaq?] |
179 examine changes to 'tip.bundle'? [Ynesfdaq?] y |
|
180 |
173 |
181 |
174 $ hg tip -p |
182 $ hg tip -p |
175 changeset: 5:dccd6f3eb485 |
183 changeset: 5:dccd6f3eb485 |
176 tag: tip |
184 tag: tip |
177 user: test |
185 user: test |
192 > EOF |
200 > EOF |
193 diff --git a/tip.bundle b/top.bundle |
201 diff --git a/tip.bundle b/top.bundle |
194 rename from tip.bundle |
202 rename from tip.bundle |
195 rename to top.bundle |
203 rename to top.bundle |
196 this modifies a binary file (all or nothing) |
204 this modifies a binary file (all or nothing) |
197 examine changes to 'tip.bundle' and 'top.bundle'? [Ynesfdaq?] |
205 examine changes to 'tip.bundle' and 'top.bundle'? [Ynesfdaq?] y |
|
206 |
198 |
207 |
199 $ hg tip -p |
208 $ hg tip -p |
200 changeset: 6:7fa44105f5b3 |
209 changeset: 6:7fa44105f5b3 |
201 tag: tip |
210 tag: tip |
202 user: test |
211 user: test |
264 > y |
274 > y |
265 > y |
275 > y |
266 > EOF |
276 > EOF |
267 diff --git a/plain b/plain |
277 diff --git a/plain b/plain |
268 1 hunks, 1 lines changed |
278 1 hunks, 1 lines changed |
269 examine changes to 'plain'? [Ynesfdaq?] |
279 examine changes to 'plain'? [Ynesfdaq?] y |
|
280 |
270 @@ -8,3 +8,4 @@ 7 |
281 @@ -8,3 +8,4 @@ 7 |
271 8 |
282 8 |
272 9 |
283 9 |
273 10 |
284 10 |
274 +11 |
285 +11 |
275 record this change to 'plain'? [Ynesfdaq?] |
286 record this change to 'plain'? [Ynesfdaq?] y |
|
287 |
276 |
288 |
277 Modify end of plain file, no EOL |
289 Modify end of plain file, no EOL |
278 |
290 |
279 $ hg tip --template '{node}' >> plain |
291 $ hg tip --template '{node}' >> plain |
280 $ hg record -d '9 0' -m noeol plain <<EOF |
292 $ hg record -d '9 0' -m noeol plain <<EOF |
281 > y |
293 > y |
282 > y |
294 > y |
283 > EOF |
295 > EOF |
284 diff --git a/plain b/plain |
296 diff --git a/plain b/plain |
285 1 hunks, 1 lines changed |
297 1 hunks, 1 lines changed |
286 examine changes to 'plain'? [Ynesfdaq?] |
298 examine changes to 'plain'? [Ynesfdaq?] y |
|
299 |
287 @@ -9,3 +9,4 @@ |
300 @@ -9,3 +9,4 @@ |
288 9 |
301 9 |
289 10 |
302 10 |
290 11 |
303 11 |
291 +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
304 +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
292 \ No newline at end of file |
305 \ No newline at end of file |
293 record this change to 'plain'? [Ynesfdaq?] |
306 record this change to 'plain'? [Ynesfdaq?] y |
|
307 |
294 |
308 |
295 Modify end of plain file, add EOL |
309 Modify end of plain file, add EOL |
296 |
310 |
297 $ echo >> plain |
311 $ echo >> plain |
298 $ echo 1 > plain2 |
312 $ echo 1 > plain2 |
302 > y |
316 > y |
303 > y |
317 > y |
304 > EOF |
318 > EOF |
305 diff --git a/plain b/plain |
319 diff --git a/plain b/plain |
306 1 hunks, 1 lines changed |
320 1 hunks, 1 lines changed |
307 examine changes to 'plain'? [Ynesfdaq?] |
321 examine changes to 'plain'? [Ynesfdaq?] y |
|
322 |
308 @@ -9,4 +9,4 @@ |
323 @@ -9,4 +9,4 @@ |
309 9 |
324 9 |
310 10 |
325 10 |
311 11 |
326 11 |
312 -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
327 -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
313 \ No newline at end of file |
328 \ No newline at end of file |
314 +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
329 +7264f99c5f5ff3261504828afa4fb4d406c3af54 |
315 record change 1/2 to 'plain'? [Ynesfdaq?] |
330 record change 1/2 to 'plain'? [Ynesfdaq?] y |
|
331 |
316 diff --git a/plain2 b/plain2 |
332 diff --git a/plain2 b/plain2 |
317 new file mode 100644 |
333 new file mode 100644 |
318 examine changes to 'plain2'? [Ynesfdaq?] |
334 examine changes to 'plain2'? [Ynesfdaq?] y |
|
335 |
319 |
336 |
320 Modify beginning, trim end, record both, add another file to test |
337 Modify beginning, trim end, record both, add another file to test |
321 changes numbering |
338 changes numbering |
322 |
339 |
323 $ rm plain |
340 $ rm plain |
333 > y |
350 > y |
334 > y |
351 > y |
335 > EOF |
352 > EOF |
336 diff --git a/plain b/plain |
353 diff --git a/plain b/plain |
337 2 hunks, 3 lines changed |
354 2 hunks, 3 lines changed |
338 examine changes to 'plain'? [Ynesfdaq?] |
355 examine changes to 'plain'? [Ynesfdaq?] y |
|
356 |
339 @@ -1,4 +1,4 @@ |
357 @@ -1,4 +1,4 @@ |
340 -1 |
358 -1 |
341 +2 |
359 +2 |
342 2 |
360 2 |
343 3 |
361 3 |
344 4 |
362 4 |
345 record change 1/3 to 'plain'? [Ynesfdaq?] |
363 record change 1/3 to 'plain'? [Ynesfdaq?] y |
|
364 |
346 @@ -8,5 +8,3 @@ |
365 @@ -8,5 +8,3 @@ |
347 8 |
366 8 |
348 9 |
367 9 |
349 10 |
368 10 |
350 -11 |
369 -11 |
351 -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
370 -7264f99c5f5ff3261504828afa4fb4d406c3af54 |
352 record change 2/3 to 'plain'? [Ynesfdaq?] |
371 record change 2/3 to 'plain'? [Ynesfdaq?] y |
|
372 |
353 diff --git a/plain2 b/plain2 |
373 diff --git a/plain2 b/plain2 |
354 1 hunks, 1 lines changed |
374 1 hunks, 1 lines changed |
355 examine changes to 'plain2'? [Ynesfdaq?] |
375 examine changes to 'plain2'? [Ynesfdaq?] y |
|
376 |
356 @@ -1,1 +1,2 @@ |
377 @@ -1,1 +1,2 @@ |
357 1 |
378 1 |
358 +2 |
379 +2 |
359 record change 3/3 to 'plain2'? [Ynesfdaq?] |
380 record change 3/3 to 'plain2'? [Ynesfdaq?] y |
|
381 |
360 |
382 |
361 $ hg tip -p |
383 $ hg tip -p |
362 changeset: 11:21df83db12b8 |
384 changeset: 11:21df83db12b8 |
363 tag: tip |
385 tag: tip |
364 user: test |
386 user: test |
402 > n |
424 > n |
403 > y |
425 > y |
404 > EOF |
426 > EOF |
405 diff --git a/plain b/plain |
427 diff --git a/plain b/plain |
406 2 hunks, 4 lines changed |
428 2 hunks, 4 lines changed |
407 examine changes to 'plain'? [Ynesfdaq?] |
429 examine changes to 'plain'? [Ynesfdaq?] y |
|
430 |
408 @@ -1,9 +1,6 @@ |
431 @@ -1,9 +1,6 @@ |
409 -2 |
432 -2 |
410 -2 |
433 -2 |
411 -3 |
434 -3 |
412 4 |
435 4 |
413 5 |
436 5 |
414 6 |
437 6 |
415 7 |
438 7 |
416 8 |
439 8 |
417 9 |
440 9 |
418 record change 1/2 to 'plain'? [Ynesfdaq?] |
441 record change 1/2 to 'plain'? [Ynesfdaq?] n |
|
442 |
419 @@ -4,7 +1,7 @@ |
443 @@ -4,7 +1,7 @@ |
420 4 |
444 4 |
421 5 |
445 5 |
422 6 |
446 6 |
423 7 |
447 7 |
424 8 |
448 8 |
425 9 |
449 9 |
426 -10 |
450 -10 |
427 +10.new |
451 +10.new |
428 record change 2/2 to 'plain'? [Ynesfdaq?] |
452 record change 2/2 to 'plain'? [Ynesfdaq?] y |
|
453 |
429 |
454 |
430 $ hg tip -p |
455 $ hg tip -p |
431 changeset: 12:99337501826f |
456 changeset: 12:99337501826f |
432 tag: tip |
457 tag: tip |
433 user: test |
458 user: test |
451 > y |
476 > y |
452 > y |
477 > y |
453 > EOF |
478 > EOF |
454 diff --git a/plain b/plain |
479 diff --git a/plain b/plain |
455 1 hunks, 3 lines changed |
480 1 hunks, 3 lines changed |
456 examine changes to 'plain'? [Ynesfdaq?] |
481 examine changes to 'plain'? [Ynesfdaq?] y |
|
482 |
457 @@ -1,6 +1,3 @@ |
483 @@ -1,6 +1,3 @@ |
458 -2 |
484 -2 |
459 -2 |
485 -2 |
460 -3 |
486 -3 |
461 4 |
487 4 |
462 5 |
488 5 |
463 6 |
489 6 |
464 record this change to 'plain'? [Ynesfdaq?] |
490 record this change to 'plain'? [Ynesfdaq?] y |
|
491 |
465 |
492 |
466 $ hg tip -p |
493 $ hg tip -p |
467 changeset: 13:bbd45465d540 |
494 changeset: 13:bbd45465d540 |
468 tag: tip |
495 tag: tip |
469 user: test |
496 user: test |
496 > n |
523 > n |
497 > y |
524 > y |
498 > EOF |
525 > EOF |
499 diff --git a/plain b/plain |
526 diff --git a/plain b/plain |
500 2 hunks, 4 lines changed |
527 2 hunks, 4 lines changed |
501 examine changes to 'plain'? [Ynesfdaq?] |
528 examine changes to 'plain'? [Ynesfdaq?] y |
|
529 |
502 @@ -1,6 +1,9 @@ |
530 @@ -1,6 +1,9 @@ |
503 +1 |
531 +1 |
504 +2 |
532 +2 |
505 +3 |
533 +3 |
506 4 |
534 4 |
507 5 |
535 5 |
508 6 |
536 6 |
509 7 |
537 7 |
510 8 |
538 8 |
511 9 |
539 9 |
512 record change 1/2 to 'plain'? [Ynesfdaq?] |
540 record change 1/2 to 'plain'? [Ynesfdaq?] n |
|
541 |
513 @@ -1,7 +4,6 @@ |
542 @@ -1,7 +4,6 @@ |
514 4 |
543 4 |
515 5 |
544 5 |
516 6 |
545 6 |
517 7 |
546 7 |
518 8 |
547 8 |
519 9 |
548 9 |
520 -10.new |
549 -10.new |
521 record change 2/2 to 'plain'? [Ynesfdaq?] |
550 record change 2/2 to 'plain'? [Ynesfdaq?] y |
|
551 |
522 |
552 |
523 Add to beginning, middle, end |
553 Add to beginning, middle, end |
524 |
554 |
525 $ rm plain |
555 $ rm plain |
526 $ for i in 1 2 3 4 5 5.new 5.reallynew 6 7 8 9 10 11; do |
556 $ for i in 1 2 3 4 5 5.new 5.reallynew 6 7 8 9 10 11; do |
535 > y |
565 > y |
536 > n |
566 > n |
537 > EOF |
567 > EOF |
538 diff --git a/plain b/plain |
568 diff --git a/plain b/plain |
539 3 hunks, 7 lines changed |
569 3 hunks, 7 lines changed |
540 examine changes to 'plain'? [Ynesfdaq?] |
570 examine changes to 'plain'? [Ynesfdaq?] y |
|
571 |
541 @@ -1,2 +1,5 @@ |
572 @@ -1,2 +1,5 @@ |
542 +1 |
573 +1 |
543 +2 |
574 +2 |
544 +3 |
575 +3 |
545 4 |
576 4 |
546 5 |
577 5 |
547 record change 1/3 to 'plain'? [Ynesfdaq?] |
578 record change 1/3 to 'plain'? [Ynesfdaq?] y |
|
579 |
548 @@ -1,6 +4,8 @@ |
580 @@ -1,6 +4,8 @@ |
549 4 |
581 4 |
550 5 |
582 5 |
551 +5.new |
583 +5.new |
552 +5.reallynew |
584 +5.reallynew |
553 6 |
585 6 |
554 7 |
586 7 |
555 8 |
587 8 |
556 9 |
588 9 |
557 record change 2/3 to 'plain'? [Ynesfdaq?] |
589 record change 2/3 to 'plain'? [Ynesfdaq?] y |
|
590 |
558 @@ -3,4 +8,6 @@ |
591 @@ -3,4 +8,6 @@ |
559 6 |
592 6 |
560 7 |
593 7 |
561 8 |
594 8 |
562 9 |
595 9 |
563 +10 |
596 +10 |
564 +11 |
597 +11 |
565 record change 3/3 to 'plain'? [Ynesfdaq?] |
598 record change 3/3 to 'plain'? [Ynesfdaq?] n |
|
599 |
566 |
600 |
567 $ hg tip -p |
601 $ hg tip -p |
568 changeset: 15:f34a7937ec33 |
602 changeset: 15:f34a7937ec33 |
569 tag: tip |
603 tag: tip |
570 user: test |
604 user: test |
593 > y |
627 > y |
594 > y |
628 > y |
595 > EOF |
629 > EOF |
596 diff --git a/plain b/plain |
630 diff --git a/plain b/plain |
597 1 hunks, 2 lines changed |
631 1 hunks, 2 lines changed |
598 examine changes to 'plain'? [Ynesfdaq?] |
632 examine changes to 'plain'? [Ynesfdaq?] y |
|
633 |
599 @@ -9,3 +9,5 @@ |
634 @@ -9,3 +9,5 @@ |
600 7 |
635 7 |
601 8 |
636 8 |
602 9 |
637 9 |
603 +10 |
638 +10 |
604 +11 |
639 +11 |
605 record this change to 'plain'? [Ynesfdaq?] |
640 record this change to 'plain'? [Ynesfdaq?] y |
|
641 |
606 |
642 |
607 $ hg tip -p |
643 $ hg tip -p |
608 changeset: 16:f9900b71a04c |
644 changeset: 16:f9900b71a04c |
609 tag: tip |
645 tag: tip |
610 user: test |
646 user: test |
633 > y |
669 > y |
634 > y |
670 > y |
635 > EOF |
671 > EOF |
636 diff --git a/subdir/a b/subdir/a |
672 diff --git a/subdir/a b/subdir/a |
637 1 hunks, 1 lines changed |
673 1 hunks, 1 lines changed |
638 examine changes to 'subdir/a'? [Ynesfdaq?] |
674 examine changes to 'subdir/a'? [Ynesfdaq?] y |
|
675 |
639 @@ -1,1 +1,2 @@ |
676 @@ -1,1 +1,2 @@ |
640 a |
677 a |
641 +a |
678 +a |
642 record this change to 'subdir/a'? [Ynesfdaq?] |
679 record this change to 'subdir/a'? [Ynesfdaq?] y |
|
680 |
643 |
681 |
644 $ hg tip -p |
682 $ hg tip -p |
645 changeset: 18:61be427a9deb |
683 changeset: 18:61be427a9deb |
646 tag: tip |
684 tag: tip |
647 user: test |
685 user: test |
671 > ? |
709 > ? |
672 > q |
710 > q |
673 > EOF |
711 > EOF |
674 diff --git a/subdir/f1 b/subdir/f1 |
712 diff --git a/subdir/f1 b/subdir/f1 |
675 1 hunks, 1 lines changed |
713 1 hunks, 1 lines changed |
676 examine changes to 'subdir/f1'? [Ynesfdaq?] |
714 examine changes to 'subdir/f1'? [Ynesfdaq?] ? |
|
715 |
677 y - yes, record this change |
716 y - yes, record this change |
678 n - no, skip this change |
717 n - no, skip this change |
679 e - edit this change manually |
718 e - edit this change manually |
680 s - skip remaining changes to this file |
719 s - skip remaining changes to this file |
681 f - record remaining changes to this file |
720 f - record remaining changes to this file |
682 d - done, skip remaining changes and files |
721 d - done, skip remaining changes and files |
683 a - record all changes to all remaining files |
722 a - record all changes to all remaining files |
684 q - quit, recording no changes |
723 q - quit, recording no changes |
685 ? - ? (display help) |
724 ? - ? (display help) |
686 examine changes to 'subdir/f1'? [Ynesfdaq?] |
725 examine changes to 'subdir/f1'? [Ynesfdaq?] q |
|
726 |
687 abort: user quit |
727 abort: user quit |
688 [255] |
728 [255] |
689 |
729 |
690 Skip |
730 Skip |
691 |
731 |
692 $ hg record <<EOF |
732 $ hg record <<EOF |
693 > s |
733 > s |
694 > EOF |
734 > EOF |
695 diff --git a/subdir/f1 b/subdir/f1 |
735 diff --git a/subdir/f1 b/subdir/f1 |
696 1 hunks, 1 lines changed |
736 1 hunks, 1 lines changed |
697 examine changes to 'subdir/f1'? [Ynesfdaq?] |
737 examine changes to 'subdir/f1'? [Ynesfdaq?] s |
|
738 |
698 diff --git a/subdir/f2 b/subdir/f2 |
739 diff --git a/subdir/f2 b/subdir/f2 |
699 1 hunks, 1 lines changed |
740 1 hunks, 1 lines changed |
700 examine changes to 'subdir/f2'? [Ynesfdaq?] abort: response expected |
741 examine changes to 'subdir/f2'? [Ynesfdaq?] abort: response expected |
701 [255] |
742 [255] |
702 |
743 |
705 $ hg record <<EOF |
746 $ hg record <<EOF |
706 > n |
747 > n |
707 > EOF |
748 > EOF |
708 diff --git a/subdir/f1 b/subdir/f1 |
749 diff --git a/subdir/f1 b/subdir/f1 |
709 1 hunks, 1 lines changed |
750 1 hunks, 1 lines changed |
710 examine changes to 'subdir/f1'? [Ynesfdaq?] |
751 examine changes to 'subdir/f1'? [Ynesfdaq?] n |
|
752 |
711 diff --git a/subdir/f2 b/subdir/f2 |
753 diff --git a/subdir/f2 b/subdir/f2 |
712 1 hunks, 1 lines changed |
754 1 hunks, 1 lines changed |
713 examine changes to 'subdir/f2'? [Ynesfdaq?] abort: response expected |
755 examine changes to 'subdir/f2'? [Ynesfdaq?] abort: response expected |
714 [255] |
756 [255] |
715 |
757 |
719 > f |
761 > f |
720 > q |
762 > q |
721 > EOF |
763 > EOF |
722 diff --git a/subdir/f1 b/subdir/f1 |
764 diff --git a/subdir/f1 b/subdir/f1 |
723 1 hunks, 1 lines changed |
765 1 hunks, 1 lines changed |
724 examine changes to 'subdir/f1'? [Ynesfdaq?] |
766 examine changes to 'subdir/f1'? [Ynesfdaq?] f |
|
767 |
725 diff --git a/subdir/f2 b/subdir/f2 |
768 diff --git a/subdir/f2 b/subdir/f2 |
726 1 hunks, 1 lines changed |
769 1 hunks, 1 lines changed |
727 examine changes to 'subdir/f2'? [Ynesfdaq?] |
770 examine changes to 'subdir/f2'? [Ynesfdaq?] q |
|
771 |
728 abort: user quit |
772 abort: user quit |
729 [255] |
773 [255] |
730 |
774 |
731 s, all |
775 s, all |
732 |
776 |
734 > s |
778 > s |
735 > a |
779 > a |
736 > EOF |
780 > EOF |
737 diff --git a/subdir/f1 b/subdir/f1 |
781 diff --git a/subdir/f1 b/subdir/f1 |
738 1 hunks, 1 lines changed |
782 1 hunks, 1 lines changed |
739 examine changes to 'subdir/f1'? [Ynesfdaq?] |
783 examine changes to 'subdir/f1'? [Ynesfdaq?] s |
|
784 |
740 diff --git a/subdir/f2 b/subdir/f2 |
785 diff --git a/subdir/f2 b/subdir/f2 |
741 1 hunks, 1 lines changed |
786 1 hunks, 1 lines changed |
742 examine changes to 'subdir/f2'? [Ynesfdaq?] |
787 examine changes to 'subdir/f2'? [Ynesfdaq?] a |
|
788 |
743 |
789 |
744 $ hg tip -p |
790 $ hg tip -p |
745 changeset: 20:b3df3dda369a |
791 changeset: 20:b3df3dda369a |
746 tag: tip |
792 tag: tip |
747 user: test |
793 user: test |
761 $ hg record -d '19 0' -my <<EOF |
807 $ hg record -d '19 0' -my <<EOF |
762 > f |
808 > f |
763 > EOF |
809 > EOF |
764 diff --git a/subdir/f1 b/subdir/f1 |
810 diff --git a/subdir/f1 b/subdir/f1 |
765 1 hunks, 1 lines changed |
811 1 hunks, 1 lines changed |
766 examine changes to 'subdir/f1'? [Ynesfdaq?] |
812 examine changes to 'subdir/f1'? [Ynesfdaq?] f |
|
813 |
767 |
814 |
768 $ hg tip -p |
815 $ hg tip -p |
769 changeset: 21:38ec577f126b |
816 changeset: 21:38ec577f126b |
770 tag: tip |
817 tag: tip |
771 user: test |
818 user: test |
793 > EOF |
840 > EOF |
794 diff --git a/subdir/f1 b/subdir/f1 |
841 diff --git a/subdir/f1 b/subdir/f1 |
795 old mode 100644 |
842 old mode 100644 |
796 new mode 100755 |
843 new mode 100755 |
797 1 hunks, 1 lines changed |
844 1 hunks, 1 lines changed |
798 examine changes to 'subdir/f1'? [Ynesfdaq?] |
845 examine changes to 'subdir/f1'? [Ynesfdaq?] y |
|
846 |
799 @@ -1,2 +1,3 @@ |
847 @@ -1,2 +1,3 @@ |
800 a |
848 a |
801 a |
849 a |
802 +a |
850 +a |
803 record this change to 'subdir/f1'? [Ynesfdaq?] |
851 record this change to 'subdir/f1'? [Ynesfdaq?] y |
|
852 |
804 |
853 |
805 $ hg tip --config diff.git=True -p |
854 $ hg tip --config diff.git=True -p |
806 changeset: 22:3261adceb075 |
855 changeset: 22:3261adceb075 |
807 tag: tip |
856 tag: tip |
808 user: test |
857 user: test |
828 > y |
877 > y |
829 > y |
878 > y |
830 > EOF |
879 > EOF |
831 diff --git a/subdir/f1 b/subdir/f1 |
880 diff --git a/subdir/f1 b/subdir/f1 |
832 1 hunks, 1 lines changed |
881 1 hunks, 1 lines changed |
833 examine changes to 'subdir/f1'? [Ynesfdaq?] |
882 examine changes to 'subdir/f1'? [Ynesfdaq?] y |
|
883 |
834 @@ -1,3 +1,4 @@ |
884 @@ -1,3 +1,4 @@ |
835 a |
885 a |
836 a |
886 a |
837 a |
887 a |
838 +b |
888 +b |
839 record this change to 'subdir/f1'? [Ynesfdaq?] |
889 record this change to 'subdir/f1'? [Ynesfdaq?] y |
|
890 |
840 |
891 |
841 $ hg tip --config diff.git=True -p |
892 $ hg tip --config diff.git=True -p |
842 changeset: 23:b429867550db |
893 changeset: 23:b429867550db |
843 tag: tip |
894 tag: tip |
844 user: test |
895 user: test |
866 > EOF |
917 > EOF |
867 diff --git a/subdir/f1 b/subdir/f1 |
918 diff --git a/subdir/f1 b/subdir/f1 |
868 old mode 100755 |
919 old mode 100755 |
869 new mode 100644 |
920 new mode 100644 |
870 1 hunks, 1 lines changed |
921 1 hunks, 1 lines changed |
871 examine changes to 'subdir/f1'? [Ynesfdaq?] |
922 examine changes to 'subdir/f1'? [Ynesfdaq?] y |
|
923 |
872 @@ -2,3 +2,4 @@ |
924 @@ -2,3 +2,4 @@ |
873 a |
925 a |
874 a |
926 a |
875 b |
927 b |
876 +c |
928 +c |
877 record this change to 'subdir/f1'? [Ynesfdaq?] |
929 record this change to 'subdir/f1'? [Ynesfdaq?] y |
|
930 |
878 |
931 |
879 $ hg tip --config diff.git=True -p |
932 $ hg tip --config diff.git=True -p |
880 changeset: 24:0b082130c20a |
933 changeset: 24:0b082130c20a |
881 tag: tip |
934 tag: tip |
882 user: test |
935 user: test |
1060 > y |
1113 > y |
1061 > e |
1114 > e |
1062 > EOF |
1115 > EOF |
1063 diff --git a/editedfile b/editedfile |
1116 diff --git a/editedfile b/editedfile |
1064 1 hunks, 2 lines changed |
1117 1 hunks, 2 lines changed |
1065 examine changes to 'editedfile'? [Ynesfdaq?] |
1118 examine changes to 'editedfile'? [Ynesfdaq?] y |
|
1119 |
1066 @@ -1,3 +1,3 @@ |
1120 @@ -1,3 +1,3 @@ |
1067 -This is the first line |
1121 -This is the first line |
1068 -This is the second line |
1122 -This is the second line |
1069 +This line has changed |
1123 +This line has changed |
1070 +This change will be committed |
1124 +This change will be committed |
1071 This is the third line |
1125 This is the third line |
1072 record this change to 'editedfile'? [Ynesfdaq?] |
1126 record this change to 'editedfile'? [Ynesfdaq?] e |
|
1127 |
1073 $ cat editedfile |
1128 $ cat editedfile |
1074 This line has changed |
1129 This line has changed |
1075 This change will be committed |
1130 This change will be committed |
1076 This is the third line |
1131 This is the third line |
1077 $ hg cat -r tip editedfile |
1132 $ hg cat -r tip editedfile |
1087 > e |
1142 > e |
1088 > q |
1143 > q |
1089 > EOF |
1144 > EOF |
1090 diff --git a/editedfile b/editedfile |
1145 diff --git a/editedfile b/editedfile |
1091 1 hunks, 1 lines changed |
1146 1 hunks, 1 lines changed |
1092 examine changes to 'editedfile'? [Ynesfdaq?] |
1147 examine changes to 'editedfile'? [Ynesfdaq?] e |
|
1148 |
1093 cannot edit patch for whole file |
1149 cannot edit patch for whole file |
1094 examine changes to 'editedfile'? [Ynesfdaq?] |
1150 examine changes to 'editedfile'? [Ynesfdaq?] q |
|
1151 |
1095 abort: user quit |
1152 abort: user quit |
1096 [255] |
1153 [255] |
1097 $ hg revert editedfile |
1154 $ hg revert editedfile |
1098 |
1155 |
1099 Removing changes from patch |
1156 Removing changes from patch |
1109 > y |
1166 > y |
1110 > e |
1167 > e |
1111 > EOF |
1168 > EOF |
1112 diff --git a/editedfile b/editedfile |
1169 diff --git a/editedfile b/editedfile |
1113 1 hunks, 3 lines changed |
1170 1 hunks, 3 lines changed |
1114 examine changes to 'editedfile'? [Ynesfdaq?] |
1171 examine changes to 'editedfile'? [Ynesfdaq?] y |
|
1172 |
1115 @@ -1,3 +1,3 @@ |
1173 @@ -1,3 +1,3 @@ |
1116 -This is the first line |
1174 -This is the first line |
1117 -This change will be committed |
1175 -This change will be committed |
1118 -This is the third line |
1176 -This is the third line |
1119 +This change will not be committed |
1177 +This change will not be committed |
1120 +This is the second line |
1178 +This is the second line |
1121 +This line has been added |
1179 +This line has been added |
1122 record this change to 'editedfile'? [Ynesfdaq?] |
1180 record this change to 'editedfile'? [Ynesfdaq?] e |
|
1181 |
1123 no changes to record |
1182 no changes to record |
1124 $ cat editedfile |
1183 $ cat editedfile |
1125 This change will not be committed |
1184 This change will not be committed |
1126 This is the second line |
1185 This is the second line |
1127 This line has been added |
1186 This line has been added |
1144 > y |
1203 > y |
1145 > e |
1204 > e |
1146 > EOF |
1205 > EOF |
1147 diff --git a/editedfile b/editedfile |
1206 diff --git a/editedfile b/editedfile |
1148 1 hunks, 3 lines changed |
1207 1 hunks, 3 lines changed |
1149 examine changes to 'editedfile'? [Ynesfdaq?] |
1208 examine changes to 'editedfile'? [Ynesfdaq?] y |
|
1209 |
1150 @@ -1,3 +1,3 @@ |
1210 @@ -1,3 +1,3 @@ |
1151 -This is the first line |
1211 -This is the first line |
1152 -This change will be committed |
1212 -This change will be committed |
1153 -This is the third line |
1213 -This is the third line |
1154 +This change will not be committed |
1214 +This change will not be committed |
1155 +This is the second line |
1215 +This is the second line |
1156 +This line has been added |
1216 +This line has been added |
1157 record this change to 'editedfile'? [Ynesfdaq?] |
1217 record this change to 'editedfile'? [Ynesfdaq?] e |
|
1218 |
1158 patching file editedfile |
1219 patching file editedfile |
1159 Hunk #1 FAILED at 0 |
1220 Hunk #1 FAILED at 0 |
1160 1 out of 1 hunks FAILED -- saving rejects to file editedfile.rej |
1221 1 out of 1 hunks FAILED -- saving rejects to file editedfile.rej |
1161 abort: patch failed to apply |
1222 abort: patch failed to apply |
1162 [255] |
1223 [255] |
1189 > y |
1250 > y |
1190 > e |
1251 > e |
1191 > EOF |
1252 > EOF |
1192 diff --git a/editedfile b/editedfile |
1253 diff --git a/editedfile b/editedfile |
1193 1 hunks, 3 lines changed |
1254 1 hunks, 3 lines changed |
1194 examine changes to 'editedfile'? [Ynesfdaq?] |
1255 examine changes to 'editedfile'? [Ynesfdaq?] y |
|
1256 |
1195 @@ -1,3 +1,3 @@ |
1257 @@ -1,3 +1,3 @@ |
1196 -This is the first line |
1258 -This is the first line |
1197 -This change will be committed |
1259 -This change will be committed |
1198 -This is the third line |
1260 -This is the third line |
1199 +This change will not be committed |
1261 +This change will not be committed |
1200 +This is the second line |
1262 +This is the second line |
1201 +This line has been added |
1263 +This line has been added |
1202 record this change to 'editedfile'? [Ynesfdaq?] |
1264 record this change to 'editedfile'? [Ynesfdaq?] e |
|
1265 |
1203 abort: error parsing patch: unhandled transition: range -> range |
1266 abort: error parsing patch: unhandled transition: range -> range |
1204 [255] |
1267 [255] |
1205 |
1268 |
1206 random text in random positions is still an error |
1269 random text in random positions is still an error |
1207 |
1270 |
1214 > y |
1277 > y |
1215 > e |
1278 > e |
1216 > EOF |
1279 > EOF |
1217 diff --git a/editedfile b/editedfile |
1280 diff --git a/editedfile b/editedfile |
1218 1 hunks, 3 lines changed |
1281 1 hunks, 3 lines changed |
1219 examine changes to 'editedfile'? [Ynesfdaq?] |
1282 examine changes to 'editedfile'? [Ynesfdaq?] y |
|
1283 |
1220 @@ -1,3 +1,3 @@ |
1284 @@ -1,3 +1,3 @@ |
1221 -This is the first line |
1285 -This is the first line |
1222 -This change will be committed |
1286 -This change will be committed |
1223 -This is the third line |
1287 -This is the third line |
1224 +This change will not be committed |
1288 +This change will not be committed |
1225 +This is the second line |
1289 +This is the second line |
1226 +This line has been added |
1290 +This line has been added |
1227 record this change to 'editedfile'? [Ynesfdaq?] |
1291 record this change to 'editedfile'? [Ynesfdaq?] e |
|
1292 |
1228 abort: error parsing patch: unhandled transition: file -> other |
1293 abort: error parsing patch: unhandled transition: file -> other |
1229 [255] |
1294 [255] |
1230 |
1295 |
1231 $ hg up -C |
1296 $ hg up -C |
1232 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1297 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1252 > y |
1317 > y |
1253 > y |
1318 > y |
1254 > EOF |
1319 > EOF |
1255 diff --git a/subdir/f1 b/subdir/f1 |
1320 diff --git a/subdir/f1 b/subdir/f1 |
1256 1 hunks, 1 lines changed |
1321 1 hunks, 1 lines changed |
1257 examine changes to 'subdir/f1'? [Ynesfdaq?] |
1322 examine changes to 'subdir/f1'? [Ynesfdaq?] y |
|
1323 |
1258 @@ -3,3 +3,4 @@ |
1324 @@ -3,3 +3,4 @@ |
1259 a |
1325 a |
1260 b |
1326 b |
1261 c |
1327 c |
1262 +d |
1328 +d |
1263 record this change to 'subdir/f1'? [Ynesfdaq?] |
1329 record this change to 'subdir/f1'? [Ynesfdaq?] y |
|
1330 |
1264 |
1331 |
1265 $ hg tip -p |
1332 $ hg tip -p |
1266 changeset: 28:* (glob) |
1333 changeset: 28:* (glob) |
1267 tag: tip |
1334 tag: tip |
1268 user: test |
1335 user: test |
1285 > y |
1352 > y |
1286 > y |
1353 > y |
1287 > EOF |
1354 > EOF |
1288 diff --git a/subdir/f1 b/subdir/f1 |
1355 diff --git a/subdir/f1 b/subdir/f1 |
1289 1 hunks, 1 lines changed |
1356 1 hunks, 1 lines changed |
1290 examine changes to 'subdir/f1'? [Ynesfdaq?] |
1357 examine changes to 'subdir/f1'? [Ynesfdaq?] y |
|
1358 |
1291 @@ -4,3 +4,4 @@ |
1359 @@ -4,3 +4,4 @@ |
1292 b |
1360 b |
1293 c |
1361 c |
1294 d |
1362 d |
1295 +e |
1363 +e |
1296 record this change to 'subdir/f1'? [Ynesfdaq?] |
1364 record this change to 'subdir/f1'? [Ynesfdaq?] y |
|
1365 |
1297 $ hg log --template '{author}\n' -l 1 |
1366 $ hg log --template '{author}\n' -l 1 |
1298 xyz |
1367 xyz |
1299 $ HGUSER="test" |
1368 $ HGUSER="test" |
1300 $ export HGUSER |
1369 $ export HGUSER |
1301 |
1370 |