comparison tests/test-patchbomb.out @ 10734:7a0502a6f9a1

patchbomb: --desc implies --intro For a single patch, an introductory text should not remain unsent if --intro has been omitted, as the intent of --desc is clear.
author Cédric Duval <cedricduval@free.fr>
date Mon, 15 Mar 2010 22:37:38 +0100
parents 15fbbc939373
children f66ca4431eb9
comparison
equal deleted inserted replaced
10731:71cf11f03b3d 10734:7a0502a6f9a1
938 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 938 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
939 +++ b/c Thu Jan 01 00:00:03 1970 +0000 939 +++ b/c Thu Jan 01 00:00:03 1970 +0000
940 @@ -0,0 +1,1 @@ 940 @@ -0,0 +1,1 @@
941 +c 941 +c
942 942
943 % test --desc without --intro for a single patch
944 This patch series consists of 1 patches.
945
946
947 Displaying [PATCH 0 of 1] test ...
948 Content-Type: text/plain; charset="us-ascii"
949 MIME-Version: 1.0
950 Content-Transfer-Encoding: 7bit
951 Subject: [PATCH 0 of 1] test
952 Message-Id: <patchbomb.60@
953 User-Agent: Mercurial-patchbomb
954 Date: Thu, 01 Jan 1970 00:01:00 +0000
955 From: quux
956 To: foo
957 Cc: bar
958
959 foo
960
961 Displaying [PATCH 1 of 1] c ...
962 Content-Type: text/plain; charset="us-ascii"
963 MIME-Version: 1.0
964 Content-Transfer-Encoding: 7bit
965 Subject: [PATCH 1 of 1] c
966 X-Mercurial-Node: ff2c9fa2018b15fa74b33363bda9527323e2a99f
967 Message-Id: <ff2c9fa2018b15fa74b3.61@
968 In-Reply-To: <patchbomb.60@
969 References: <patchbomb.60@
970 User-Agent: Mercurial-patchbomb
971 Date: Thu, 01 Jan 1970 00:01:01 +0000
972 From: quux
973 To: foo
974 Cc: bar
975
976 # HG changeset patch
977 # User test
978 # Date 3 0
979 # Node ID ff2c9fa2018b15fa74b33363bda9527323e2a99f
980 # Parent 97d72e5f12c7e84f85064aa72e5a297142c36ed9
981 c
982
983 diff -r 97d72e5f12c7 -r ff2c9fa2018b c
984 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
985 +++ b/c Thu Jan 01 00:00:03 1970 +0000
986 @@ -0,0 +1,1 @@
987 +c
988
943 % test intro for multiple patches 989 % test intro for multiple patches
944 This patch series consists of 2 patches. 990 This patch series consists of 2 patches.
945 991
946 992
947 Write the introductory message for the patch series. 993 Write the introductory message for the patch series.