mercurial & lotus

Peter Kourzanov peter.kourzanov at nxp.com
Wed Mar 19 10:46:40 CDT 2008


Dear Mercurial developers,

If you're still interested, I've tracked down the problem with Mercurial &
Lotus with text attachments. The fix is in patchbomb.py of Mercurial:

around line 185 it should read:

            p['Content-Disposition'] = 'attachment; filename=' + patchname
            email.Encoders.encode_base64(p)
            msg.attach(p)

This way the patch arrives inlined with sane email clients such as mutt
(allowing direct review process), and un-mangled in Lotus Notes (allowing
you to save the patch and successfully apply it). Unfortunately you can't
see the patch in Lotus unless you save it, but that is a minor
inconvenience I believe...

So, please consider adding an option to $hg email to behave as proposed
such that no more people would be as surprised by the inability of
Mercurial to integrate with Lotus as I was...

Regards,

Pjotr Kourzanov


                                                                           
                                                                           
                                                                           
                                                                        To 
                                       "Michael P. Soulier"                
                                       <msoulier at digitaltorque.ca>         
     Peter                                                              cc 
     Kourzanov/EHV/RESEARCH/PH         mercurial at selenic.com               
     ILIPS                                                         Subject 
                                       Re: mercurial & lotus(Document      
     03/13/2008 10:36 AM               link: Peter Kourzanov)              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



Michael,

I completely agree about Lotus, however this does not solve the problem.
That is,
there will be unfortunate people like that (1) like Mercurial as it
directly supports
mail integration besides other DSCM goodies and (2) are forced to live in a
Windows/Notes world. If Mercurial could just include the features I've
described
as options or config parameters that would be the default (on Windows) when
Notes is detected, then its usability/competitiveness would be improved
tremendously
w.r.t. other DSCMs.

BTW, we are not even allowed to use other clients with Notes via
POP3/IMAP...



                                                                           
                                                                           
                                                                           
                                                                        To 
                                       Pjotr Kourzanov                     
                                       <peter.kourzanov at nxp.com>           
     "Michael P. Soulier"                                               cc 
     <msoulier at digitaltorque.c         mercurial at selenic.com               
     a>                                                            Subject 
                                       Re: mercurial & lotus               
     03/13/2008 01:13 AM                                                   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 13/03/08 Pjotr Kourzanov said:
>
>   I've given Mercurial a try witin our company, and overall I
> think it is a very useful and lightweight SCM. However, I have
> some questions/suggestions concerning its integration with an
> e-mail client that we (and probably many other companies also)
> use, namely the Lotus Notes. I know, Lotus is not the preferred
> mail client to use, but we have to live with it, hence my mail...

Personally, I find the only working solution to Lotus Notes is rebellion.
It
is so horribly broken that working around its flaws is a waste of time. My
employers push it, but I've found refuge in Mozilla Thunderbird and Mutt.

Mike
--
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
(See attached file: att9ls8o.dat)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080319/72162e5f/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080319/72162e5f/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic00142.gif
Type: image/gif
Size: 3177 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080319/72162e5f/attachment-0001.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080319/72162e5f/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doclink.gif
Type: image/gif
Size: 149 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080319/72162e5f/attachment-0003.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic17222.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080319/72162e5f/attachment-0004.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: att9ls8o.dat
Type: application/octet-stream
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080319/72162e5f/attachment.obj 


More information about the Mercurial mailing list