Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 115D6431FD0 for ; Mon, 31 Oct 2011 19:59:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id imrWLVs0ILdw for ; Mon, 31 Oct 2011 19:59:52 -0700 (PDT) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 476FC431FB6 for ; Mon, 31 Oct 2011 19:59:52 -0700 (PDT) Received: from zancas.localnet (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.64.58]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pA12xnpe032115 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 31 Oct 2011 23:59:50 -0300 Received: from bremner by zancas.localnet with local (Exim 4.76) (envelope-from ) id 1RL4Zp-0007oD-G5; Mon, 31 Oct 2011 23:59:49 -0300 From: David Bremner To: Thomas Schwinge Subject: Re: [PATCH] Repeatability when copying a whole directory into a new one. In-Reply-To: <1317338806-7414-1-git-send-email-thomas@schwinge.name> References: <1317338806-7414-1-git-send-email-thomas@schwinge.name> User-Agent: Notmuch/0.9+26~g4e49596 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 31 Oct 2011 23:59:49 -0300 Message-ID: <8739e88s4a.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2011 02:59:53 -0000 On Fri, 30 Sep 2011 01:26:46 +0200, Thomas Schwinge wrote: > This new test currently fails -- but it shouldn't. > --- > > Hi! > > I found this while manually copying directories and running notmuch new. > > Am I just too sleepy at this time, or is it another DB vs. directory > mtime issue? > > BROKEN Repeatability when copying a whole directory into a new one > --- new.18.expected 2011-09-29 23:23:39.000000000 +0000 > +++ new.18.output 2011-09-29 23:23:39.000000000 +0000 > @@ -1,2 +1 @@ > -Processed 51 total files in almost no time. > No new mail. I'm a bit confused here too. When the files are removed, the "notmuch new" sent to /dev/null in your test detects the deletes as renames. Shouldn't the copies be detected as duplicates or something? d