comparison tests/test-patchbomb.out @ 4421:d0be96c694f7

Fix up patchbomb test
author Brendan Cully <brendan@kublai.com>
date Tue, 08 May 2007 12:36:34 -0700
parents b0656b33cc02
children 94cb7561337d
comparison
equal deleted inserted replaced
4420:b0656b33cc02 4421:d0be96c694f7
1 adding a 1 adding a
2 hg email: option --date not recognized 2 hg email: option --date not recognized
3 hg email [OPTION]... [DEST]... 3 hg email [OPTION]... [REV]...
4 4
5 send changesets by email 5 send changesets as a series of patch emails
6 6
7 By default, diffs are sent in the format generated by hg export, 7 The series starts with a "[PATCH 0 of N]" introduction, which
8 one per message. The series starts with a "[PATCH 0 of N]" 8 describes the series as a whole.
9 introduction, which describes the series as a whole.
10 9
11 Each patch email has a Subject line of "[PATCH M of N] ...", using 10 Each patch email has a Subject line of "[PATCH M of N] ...", using
12 the first line of the changeset description as the subject text. 11 the first line of the changeset description as the subject text.
13 The message contains two or three body parts. First, the rest of 12 The message contains two or three body parts. First, the rest of
14 the changeset description. Next, (optionally) if the diffstat 13 the changeset description. Next, (optionally) if the diffstat
15 program is installed, the result of running diffstat on the patch. 14 program is installed, the result of running diffstat on the patch.
16 Finally, the patch itself, as generated by "hg export". 15 Finally, the patch itself, as generated by "hg export".
17 16
18 With --outgoing, emails will be generated for patches not
19 found in the destination repository (or only those which are
20 ancestors of the specified revisions if any are provided)
21
22 With --bundle, changesets are selected as for --outgoing,
23 but a single email containing a binary Mercurial bundle as an
24 attachment will be sent.
25
26 Examples:
27
28 hg email -r 3000 # send patch 3000 only
29 hg email -r 3000 -r 3001 # send patches 3000 and 3001
30 hg email -r 3000:3005 # send patches 3000 through 3005
31 hg email 3000 # send patch 3000 (deprecated)
32
33 hg email -o # send all patches not in default
34 hg email -o DEST # send all patches not in DEST
35 hg email -o -r 3000 # send all ancestors of 3000 not in default
36 hg email -o -r 3000 DEST # send all ancestors of 3000 not in DEST
37
38 hg email -b # send bundle of all patches not in default
39 hg email -b DEST # send bundle of all patches not in DEST
40 hg email -b -r 3000 # bundle of all ancestors of 3000 not in default
41 hg email -b -r 3000 DEST # bundle of all ancestors of 3000 not in DEST
42
43 Before using this command, you will need to enable email in your hgrc.
44 See the [email] section in hgrc(5) for details.
45
46 options: 17 options:
47 18
48 -a --attach send patches as inline attachments 19 -a --attach send patches as inline attachments
49 --bcc email addresses of blind copy recipients 20 --bcc email addresses of blind copy recipients
50 -c --cc email addresses of copy recipients 21 -c --cc email addresses of copy recipients
51 -d --diffstat add diffstat output to messages 22 -d --diffstat add diffstat output to messages
52 -g --git use git extended diff format 23 -g --git use git extended diff format
53 -f --from email address of sender 24 -f --from email address of sender
54 --plain omit hg patch header 25 --plain omit hg patch header
55 -n --test print messages that would be sent 26 -n --test print messages that would be sent
56 -m --mbox write messages to mbox file instead of sending them 27 -m --mbox write messages to mbox file instead of sending them
57 -o --outgoing send changes not found in the target repository 28 -s --subject subject of first message (intro or single patch)
58 -b --bundle send changes not in target as a binary bundle 29 -t --to email addresses of recipients
59 -r --rev a revision to send
60 -s --subject subject of first message (intro or single patch)
61 -t --to email addresses of recipients
62 --force run even when remote repository is unrelated (with -b)
63 --base a base changeset to specify instead of a destination (with -b)
64 -e --ssh specify ssh command to use
65 --remotecmd specify hg command to run on the remote side
66 30
67 use "hg -v help email" to show global options 31 use "hg -v help email" to show global options
68 adding b 32 adding b
69 hg email: option --date not recognized 33 hg email: option --date not recognized
70 hg email [OPTION]... [DEST]... 34 hg email [OPTION]... [REV]...
71 35
72 send changesets by email 36 send changesets as a series of patch emails
73 37
74 By default, diffs are sent in the format generated by hg export, 38 The series starts with a "[PATCH 0 of N]" introduction, which
75 one per message. The series starts with a "[PATCH 0 of N]" 39 describes the series as a whole.
76 introduction, which describes the series as a whole.
77 40
78 Each patch email has a Subject line of "[PATCH M of N] ...", using 41 Each patch email has a Subject line of "[PATCH M of N] ...", using
79 the first line of the changeset description as the subject text. 42 the first line of the changeset description as the subject text.
80 The message contains two or three body parts. First, the rest of 43 The message contains two or three body parts. First, the rest of
81 the changeset description. Next, (optionally) if the diffstat 44 the changeset description. Next, (optionally) if the diffstat
82 program is installed, the result of running diffstat on the patch. 45 program is installed, the result of running diffstat on the patch.
83 Finally, the patch itself, as generated by "hg export". 46 Finally, the patch itself, as generated by "hg export".
84 47
85 With --outgoing, emails will be generated for patches not
86 found in the destination repository (or only those which are
87 ancestors of the specified revisions if any are provided)
88
89 With --bundle, changesets are selected as for --outgoing,
90 but a single email containing a binary Mercurial bundle as an
91 attachment will be sent.
92
93 Examples:
94
95 hg email -r 3000 # send patch 3000 only
96 hg email -r 3000 -r 3001 # send patches 3000 and 3001
97 hg email -r 3000:3005 # send patches 3000 through 3005
98 hg email 3000 # send patch 3000 (deprecated)
99
100 hg email -o # send all patches not in default
101 hg email -o DEST # send all patches not in DEST
102 hg email -o -r 3000 # send all ancestors of 3000 not in default
103 hg email -o -r 3000 DEST # send all ancestors of 3000 not in DEST
104
105 hg email -b # send bundle of all patches not in default
106 hg email -b DEST # send bundle of all patches not in DEST
107 hg email -b -r 3000 # bundle of all ancestors of 3000 not in default
108 hg email -b -r 3000 DEST # bundle of all ancestors of 3000 not in DEST
109
110 Before using this command, you will need to enable email in your hgrc.
111 See the [email] section in hgrc(5) for details.
112
113 options: 48 options:
114 49
115 -a --attach send patches as inline attachments 50 -a --attach send patches as inline attachments
116 --bcc email addresses of blind copy recipients 51 --bcc email addresses of blind copy recipients
117 -c --cc email addresses of copy recipients 52 -c --cc email addresses of copy recipients
118 -d --diffstat add diffstat output to messages 53 -d --diffstat add diffstat output to messages
119 -g --git use git extended diff format 54 -g --git use git extended diff format
120 -f --from email address of sender 55 -f --from email address of sender
121 --plain omit hg patch header 56 --plain omit hg patch header
122 -n --test print messages that would be sent 57 -n --test print messages that would be sent
123 -m --mbox write messages to mbox file instead of sending them 58 -m --mbox write messages to mbox file instead of sending them
124 -o --outgoing send changes not found in the target repository 59 -s --subject subject of first message (intro or single patch)
125 -b --bundle send changes not in target as a binary bundle 60 -t --to email addresses of recipients
126 -r --rev a revision to send
127 -s --subject subject of first message (intro or single patch)
128 -t --to email addresses of recipients
129 --force run even when remote repository is unrelated (with -b)
130 --base a base changeset to specify instead of a destination (with -b)
131 -e --ssh specify ssh command to use
132 --remotecmd specify hg command to run on the remote side
133 61
134 use "hg -v help email" to show global options 62 use "hg -v help email" to show global options