Re: notmuch insert --keep fails in parallel w/ notmuch new

Subject: Re: notmuch insert --keep fails in parallel w/ notmuch new

Date: Tue, 26 Jan 2016 11:09:26 -0400

To: Maarten Aertsen, Notmuch Mail

Cc:

From: David Bremner


Maarten Aertsen <sagi-notmuch@rtsn.nl> writes:

>
> I had a short chat with j4ni on #notmuch, where he said:
> < j4ni> Sagi: oh bummer, we try to open the db first, and bail out 
> early. we should change the order of that (at least with --keep).
>

FWIW, I agree it's a bug, and it should be not too hard to fix by moving
the open after the call to maildir write new.

d

Thread: