Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 80C9D6DE1648 for ; Fri, 7 Aug 2015 13:48:50 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.136 X-Spam-Level: X-Spam-Status: No, score=0.136 tagged_above=-999 required=5 tests=[AWL=0.136] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sEJzH1NiOL_G for ; Fri, 7 Aug 2015 13:48:49 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id C3F446DE1635 for ; Fri, 7 Aug 2015 13:48:48 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZNoXy-0007N8-4E; Fri, 07 Aug 2015 20:47:22 +0000 Received: (nullmailer pid 9797 invoked by uid 1000); Fri, 07 Aug 2015 20:47:07 -0000 From: David Bremner To: Daniel Schoepe , notmuch@notmuchmail.org Subject: Re: [PATCH 5/6] cli: add global option "--db-revision" In-Reply-To: <87614rjzfk.fsf@schoepe.localhost> References: <1432936375-astroid-4-0i1n6yczs2-1520@strange> <1433525318-23756-1-git-send-email-david@tethera.net> <1433525318-23756-6-git-send-email-david@tethera.net> <87614rjzfk.fsf@schoepe.localhost> User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 07 Aug 2015 22:47:07 +0200 Message-ID: <87oaii967o.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 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: Fri, 07 Aug 2015 20:48:50 -0000 Daniel Schoepe writes: > On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: >> + ``--db-revision=UUID`` >> + Enforce that the database revision is UUID. This is useful to >> + detect rollover in modification counts on messages. You can >> + find this UUID in the first column of output from >> + ``notmuch count --output=modifications`` > > I'm not sure if the wording here is entirely clear. When reading this > the first time, to me it sounded like it might give you a view of the > database from when the revision was UUID. Maybe we can clarify here that > this will result in notmuch exiting if the revision is not matched. Sure, no problem with expanding what "Enforce" means. Some improvment of the names as discussed in a previous message might help here also. d