[ANN] mbox: qimport patches from mailboxes

Patrick Mézard patrick.mezard at gmail.com
Tue Jan 6 02:29:13 CST 2009


Matt Mackall a écrit :
> On Mon, 2009-01-05 at 23:12 +0100, Patrick Mézard wrote:
>> Hello,
>>
>> Some of you might be interested in the mbox extension here:
>>
>>     http://www.bitbucket.org/pmezard/hgmbox/
>>
>> It adds an "mimport" command which reads from one or more mbox files, extract patch groups and let you qimport them interactively. I have only tested it against Thunderbird mailbox files but it should be easy to extend support to whatever python mailbox module can parse.
> 
> I would be happy to make import/qimport/export to mbox a core feature.
> But I'm not sure about the interactive part..

The interactive part is actually the reason why I stopped using mseries and wrote this (added to automating qimport).

I do not really see how you would use export to mbox but my email-fu is rather weak, I suppose you can do all kind of magic with stuff like mutt and al. I had no real need to support import, and the possible failure to apply patches would make the workflow either cumbersome or more complicated to implement. The only compelling reason for me would be to support the --exact flag, which I could probably emulate with (update + qimport + qpush).

--
Patrick Mézard


More information about the Mercurial mailing list