Show More
@@ -692,6 +692,11 b' verify pathauditor blocks evil filepaths' | |||
|
692 | 692 | |
|
693 | 693 | test that text below the --- >8 --- special string is ignored |
|
694 | 694 | |
|
695 | $ cat <<'EOF' > $TESTTMP/lowercaseline.sh | |
|
696 | > cat $1 | sed s/LINE/line/ | tee $1.new | |
|
697 | > mv $1.new $1 | |
|
698 | > EOF | |
|
699 | ||
|
695 | 700 | $ hg init ignore_below_special_string |
|
696 | 701 | $ cd ignore_below_special_string |
|
697 | 702 | $ echo foo > foo |
@@ -699,7 +704,7 b' test that text below the --- >8 --- spec' | |||
|
699 | 704 | $ hg commit -m "foo" |
|
700 | 705 | $ cat >> .hg/hgrc <<EOF |
|
701 | 706 | > [committemplate] |
|
702 |
> changeset.commit = first |
|
|
707 | > changeset.commit = first LINE | |
|
703 | 708 | > HG: this is customized commit template |
|
704 | 709 | > HG: {extramsg} |
|
705 | 710 | > HG: ------------------------ >8 ------------------------ |
@@ -707,7 +712,7 b' test that text below the --- >8 --- spec' | |||
|
707 | 712 | > EOF |
|
708 | 713 | $ echo foo2 > foo2 |
|
709 | 714 | $ hg add foo2 |
|
710 | $ HGEDITOR=cat hg ci | |
|
715 | $ HGEDITOR="sh $TESTTMP/lowercaseline.sh" hg ci | |
|
711 | 716 | first line |
|
712 | 717 | HG: this is customized commit template |
|
713 | 718 | HG: Leave message empty to abort commit. |
@@ -725,7 +730,7 b' a line' | |||
|
725 | 730 | |
|
726 | 731 | $ cat >> .hg/hgrc <<EOF |
|
727 | 732 | > [committemplate] |
|
728 |
> changeset.commit = first |
|
|
733 | > changeset.commit = first LINE2 | |
|
729 | 734 | > another line HG: ------------------------ >8 ------------------------ |
|
730 | 735 | > HG: this is customized commit template |
|
731 | 736 | > HG: {extramsg} |
@@ -733,7 +738,7 b' a line' | |||
|
733 | 738 | > {diff()} |
|
734 | 739 | > EOF |
|
735 | 740 | $ echo foo >> foo |
|
736 | $ HGEDITOR=cat hg ci | |
|
741 | $ HGEDITOR="sh $TESTTMP/lowercaseline.sh" hg ci | |
|
737 | 742 | first line2 |
|
738 | 743 | another line HG: ------------------------ >8 ------------------------ |
|
739 | 744 | HG: this is customized commit template |
@@ -754,7 +759,7 b' at the end' | |||
|
754 | 759 | |
|
755 | 760 | $ cat >> .hg/hgrc <<EOF |
|
756 | 761 | > [committemplate] |
|
757 |
> changeset.commit = first |
|
|
762 | > changeset.commit = first LINE3 | |
|
758 | 763 | > HG: ------------------------ >8 ------------------------foobar |
|
759 | 764 | > second line |
|
760 | 765 | > HG: this is customized commit template |
@@ -763,7 +768,7 b' at the end' | |||
|
763 | 768 | > {diff()} |
|
764 | 769 | > EOF |
|
765 | 770 | $ echo foo >> foo |
|
766 | $ HGEDITOR=cat hg ci | |
|
771 | $ HGEDITOR="sh $TESTTMP/lowercaseline.sh" hg ci | |
|
767 | 772 | first line3 |
|
768 | 773 | HG: ------------------------ >8 ------------------------foobar |
|
769 | 774 | second line |
General Comments 0
You need to be logged in to leave comments.
Login now