Show More
@@ -275,6 +275,7 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
275 | if bcc: m['Bcc'] = ', '.join(bcc) |
|
275 | if bcc: m['Bcc'] = ', '.join(bcc) | |
276 | if opts['test']: |
|
276 | if opts['test']: | |
277 | ui.status('Displaying ', m['Subject'], ' ...\n') |
|
277 | ui.status('Displaying ', m['Subject'], ' ...\n') | |
|
278 | ui.flush() | |||
278 | fp = os.popen(os.getenv('PAGER', 'more'), 'w') |
|
279 | fp = os.popen(os.getenv('PAGER', 'more'), 'w') | |
279 | try: |
|
280 | try: | |
280 | fp.write(m.as_string(0)) |
|
281 | fp.write(m.as_string(0)) |
@@ -1,4 +1,8 b'' | |||||
1 | adding a |
|
1 | adding a | |
|
2 | This patch series consists of 1 patches. | |||
|
3 | ||||
|
4 | ||||
|
5 | Displaying [PATCH] a ... | |||
2 | Content-Type: text/plain; charset="us-ascii" |
|
6 | Content-Type: text/plain; charset="us-ascii" | |
3 | MIME-Version: 1.0 |
|
7 | MIME-Version: 1.0 | |
4 | Content-Transfer-Encoding: 7bit |
|
8 | Content-Transfer-Encoding: 7bit | |
@@ -23,11 +27,16 b' diff -r 000000000000 -r 8580ff50825a a' | |||||
23 | @@ -0,0 +1,1 @@ |
|
27 | @@ -0,0 +1,1 @@ | |
24 | +a |
|
28 | +a | |
25 |
|
29 | |||
26 | This patch series consists of 1 patches. |
|
30 | adding b | |
|
31 | This patch series consists of 2 patches. | |||
27 |
|
32 | |||
28 |
|
33 | |||
29 | Displaying [PATCH] a ... |
|
34 | Write the introductory message for the patch series. | |
30 | adding b |
|
35 | ||
|
36 | Finish with ^D or a dot on a line by itself. | |||
|
37 | ||||
|
38 | ||||
|
39 | Displaying [PATCH 0 of 2] test ... | |||
31 | Content-Type: text/plain; charset="us-ascii" |
|
40 | Content-Type: text/plain; charset="us-ascii" | |
32 | MIME-Version: 1.0 |
|
41 | MIME-Version: 1.0 | |
33 | Content-Transfer-Encoding: 7bit |
|
42 | Content-Transfer-Encoding: 7bit | |
@@ -40,6 +49,7 b' Cc: bar' | |||||
40 |
|
49 | |||
41 | test |
|
50 | test | |
42 |
|
51 | |||
|
52 | Displaying [PATCH 1 of 2] a ... | |||
43 | Content-Type: text/plain; charset="us-ascii" |
|
53 | Content-Type: text/plain; charset="us-ascii" | |
44 | MIME-Version: 1.0 |
|
54 | MIME-Version: 1.0 | |
45 | Content-Transfer-Encoding: 7bit |
|
55 | Content-Transfer-Encoding: 7bit | |
@@ -65,6 +75,7 b' diff -r 000000000000 -r 8580ff50825a a' | |||||
65 | @@ -0,0 +1,1 @@ |
|
75 | @@ -0,0 +1,1 @@ | |
66 | +a |
|
76 | +a | |
67 |
|
77 | |||
|
78 | Displaying [PATCH 2 of 2] b ... | |||
68 | Content-Type: text/plain; charset="us-ascii" |
|
79 | Content-Type: text/plain; charset="us-ascii" | |
69 | MIME-Version: 1.0 |
|
80 | MIME-Version: 1.0 | |
70 | Content-Transfer-Encoding: 7bit |
|
81 | Content-Transfer-Encoding: 7bit | |
@@ -90,14 +101,3 b' diff -r 8580ff50825a -r 97d72e5f12c7 b' | |||||
90 | @@ -0,0 +1,1 @@ |
|
101 | @@ -0,0 +1,1 @@ | |
91 | +b |
|
102 | +b | |
92 |
|
103 | |||
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 ... |
|
General Comments 0
You need to be logged in to leave comments.
Login now