[PATCH] [REVISED] setup.py: Workaround for missing bz2 module in IronPython

Patrick Mézard pmezard at gmail.com
Wed May 11 14:39:13 CDT 2011


Le 11/05/11 21:29, Zachary Gramana a écrit :
> I setup my email account in mercurial.ini, but after negotiating TLS session, the session just hangs.  I could find anything probative in a packet trace.  The session just deadlocks.  I set localhost to my email domain, but that didn't improve the situation.  The connection is eventually reset by the host and I get a trace.
> 
> This is on CPython 2.7.1. The MTA is zimbra's hosted 01.com.
> 
> On 5/11/2011 3:10 PM, Steve Borho wrote:
>> On Wed, May 11, 2011 at 2:02 PM, Zachary Gramana
>> <zgramana at pottsconsultinggroup.com>  wrote:
>>> I apologize for the whitespace issues.  I've tried a number of things to
>>> remediate it, but I'm fresh out of ideas.
>>>
>>> FWIW, I'm on Windows 7 (\r\n), and Thunderbird is set to send plaintext
>>> UTF-8.  The patches were either exported from hg, then copy-n-pasted into
>>> Thunderbird, or copied directly to the clipboard in TortoiseHg and pasted
>>> into Thunderbird. Committed code was edited from the working copy with
>>> Notepad++ with tabs set to insert 4 spaces.
>>>
>>> I'm probably just missing that will be obvious to others. All suggestions
>>> are welcomed.
>>
>> TortoiseHg has an email dialog, you only need to configure an SMTP
>> server for it.  If you have a gmail account, you can use gmail forward
>> the patches for you.

FWIW, here is the configuration I use with gmail:

[smtp]
host = smtp.gmail.com
port = 587
tls = starttls
username = pmezard at gmail.com


The smtp.tls option can also be set to "smtps" if that helps (see hgrc documentation)

--
Patrick Mézard


More information about the Mercurial-devel mailing list