[darcs-users] Broken mailer ?

Daniel Bünzli daniel.buenzli at epfl.ch
Sun Dec 11 14:09:55 UTC 2005


Hello,

I'm using Mail.app under macosx. I have a problem applying the  
patches of an email, I just save the contents of the email to the  
file 'patch2' and applying results in :

> > darcs apply ~/tmp/patch2
> darcs failed:  Malformed patch bundle: '[X001. Added base example.  
> Extracted two sections to work in parallel' is not 'Context:'

However if I go through my web interface and save the message to the  
file 'patch' and apply it everything works fine. The difference  
between patch and patch2 are :

> > diff patch patch2
> 1c1
> < From X at epfl.ch dim déc 11 13:27:48 2005
> ---
> > From X at epfl.ch Sun Dec 11 13:27:48 2005
> 41a42
> >
> 43d43
> < Content-Type: text/plain
> 44a45
> > Content-Type: text/plain
> 54d54
> < Content-Type: text/x-darcs-patch
> 56c56
> < Content-Description: A darcs patch for your repository!
> ---
> > Content-Type: text/x-darcs-patch
> 466,469d465
> <
> < .
> <
> <

Relevant seems that Mail.app drops Content-Description and the final  
dot and swaps Content-Type and Content-Transfer-Encoding. Is this a  
bug for Mail.app or for darcs ? I don't know much about MIME.

Daniel








More information about the darcs-users mailing list