Mercurial > hg
comparison hgext/patchbomb.py @ 7694:2ceeb1423544
added information to patchbomb help pointing users to hgrc(5) to configure the [smtp] section in order to send patchbombs
author | Bill Barry <after.fallout@gmail.com> |
---|---|
date | Thu, 22 Jan 2009 10:48:37 -0700 |
parents | 161412a3341c |
children | bd8f44638847 |
comparison
equal
deleted
inserted
replaced
7693:e040f9d6b2f3 | 7694:2ceeb1423544 |
---|---|
56 (a utility that is commonly installed as part of the procmail package), | 56 (a utility that is commonly installed as part of the procmail package), |
57 to send each message out: | 57 to send each message out: |
58 | 58 |
59 % formail -s sendmail -bm -t < mbox | 59 % formail -s sendmail -bm -t < mbox |
60 | 60 |
61 That should be all. Now your patchbomb is on its way out.''' | 61 That should be all. Now your patchbomb is on its way out. |
62 | |
63 You can also either configure the method option in the email section | |
64 to be a sendmail compatable mailer or fill out the [smtp] section so | |
65 that the patchbomb extension can automatically send patchbombs directly | |
66 from the commandline. See the [email] and [smtp] sections in hgrc(5) | |
67 for details.''' | |
62 | 68 |
63 import os, errno, socket, tempfile, cStringIO | 69 import os, errno, socket, tempfile, cStringIO |
64 import email.MIMEMultipart, email.MIMEBase | 70 import email.MIMEMultipart, email.MIMEBase |
65 import email.Utils, email.Encoders, email.Generator | 71 import email.Utils, email.Encoders, email.Generator |
66 from mercurial import cmdutil, commands, hg, mail, patch, util | 72 from mercurial import cmdutil, commands, hg, mail, patch, util |