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
Vadim Gelfer
2fec671b08
patchbomb: add content-disposition to make display inline and add filename
...
if rev being emailed has tag that ends in .patch or .diff then use that as
filename. else make up filename from name of repo.
2006-07-27 15:19:58 -07:00
Christian Ebert
64ba2370e6
patchbomb: optionally send patches as inline attachments
2006-07-27 22:28:03 +02:00
Vadim Gelfer
be51fbc3c0
merge with crew.
2006-07-27 12:36:17 -07:00
Christian Ebert
40b4014496
make introductory message of patch series text/plain
2006-07-27 21:25:39 +02:00
Christian Ebert
6dda35f7a7
optionally send blind carbon copies
...
Bcc recipients may be set via long `--bcc' or hgrc only, no prompt.
2006-07-26 14:39:33 +02:00
Volker Kleinfeld
76de44d843
patchbomb does not handle email time stamp plattform independent
2006-06-16 07:07:11 -07:00
Vadim Gelfer
de0a3b422b
allow to send email using sendmail.
...
default is still smtp.
update hgrc doc with sendmail info.
2006-05-15 10:25:17 -07:00
Vadim Gelfer
f906ed16e7
move mail sending code into core, so extensions can share it.
...
document hgrc settings used.
2006-05-04 12:23:01 -07:00
Vadim Gelfer
7ff45befff
rename [patchbomb] section to [email] section in hgrc. old name still ok.
2006-05-04 12:00:45 -07:00
Thomas Arendsen Hein
092be2daa9
Use better names (hg-{usage}-{random}.{suffix}) for temporary files.
2006-04-30 21:11:22 +02:00
Vadim Gelfer
e08da24689
patchbomb: ignore exception if pager quits.
2006-03-09 16:26:49 -08:00
Vadim Gelfer
316fdadb4c
only put numbers on patches if > 1 patch.
2006-03-06 21:06:53 -08:00
Lee Cantey
72700213c5
Patchbomb only sends introductory message [0 of N] if there are multiple patches.
2006-03-06 21:05:18 -08:00
Vadim Gelfer
30f504a884
get patchbomb extension to use demandload. speeds up hg startup by 50%.
2006-03-02 11:38:39 -08:00
Johannes Stezenbach
ebb84bfa68
add --mbox output to patchbomb
...
add option to save generated mails in an mbox file for later
processing with formail, instead of sending them directly
2006-02-06 17:34:39 -06:00
Thomas Arendsen Hein
5402a5485e
Removed executable bit from patchbomb extension.
2006-02-03 11:43:49 +01:00
Vadim Gelfer
774f42f23f
add documentation for email command.
2006-01-31 08:14:23 -08:00
Vadim Gelfer
fb86f22d15
add _ to several strings
2006-01-31 08:08:43 -08:00
Vadim Gelfer
5ddda972ae
turn patchbomb script into an extension module.
...
command name is now 'hg email'.
2006-01-31 08:06:35 -08:00