comparison tests/test-patchbomb.out @ 4595:f7f2bd7f981d

test-patchbomb: fix non-existing --date parameter and filtering regexps.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 17 Jun 2007 19:39:47 +0200
parents d0be96c694f7
children 8e37342cb05d
comparison
equal deleted inserted replaced
4594:1e11e8b6acab 4595:f7f2bd7f981d
1 adding a 1 adding a
2 hg email: option --date not recognized 2 Content-Type: text/plain; charset="us-ascii"
3 hg email [OPTION]... [REV]... 3 MIME-Version: 1.0
4 Content-Transfer-Encoding: 7bit
5 Subject: [PATCH] a
6 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
7 Message-Id:
8 Date:
9 From: quux
10 To: foo
11 Cc: bar
4 12
5 send changesets as a series of patch emails 13 # HG changeset patch
14 # User test
15 # Date 1 0
16 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
17 # Parent 0000000000000000000000000000000000000000
18 a
6 19
7 The series starts with a "[PATCH 0 of N]" introduction, which 20 diff -r 000000000000 -r 8580ff50825a a
8 describes the series as a whole. 21 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
22 +++ b/a Thu Jan 01 00:00:01 1970 +0000
23 @@ -0,0 +1,1 @@
24 +a
9 25
10 Each patch email has a Subject line of "[PATCH M of N] ...", using 26 This patch series consists of 1 patches.
11 the first line of the changeset description as the subject text.
12 The message contains two or three body parts. First, the rest of
13 the changeset description. Next, (optionally) if the diffstat
14 program is installed, the result of running diffstat on the patch.
15 Finally, the patch itself, as generated by "hg export".
16 27
17 options:
18 28
19 -a --attach send patches as inline attachments 29 Displaying [PATCH] a ...
20 --bcc email addresses of blind copy recipients 30 adding b
21 -c --cc email addresses of copy recipients 31 Content-Type: text/plain; charset="us-ascii"
22 -d --diffstat add diffstat output to messages 32 MIME-Version: 1.0
23 -g --git use git extended diff format 33 Content-Transfer-Encoding: 7bit
24 -f --from email address of sender 34 Subject: [PATCH 0 of 2] test
25 --plain omit hg patch header 35 Message-Id:
26 -n --test print messages that would be sent 36 Date:
27 -m --mbox write messages to mbox file instead of sending them 37 From: quux
28 -s --subject subject of first message (intro or single patch) 38 To: foo
29 -t --to email addresses of recipients 39 Cc: bar
30 40
31 use "hg -v help email" to show global options 41 test
32 adding b
33 hg email: option --date not recognized
34 hg email [OPTION]... [REV]...
35 42
36 send changesets as a series of patch emails 43 Content-Type: text/plain; charset="us-ascii"
44 MIME-Version: 1.0
45 Content-Transfer-Encoding: 7bit
46 Subject: [PATCH 1 of 2] a
47 X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
48 Message-Id:
49 In-Reply-To:
50 Date:
51 From: quux
52 To: foo
53 Cc: bar
37 54
38 The series starts with a "[PATCH 0 of N]" introduction, which 55 # HG changeset patch
39 describes the series as a whole. 56 # User test
57 # Date 1 0
58 # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
59 # Parent 0000000000000000000000000000000000000000
60 a
40 61
41 Each patch email has a Subject line of "[PATCH M of N] ...", using 62 diff -r 000000000000 -r 8580ff50825a a
42 the first line of the changeset description as the subject text. 63 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
43 The message contains two or three body parts. First, the rest of 64 +++ b/a Thu Jan 01 00:00:01 1970 +0000
44 the changeset description. Next, (optionally) if the diffstat 65 @@ -0,0 +1,1 @@
45 program is installed, the result of running diffstat on the patch. 66 +a
46 Finally, the patch itself, as generated by "hg export".
47 67
48 options: 68 Content-Type: text/plain; charset="us-ascii"
69 MIME-Version: 1.0
70 Content-Transfer-Encoding: 7bit
71 Subject: [PATCH 2 of 2] b
72 X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
73 Message-Id:
74 In-Reply-To:
75 Date:
76 From: quux
77 To: foo
78 Cc: bar
49 79
50 -a --attach send patches as inline attachments 80 # HG changeset patch
51 --bcc email addresses of blind copy recipients 81 # User test
52 -c --cc email addresses of copy recipients 82 # Date 2 0
53 -d --diffstat add diffstat output to messages 83 # Node ID 97d72e5f12c7e84f85064aa72e5a297142c36ed9
54 -g --git use git extended diff format 84 # Parent 8580ff50825a50c8f716709acdf8de0deddcd6ab
55 -f --from email address of sender 85 b
56 --plain omit hg patch header
57 -n --test print messages that would be sent
58 -m --mbox write messages to mbox file instead of sending them
59 -s --subject subject of first message (intro or single patch)
60 -t --to email addresses of recipients
61 86
62 use "hg -v help email" to show global options 87 diff -r 8580ff50825a -r 97d72e5f12c7 b
88 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
89 +++ b/b Thu Jan 01 00:00:02 1970 +0000
90 @@ -0,0 +1,1 @@
91 +b
92
93 This patch series consists of 2 patches.
94
95
96 Write the introductory message for the patch series.
97
98 Finish with ^D or a dot on a line by itself.
99
100
101 Displaying [PATCH 0 of 2] test ...
102 Displaying [PATCH 1 of 2] a ...
103 Displaying [PATCH 2 of 2] b ...