Commit Graph

69 Commits

Author SHA1 Message Date
Patrick Mezard
0f68a55738 patchbomb: make --bundle respect --desc 2007-12-27 22:40:07 -06:00
Patrick Mezard
219b578ed9 patchbomb: read bundle file in binary mode 2007-12-28 16:41:40 +01:00
Christian Ebert
69c7eeabfc patchbomb: make "hg email -b" w/o destination work as advertised 2007-12-16 22:55:23 +01:00
Christian Ebert
b5976042a1 patchbomb: no traceback if (diffstat) confirmation is refused 2007-10-28 09:25:35 +01:00
Benoit Boissinot
e8f520a51b patchbomb: fix traceback when diffstat isn't available 2007-10-26 12:01:14 +02:00
Christian Ebert
61e3b4ba58 Catch smtp exceptions 2007-09-07 16:48:42 +02:00
Bryan O'Sullivan
a4a1d041e4 patchbomb: add --desc, to specify a file containing a series description 2007-07-16 14:43:47 -07:00
Thomas Arendsen Hein
0b7147a667 Updated command tables in commands.py and hgext extensions.
- Marked for translation where extensions already had _()
- Corrected indentation
- fixed a few synopsises
2007-06-26 22:38:57 +02:00
Thomas Arendsen Hein
483231d996 Cleanup of whitespace, indentation and line continuation. 2007-06-19 08:06:37 +02:00
Brendan Cully
760b2de090 patchbomb: fix PAGER buglet introduced in 833bc8eb2f1f 2007-06-17 20:09:35 -07:00
Patrick Mezard
e0e36eb1b2 patchbomb: page patchbomb messages only if PAGER is defined.
Paging is complicated under win32. It is just better to avoid it by default.
2007-06-17 20:35:43 +02:00
Patrick Mezard
f2a33f2a1b Merge with crew-stable 2007-06-17 20:08:06 +02:00
Patrick Mezard
571e9d813f patchbomb: flush ui before delegating to pager. 2007-06-17 19:40:02 +02:00
Bryan O'Sullivan
323388d025 patchbomb: add --date option 2007-06-12 14:52:34 -07:00
Bryan O'Sullivan
d16530621b Don't validate email config if we're not sending email. 2007-06-12 14:44:47 -07:00
Bryan O'Sullivan
aaf9d65088 patchbomb: 048e644c1742 moved setremoteconfig into cmdutil 2007-06-12 14:39:36 -07:00
Bryan O'Sullivan
68cbf40ee6 patchbomb: Fail early if no revs given to email 2007-05-27 14:58:59 -07:00
Bryan O'Sullivan
4cba8e678d patchbomb: Fix typo. 2007-05-27 14:54:00 -07:00
Bryan O'Sullivan
55c504cd18 patchbomb: Hoist sender config higher. 2007-05-27 14:53:46 -07:00
Bryan O'Sullivan
37507376a2 patchbomb: Validate email config before we start prompting for info. 2007-05-27 14:40:14 -07:00
Bryan O'Sullivan
89f87c2599 patchbomb: Defer the import of readline.
If imported at the top of the module, the import appears to succeed,
but raw_input doesn't acquire magic editing fu.  I suspect this has
something to do with the newish demandimport code, because the prior
code worked with demandload.
2007-05-27 13:41:35 -07:00
Bryan O'Sullivan
7274da938c patchbomb: Don't prompt for headers until sure we have revs to export.
The prior behaviour was to always prompt for headers, and only then
bomb out if there were actually no revs to send.
2007-05-27 13:29:04 -07:00
John Goerzen
6c358f6844 Add a filename for the bundle 2007-03-26 20:49:57 -05:00
John Goerzen
174fda7e23 Slight refining to help text in patchbomb.py 2007-03-26 20:46:49 -05:00
John Goerzen
78c2249368 Improve documentation for patchbomb and email 2007-03-22 14:02:39 -05:00
John Goerzen
62f41606fb Add common bundle/outgoing options to hg email 2007-03-26 13:57:49 -05:00
John Goerzen
0f8beca425 Add ability to send bundles to patchbomb extension 2007-03-26 13:37:48 -05:00
Brendan Cully
d96eb0b31a Add --outgoing option to patchbomb 2007-03-22 10:40:28 -07:00
Thomas Arendsen Hein
92f5af0b0d merge with crew-stable 2007-03-05 19:54:21 +01:00
Thomas Arendsen Hein
5836375323 patchbomb: Strip more than one trailing dot (and spaces between them) 2007-03-04 18:42:31 +01:00
Thomas Arendsen Hein
fdbad87b57 patchbomb: Allow to specify subject of single-patch-series (issue475) 2007-03-04 18:40:08 +01:00
Christian Ebert
f1ac1bb856 patchbomb: fix timezone offset in message date header
Use mercurial.util instead of time to set and format dates.
2007-01-13 02:15:49 +01:00
Benoit Boissinot
4af82ec145 merge with -stable 2007-01-15 18:23:21 +01:00
Benoit Boissinot
cd66ae056f remove various unused import 2006-12-25 13:37:00 +01:00
Matt Mackall
296d6a7cb8 Simplify i18n imports 2006-12-14 20:25:19 -06:00
Matt Mackall
d38d83ce6b Merge with crew 2006-12-14 15:55:46 -06:00
Brendan Cully
03d8b3d838 patchbomb: use ui.edit to compose summary mail 2006-12-13 22:53:41 -08:00
Matt Mackall
f17a4e1934 Replace demandload with new demandimport 2006-12-13 13:27:09 -06:00
Benoit Boissinot
3f09dfef56 use xrange instead of range 2006-10-19 14:16:51 +02:00
Josef "Jeff" Sipek
8ecf30a8c5 [patchbomb] prepend leading zeros in the "[PATCH N of M]" string
Without this patch, if one tries to send a patch bomb with more than 9
patches, the resulting subjects are not easily alphabetically sortable.

For example:

...
[PATCH 9 of 10]
[PATCH 10 of 10]

This patch prepends as many leading zeros as necessary. E.g.,

[PATCH 09 of 10]

or

[PATCH 009 of 100]
2006-10-07 15:16:47 -04:00
Brendan Cully
22ee164176 patchbomb: update --attach to use cmdutil.make_filename 2006-10-04 12:39:51 -07:00
Matt Doar
223e5f58eb Add support for diffstat in commit emails, and move diffstat from
patchbomb to patch
2006-09-13 13:14:08 -07:00
Brendan Cully
ea35700afd Detect git patches in patchbomb makepatch function 2006-08-30 12:55:10 -07:00
Brendan Cully
af80a5f6e8 Add --git support to hg email 2006-08-30 10:17:35 -07:00
Brendan Cully
d2c9866d08 patchbomb: import new mail module 2006-08-16 11:03:45 -07:00
Giorgos Keramidas
e8a0d4b9fc hgext: more patchbomb documentation
+ Add a description of how to enable this extension

+ Note which command it provides (it's not very easy to guess
  that "hgext.patchbomb" enables the "email" command, unless one
  can read Python sources)

+ Expand the descriptions of the -n and -m options of "hg email".

+ Mention that formail is (commonly) part of the procmail package.
2006-08-15 23:37:37 +03:00
Matt Mackall
f849bdf704 Move ui.sendmail to mail.connect/sendmail 2006-08-15 14:06:50 -05:00
Benoit Boissinot
69b70a588e mailbomb: add a comment and remove the bcc in a more pythonic way 2006-08-06 16:03:02 +02:00
Christian Ebert
4f7c14a605 patchbomb: do not write Bcc 2006-07-29 10:27:54 +02:00
Christian Ebert
341a9cc179 patchbomb: fix generation of message-id when sending attachments
node was set to bin(node) before message-id was created
2006-07-28 22:17:32 +02:00