From: David Bremner Date: Sun, 15 Mar 2015 08:32:13 +0000 (+0100) Subject: Re: [PATCH 1/2] nmbug-status: Clarify errors for illegible configs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e5ab07052a8b95994ff8944aa3362306c55272e;p=notmuch-archives.git Re: [PATCH 1/2] nmbug-status: Clarify errors for illegible configs --- diff --git a/17/94ab8ddb72b277bacedc2247f0beb005718073 b/17/94ab8ddb72b277bacedc2247f0beb005718073 new file mode 100644 index 000000000..f2a75dbcf --- /dev/null +++ b/17/94ab8ddb72b277bacedc2247f0beb005718073 @@ -0,0 +1,69 @@ +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 3090F431FC4 + for ; Sun, 15 Mar 2015 01:33:35 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 vMcXNGtqJi7o for ; + Sun, 15 Mar 2015 01:33:32 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id DE1F8431FC2 + for ; Sun, 15 Mar 2015 01:33:31 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1YX3yF-0004mO-4J; Sun, 15 Mar 2015 08:32:27 +0000 +Received: (nullmailer pid 7922 invoked by uid 1000); Sun, 15 Mar 2015 + 08:32:13 -0000 +From: David Bremner +To: "W. Trevor King" , notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] nmbug-status: Clarify errors for illegible configs +In-Reply-To: + <1c786e115a812384a8b397583027cf89316253cb.1399749244.git.wking@tremily.us> +References: + <1c786e115a812384a8b397583027cf89316253cb.1399749244.git.wking@tremily.us> +User-Agent: Notmuch/0.19+67~gdbe9924 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Sun, 15 Mar 2015 09:32:13 +0100 +Message-ID: <87ioe23ble.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +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: Sun, 15 Mar 2015 08:33:35 -0000 + +"W. Trevor King" writes: + +> are not particularly clear. With this commit, we'll get output like: +> +> $ ./nmbug-status +> fatal: Not a git repository: '/home/wking/.nmbug' +> No local branch 'config' in /home/wking/.nmbug. Checkout a local +> config branch or explicitly set --config. +> +> which is much more accessible. I've also added user-friendly messages + +pushed this one. The second patch touches the perl version of nmbug, so +I'm guessing you rolled it into the python rewrite. + +d