[ANN] mbox: qimport patches from mailboxes

Peter Hosey boredzo at gmail.com
Tue Jan 6 01:38:43 UTC 2009


On Jan 05, 2009, at 17:27:15, Matt Mackall wrote:
> I would be happy to make import/qimport/export to mbox a core feature.
> But I'm not sure about the interactive part..

A general utility or set of utilities for operating on mbox files  
would be useful here. Something like this:

	mboxfilter 'Subject: *\[PATCH*\]*' < mbox | hg import --mbox -

(One could specify multiple header patterns, which the program would  
join with AND.)

I'd be surprised if such a utility doesn't already exist. Of course,  
creating one should probably be separate from the Mercurial project.

I did find this program, which could serve as a start:

	http://code.activestate.com/recipes/157437/




More information about the Mercurial mailing list